alter tablespace ts_name autoextend_clause
alter tablespace ts_name autoextend_clause
This clause is valid only for bigfile (single-file) tablespaces. Use this clause to enable or disable autoextension of the single data file in the tablespace. To enable or disable autoextension of a newly added data file or temp file in smallfile tablespaces, use the autoextend_clause of the database_file_clauses in the ALTER DATABASE statement
[oracle@rac1 ~]$ sqlplus /nolog
SQL*Plus: Release 11.2.0.4.0 Production on Wed Apr 18 22:37:12 2018
Copyright (c) 1982, 2013, Oracle. All rights reserved.
SQL> connect / as sysdba
Connected.
SQL> create tablespace ts_smallfile datafile '/s01/oracle/oradata/orcl/small.dbf' size 5m;
Tablespace created.
SQL> alter tablespace ts_smallfile autoextend on next 5m;
alter tablespace ts_smallfile autoextend on next 5m
*
ERROR at line 1:
ORA-32773: operation not supported for smallfile tablespace TS_SMALLFILE
SQL> create bigfile tablespace ts_bigfile datafile '/s01/oracle/oradata/orcl/bigfile1.dbf' size 5m;
Tablespace created.
SQL> alter tablespace ts_bigfile autoextend on next 5m;
Tablespace altered.
SQL> alter database datafile '/s01/oracle/oradata/orcl/small.dbf' autoextend on next 5m;
Database altered.
SQL>
This clause is valid only for bigfile (single-file) tablespaces. Use this clause to enable or disable autoextension of the single data file in the tablespace. To enable or disable autoextension of a newly added data file or temp file in smallfile tablespaces, use the autoextend_clause of the database_file_clauses in the ALTER DATABASE statement
[oracle@rac1 ~]$ sqlplus /nolog
SQL*Plus: Release 11.2.0.4.0 Production on Wed Apr 18 22:37:12 2018
Copyright (c) 1982, 2013, Oracle. All rights reserved.
SQL> connect / as sysdba
Connected.
SQL> create tablespace ts_smallfile datafile '/s01/oracle/oradata/orcl/small.dbf' size 5m;
Tablespace created.
SQL> alter tablespace ts_smallfile autoextend on next 5m;
alter tablespace ts_smallfile autoextend on next 5m
*
ERROR at line 1:
ORA-32773: operation not supported for smallfile tablespace TS_SMALLFILE
SQL> create bigfile tablespace ts_bigfile datafile '/s01/oracle/oradata/orcl/bigfile1.dbf' size 5m;
Tablespace created.
SQL> alter tablespace ts_bigfile autoextend on next 5m;
Tablespace altered.
SQL> alter database datafile '/s01/oracle/oradata/orcl/small.dbf' autoextend on next 5m;
Database altered.
SQL>
來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/26870952/viewspace-2153076/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- MySQL 5.7 InnoDB Tablespace EncryptionMySql
- Oracle OCP(48):UNDO TABLESPACEOracle
- MySQL ALTER命令MySql
- SQL__ALTERSQL
- Tablespace表空間刪除
- mysql加快alter操作MySql
- offline tablespace 的幾種方式 (轉)
- alter table set unused column
- alter database disable thread 2Databasethread
- mysql的ALTER TABLE命令MySql
- 【TABLESPACE】Oracle表空間最佳實踐Oracle
- mysql5.7 General tablespace使用說明MySql
- alter table drop unused columns checkpoint
- alter table move與shrink space
- ALTER SYSTEM FLUSH BUFFER_POOL
- alter table nologging /*+APPEND PARALLEL(n)*/APPParallel
- 2.6.8.2 UNDO_TABLESPACE 初始化引數
- unlimited tablespace許可權的授予和回收MIT
- 【TABLESPACE】Oracle 表空間結構說明Oracle
- 開心檔之MySQL ALTER命令MySql
- 如何獲取 alter 裡面的字串?字串
- [20200327]ORA-46267 Insufficient space in 'USERS' tablespace.txt
- ORA-01652: unable to extend temp segment by 128 in tablespace TEMP
- mysql alter modify 和 change的區別MySql
- MySQL alter 新增列對dml影響MySql
- MySQL 資料庫 ALTER命令講解MySql資料庫
- ALTER TABLE修改列的不同方法
- MySQL-ALTER TABLE命令學習[20180503]MySql
- [20191129]ALTER TABLE MINIMIZE RECORDS_PER_BLOCK.txtBloC
- ORA-279 signalled during: alter database recover logfileDatabase
- 2.7.6.2.1 ALTER SYSTEM SET語句中的SCOPE子句
- mysql表操作(alter)/mysql欄位型別MySql型別
- ORA-30012 undo tablespace 'UNDOTBS3' does not exist or of wrong typeS3
- 【BUG】Oracle12c tablespace io statistics missing from awr reportOracle
- 11g-Reduce Transportable Tablespace Downtime using XTTS (Doc ID 1389592.1)TTS
- alter system set event和set events的區別
- [20190530]ORACLE 18c - ALTER SEQUENCE RESTART.txtOracleREST
- impdp ORA-30036: unable to extend segment by 8 in undo tablespace 'UNDOTBS1'