1. Temporary
Tablespace
-
Temporary Tablespace´Â Sort OperationÀ» À§ÇØ »ç¿ëµÇ´Â °ø°£À¸·Î, Àӽà µ¥ÀÌŸ¸¦
ÀúÀåÇϱâ À§ÇØ System
Tablespace¸¦
»ç¿ëÇÏ´Â °ÍÀ» ¹æÁöÇÑ´Ù.
-
Permanent ObjectÀÇ ¼º°ÝÀ» °¡Áø µ¥ÀÌŸ´Â ÀúÀåÇÒ ¼ö ¾ø´Ù.
2. Default Temporary
Tablespace ÀÇ º¯°æ
1)
Temporary Tablespace »ý¼º
SQL>CREATE
TEMPORARY TABLESPACE ASEAN_TEMP_TBS
TEMPFILE
'/data5/oracle_ts/asean3/asean_temp.dbf' SIZE 1024M
EXTENT MANAGEMENT LOCAL UNIFORM SIZE 2M
Tablespace
created.
*
UNIFORM SIZE´Â SORT_AREA_SIZEÀÇ MultipleÀÌ µÇ°Ô SIZE¸¦ ¼³Á¤ÇØ ÁÖ¾î¾ß Sort Performance¸¦
ÃÖÀûÈ
ÇÒ
¼ö ÀÖ´Ù.
2)
Default Temporary TablespaceÀÇ º¯°æ
SQL>
ALTER DATABASE DEFAULT TEMPORARY TABLESPACE ASEAN_TEMP_TBS;
Database
altered.
3)
±âÁ¸ÀÇ Temporary Tablespace »èÁ¦
SQL>
DROP TABLESPACE TEMP;
Tablespace
dropped.
4)
OS»ó¿¡¼ TempÆÄÀÏ »èÁ¦
$
rm temp01.dbf
* iWiz´Ô¿¡ ÀÇÇؼ °Ô½Ã¹° À̵¿µÇ¾ú½À´Ï´Ù (2010-02-03 17:06)
|