来源于官方文档地址:http://docs.oracle.com/cd/B19306_01/server.102/b14231/tspaces.htm#i1006225
Creating a Bigfile Tablespace
To create a bigfile tablespace, specify the BIGFILE
keyword of theCREATE
TABLESPACE
statement(CREATE
BIGFILE
TABLESPACE
...). Oracle Database automatically creates a locally managedtablespace with automatic segment space management. You can, butneed not, specify EXTENT
MANAGEMENT
LOCAL
and SEGMENT
SPACE
MANAGEMENT
AUTO
in this statement.However, the database returns an error if you specifyEXTENT
MANAGEMENT
DICTIONARY
or SEGMENT
SPACE
MANAGEMENT
MANUAL
. The remaining syntax of the statement is thesame as for the CREATE TABLESPACE
statement, but youcan only specify one datafile. For example:
CREATE BIGFILE TABLESPACE bigtbs DATAFILE '/u02/oracle/data/bigtbs01.dbf' SIZE 50G ...
You can specify SIZE
in kilobytes (K), megabytes(M), gigabytes (G), or terabytes (T).
If the default tablespace type was set to BIGFILE
at database creation, you need not specify the keywordBIGFILE
in the CREATE TABLESPACE
statement. A bigfile tablespace is created by default.
If the default tablespace type was set to BIGFILE
at database creation, but you want to create a traditional(smallfile) tablespace, then specify a CREATE
SMALLFILE
TABLESPACE
statement tooverride the default tablespace type for the tablespace that youare creating.