Oracle8i SQL Reference Release 2 (8.1.6) A76989-01 |
|
SQL Statements (continued), 11 of 11
filespec: See "filespec".
To create a temporary tablespace, which is an allocation of space in the database that can contain schema objects for the duration of a session.
You must have the CREATE
TABLESPACE
system privilege.
tablespace |
is the name of the temporary tablespace. |
|
|
specifies the tempfiles that make up the tablespace. See "filespec". |
|
|
Note: Media recovery does not recognize tempfiles. |
|
autoextend_clause |
enables or disables the automatic extension of the tempfile. |
|
|
|
disables autoextend if it is turned on. |
|
|
enables autoextend. |
|
|
specifies the disk space to allocate to the tempfile when more extents are required. |
|
maxsize_clause |
specifies the maximum disk space allowed for allocation to the tempfile. |
|
integer |
specifies in bytes the maximum disk space allowed for allocation to the tempfile. Use K or M to specify this space in kilobytes or megabytes. |
|
|
sets no limit on allocating disk space to the tempfile. |
|
specifies that the tablespace is locally managed, meaning that some part of the tablespace is set aside for a bitmap. For a discussion of locally managed tablespaces, see Oracle8i Concepts. |
|
|
|
determines the size of the extents of the temporary tablespace in bytes. All extents of temporary tablespaces are the same size (uniform). If you do not specify this clause, Oracle uses uniform extents of 1M. |
|
|
specifies in bytes the size of the tablespace extents. Use K or M to specify the size in kilobytes or megabytes.
If you do not specify |
This statement creates a temporary tablespace in which each extent is 16M.
CREATE TEMPORARY TABLESPACE tbs_1 TEMPFILE 'file_1.f' EXTENT MANAGEMENT LOCAL UNIFORM SIZE 16M;
|
![]() Copyright © 1999 Oracle Corporation. All Rights Reserved. |
|