Upload
ankur-arora
View
215
Download
0
Embed Size (px)
Citation preview
8/11/2019 10G SYSAUX Tablespace
http://slidepdf.com/reader/full/10g-sysaux-tablespace 1/3
8/11/2019 10G SYSAUX Tablespace
http://slidepdf.com/reader/full/10g-sysaux-tablespace 2/3
The manual CREATE TABLESPACE SYSAUX can only be executed during themigrate process after the following command:
SQL> STARTUP UPGRADE
SQL> CREATE TABLESPACE SYSAUX DATAFILE '...' SIZE xxxM EXTENT MANAGEMENT LOCAL SEGMENT SPACE MANAGEMENT AUTO;
and before the execution of the u0902000.sql script where it states that
DOC ####################################################################### The following statements will cause an "ORA-01722: invalid number" error if the SYSAUX tablespace does not exist or is not ONLINE for READ
WRITE, PERMANENT, EXTENT MANAGEMENT LOCAL, and SEGMENT SPACE MANAGEMENTAUTO.
The SYSAUX tablespace is used in 10g to consolidate data from a number of tablespaces that were separate in prior releases. Consult the Oracle10g Database Upgrade book for sizing estimates.
Create the SYSAUX tablespace, for example,
SQL> create tablespace SYSAUX datafile 'sysaux01.dbf' size 50M reuse extent management local segment space management auto online;
Then rerun the u0902000.sql script. ####################################################################### 4. Can be increased in size by adding new datafiles
or using ALTER DATABASE DATAFILE .... RESIZE
5. Forbidden operations-------------------- -> DROP SYSAUX tablespace :
SQL> drop tablespace SYSAUX including contents and datafiles; drop tablespace SYSAUX including contents and datafiles * ERROR at line 1: ORA-13501: Cannot drop SYSAUX tablespace
-> RENAME SYSAUX tablespace :
SQL> alter tablespace SYSAUX rename to OPT_TBS;
alter tablespace SYSAUX rename to OPT_TBS * ERROR at line 1: ORA-13502: Cannot rename SYSAUX tablespace
-> Set SYSAUX tablespace to READ ONLY :
SQL> alter tablesapce SYSAUX read only; alter tablespace sysaux read only *
8/11/2019 10G SYSAUX Tablespace
http://slidepdf.com/reader/full/10g-sysaux-tablespace 3/3