The SYSTEM and SYSAUX tablespaces are always created with the default tablespace type. However, you optionally can explicitly override the default tablespace type for the UNDO and DEFAULT TEMPORARY tablespace during the CREATE DATABASE operation.
devops certification training courses malaysia
- Specify an
UNDO TABLESPACEclause or aDEFAULT TEMPORARY TABLESPACEclause that overrides the default tablespace type.
For example, you can create a bigfile UNDO tablespace in a database with the default tablespace type of smallfile as follows:
CREATE DATABASE mynewdb
…
BIGFILE UNDO TABLESPACE undotbs1
DATAFILE ‘/u01/oracle/oradata/mynewdb/undotbs01.dbf’
SIZE 200M REUSE AUTOEXTEND ON MAXSIZE UNLIMITED;
ccna certification training courses malaysia
You can create a smallfile DEFAULT TEMPORARY tablespace in a database with the default tablespace type of bigfile as follows:
CREATE DATABASE mynewdb
SET DEFAULT BIGFILE TABLESPACE
…
SMALLFILE DEFAULT TEMPORARY TABLESPACE tempts1
TEMPFILE ‘/u01/oracle/oradata/mynewdb/temp01.dbf’
SIZE 20M REUSE
…
Leave a Reply