You can add a tablespace to an existing tablespace group by specifying the existing group name in the TABLESPACE GROUP clause of the CREATE TEMPORARY
TABLESPACE or ALTER TABLESPACE statement.
The following statement adds a tablespace to an existing group. It creates and adds tablespace lmtemp3 to group1, so that group1 contains
tablespaces lmtemp2and lmtemp3.
The following statement also adds a tablespace to an existing group, but in this case because tablespace lmtemp2 already belongs to group1,
it is in effect moved from group1 to group2:
Now group2 contains both lmtemp and lmtemp2, while group1 consists
of only tmtemp3.
You can remove a tablespace from a group as shown in the following statement:
Tablespace lmtemp3 no longer belongs to any group. Further, since there are no longer any members of group1, this results in the implicit
deletion of group1.
Use the ALTER DATABASE...DEFAULT TEMPORARY TABLESPACE statement to assign a tablespace group as the default
temporary tablespace for the database. For example:
To create a bigfile tablespace, specify the BIGFILE keyword of the CREATE TABLESPACE statement
(CREATE BIGFILE TABLESPACE ...). Oracle Database automatically creates a locally managed tablespace with automatic segment space management. You can,
but need not, specify EXTENT MANAGEMENT LOCAL and SEGMENT SPACEMANAGEMENT AUTO in
this statement. However, the database returns an error if you specify EXTENT MANAGEMENT DICTIONARY or SEGMENT SPACE MANAGEMENT MANUAL.
The remaining syntax of the statement is the same as for the CREATE TABLESPACE statement, but you can only specify one datafile. For example:
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 keyword BIGFILE 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 CREATESMALLFILE TABLESPACE statement
to override the default tablespace type for the tablespace that you are creating.
操作如下:
OCM_Session1_5_Tablespace Creation and Configurationnote,布布扣,bubuko.com
OCM_Session1_5_Tablespace Creation and Configurationnote
原文:http://blog.csdn.net/rlhua/article/details/21537655