ORA-25153 Temporary Tablespace is Empty Error in Oracle ¿À¶ó - 25153 Àӽà Å×ÀÌºí¿¡ ¿À·ù°¡ ¿À¶óŬÀÌ ºñ¾îÀÖ½À´Ï´Ù
When executing SQL query, the following Oracle error may appears: sql Äõ¸®¸¦ ½ÇÇàÇÒ ¶§ ´ÙÀ½°ú °°Àº ¿À¶óŬ ¿À·ù°¡ ³ªÅ¸³³´Ï´Ù :
ORA-25153: Temporary Tablespace is Empty ¿À¶ó - 25153 : Àӽà Å×ÀÌºí °ø°£ÀÌ ºñ¾î
The cause for the ORA-25153 error is because attempt was made to use space in a temporary tablespace with no files (no datafiles defined). ¿À¶ó - 25153 ¿À·ù´Â ±× ¿øÀÎÀ» ½ÃµµÇß½À´Ï´Ù ¶§¹®¿¡ Àӽà Å×À̺íÀ» »ç¿ë °ø°£À̾ø´Â ÆÄÀÏ (µ¥ÀÌÅÍ ÆÄÀÏÀÇ Á¤ÀÇ).
To solve the problem, the solution is just by adding files (datafiles) to the TEMP tablespace by using ADD TEMPFILE command, or by using ¡°Add Datafiles¡± in Oracle Enterprise Manager. ÀÌ ¹®Á¦¸¦ ÇØ°á, ÇØ°á ¹æ¹ýÀº ´ÜÁö¸¦ Ãß°¡ÇÏ¿© ÆÄÀÏ (µ¥ÀÌÅÍ ÆÄÀÏ)À» Àӽà Å×À̺í Àå¹Ù±¸´Ï Àӽà ÆÄÀÏÀ» »ç¿ëÇÏ¿© ¸í·É, ¶Ç´Â "¸¦ »ç¿ëÇÏ¿© µ¥ÀÌÅÍ ÆÄÀÏ Ãß°¡"¿À¶óŬ ¿£ÅÍ ÇÁ¶óÀÌÁî °ü¸®ÀÚ¸¦ÇÕ´Ï´Ù.
If you check and found that TEMP tablespace already has data files, check the default temporary tablespace for all users and your database and set the default temporary tablespace to a valid temporarary tablespace. Àӽà Å×À̺íÀ» È®ÀÎÇÏ°í ¹ß°ßÇÏ´Â °æ¿ì´Â ÀÌ¹Ì µ¥ÀÌÅÍ ÆÄÀÏÀ» È®ÀÎÇϽʽÿÀ°ú ´ç½ÅÀÇ µ¥ÀÌÅͺ£À̽º¸¦ ¸ðµç »ç¿ëÀÚ¿¡ ´ëÇØ ±âº» Àӽà Å×ÀÌºí °ø°£À» ¼³Á¤ temporarary Å×À̺íÀÇ ±âº» Àӽà Å×ÀÌºí °ø°£À» À¯È¿ÇÕ´Ï´Ù.
To check the default temporary tablespace of the database: µ¥ÀÌÅͺ£À̽ºÀÇ ±âº» Àӽà Å×À̺íÀ» È®ÀÎÇÏ·Á¸é :
SQL> select property_name, property_value from database_properties; sql>À» ¼±Åà property_name, property_value¿¡¼ database_properties;
The SQL will return the following results, look for DEFAULT_TEMP_TABLESPACE for the setting: the sqlÀº ´ÙÀ½°ú °°Àº °á°ú¸¦ ¹ÝȯÇÕ´Ï´ÙÀ» ã½À´Ï´Ù default_temp_tablespaceÀÇ ¼³Á¤ :
| PROPERTY_NAME property_name | PROPERTY_VALUE property_value |
| —————————— ---------- | —————————— ---------- |
| DICT.BASE dict.base | 2 |
| DEFAULT_TEMP_TABLESPACE default_temp_tablespace | TEMP ¿Âµµ |
| DBTIMEZONE dbtimezone | +01:00 |
| NLS_NCHAR_CHARACTERSET nls_nchar_characterset | AL16UTF16 al16utf16 |
| GLOBAL_DB_NAME global_db_name | ARON.GENERALI.CH aron.generali.ch |
| EXPORT_VIEWS_VERSION export_views_version | 8 |
| NLS_LANGUAGE nls_language | AMERICAN ¹Ì±¹ÀÇ |
| NLS_TERRITORY nls_territory | AMERICA ¹Ì±¹ |
| NLS_CURRENCY nls_currency | $ |
| NLS_ISO_CURRENCY nls_iso_currency | AMERICA ¹Ì±¹ |
| NLS_NUMERIC_CHARACTERS nls_numeric_characters | ., ÇÕ´Ï´Ù., |
| NLS_CHARACTERSET nls_characterset | WE8ISO8859P1 we8iso8859p1 |
| NLS_CALENDAR nls_calendar | GREGORIAN ±×·¹°í¸®¿À |
| NLS_DATE_FORMAT nls_date_format | DD-MON-RR ÀÏ - ¿ù¿äÀÏ - rr |
| NLS_DATE_LANGUAGE nls_date_language | AMERICAN ¹Ì±¹ÀÇ |
| NLS_SORT nls_sort | BINARY ÀÌÁø |
| NLS_TIME_FORMAT nls_time_format | HH.MI.SSXFF AM ¿ÀÀü hh.mi.ssxff |
| NLS_TIMESTAMP_FORMAT nls_timestamp_format | DD-MON-RR HH.MI.SSXFF AM - ¿ù - rr ÀÏ ¿ÀÀü hh.mi.ssxff |
| NLS_TIME_TZ_FORMAT nls_time_tz_format | HH.MI.SSXFF AM TZR hh.mi.ssxff ¿ÀÀü tzr |
| NLS_TIMESTAMP_TZ_FORMAT nls_timestamp_tz_format | DD-MON-RR HH.MI.SSXFF AM TZR - ¿ù - rr tzr ÀÏ ¿ÀÀü hh.mi.ssxff |
| NLS_DUAL_CURRENCY nls_dual_currency | $ |
| NLS_COMP nls_comp | BINARY ÀÌÁø |
| NLS_LENGTH_SEMANTICS nls_length_semantics | BYTE ¹ÙÀÌÆ® |
| NLS_NCHAR_CONV_EXCP nls_nchar_conv_excp | FALSE ÇãÀ§ |
| NLS_RDBMS_VERSION nls_rdbms_version | 9.2.0.6.0 |
If default temporary tablespace is wrong the alter it with the following command: ±âº» Àӽà Å×À̺íÀ» º¯°æ ÀÌ»óÀÌÀÖ´Ù¸é ±×°ÍÀº ´ÙÀ½°ú °°Àº ¸í·É :
SQL> alter database default temporary tablespace temp; sql> µ¥ÀÌÅͺ£À̽º¸¦ ±âº» Àӽà Å×À̺íÀ» º¯°æ ¿Âµµ;
To check default temporary tablespace for all users of the database: ¸ðµç »ç¿ëÀÚ¿¡ ´ëÇØ ±âº» Àӽà Å×À̺íÀ» È®ÀÎÀÇ µ¥ÀÌÅͺ£À̽º :
SQL> select username, temporary_tablespace, account_status from dba_users; sql>¸¦ ¼±Åà »ç¿ëÀÚ À̸§, temporary_tablespace, account_status¿¡¼ dba_users;
will return the following result, check if all users TEMPORARY_TABLESPACE is set to correct settings: ´Â ´ÙÀ½°ú °°Àº °á°ú¸¦ ¹ÝȯÇÕ´Ï´Ù, temporary_tablespace·Î ¼³Á¤µÇ¾î ÀÖ´ÂÁö È®ÀÎ ¸ðµç »ç¿ëÀÚ¿¡°Ô ¿Ã¹Ù¸¥ ȯ°æ ¼³Á¤ :
| USERNAME »ç¿ëÀÚ À̸§À» | TEMPORARY_TABLESPACE temporary_tablespace | ACCOUNT_STATUS account_status |
| —————————— ---------- | —————————— ---------- | ——————————– ----------- |
| SYS ½Ã½ºÅÛ | TEMPRY tempry | OPEN ¿±â |
| SYSTEM ½Ã½ºÅÛ | TEMP ¿Âµµ | OPEN ¿±â |
| OUTLN outln | TEMP ¿Âµµ | OPEN ¿±â |
| DBSNMP dbsnmp | TEMP ¿Âµµ | OPEN ¿±â |
| DBMONITOR dbmonitor | TEMP ¿Âµµ | OPEN ¿±â |
| TEST ½ÃÇè | TEMP ¿Âµµ | OPEN ¿±â |
| WMSYS wmsys | TEMP ¿Âµµ | EXPIRED & LOCKED ¸¸·áµÈ & Àá°Ü |
If wrong temporary tablespace is found, alter it with the correct tablespace name (for example, sys) with the following SQL: ¸¸¾à À߸øµÈ Àӽà Å×À̺íÀÌ ¹ß°ßµÇ¸é ±×°ÍÀ» ¿Ã¹Ù¸¥ Å×À̺í À̸§À» º¯°æ (¿¹¸¦ µé¾î, ½Ã½ºÅÛ)¿¡ ´ÙÀ½°ú °°Àº ±¸Á¶È ÁúÀǾî :
SQL> alter user sys temporary tablespace temp; sql> »ç¿ëÀÚ ½Ã½ºÅÛ Àӽà Å×À̺íÀ» º¯°æ ¿Âµµ;
Alternatively, recreate or add a datafile to your temporary tablespace and change the default temporary tablespace for your database; ¶Ç´Â, ÀçÇöÇϰųª Àӽà Å×ÀÌºí °ø°£À» Ãß°¡ ¹× º¯°æÇÏ¿© µ¥ÀÌÅÍ ÆÄÀÏÀÇ ±âº» Àӽà Å×À̺íÀÇ µ¥ÀÌÅͺ£À̽º¸¦;
SQL> drop tablespace temp including contents and datafiles; sql> µå·Ó Å×ÀÌºí ¿Âµµ ³»¿ë ¹× µ¥ÀÌÅÍ ÆÄÀÏ Æ÷ÇÔ;
SQL> create temporary tablespace temp tempfile ¡®/db/temp01.dbf¡¯ size 100m autoextend off extent management local uniform size 1m; sql> Àӽà Å×ÀÌºí ¸¸µé±â ¿Âµµ Àӽà ÆÄÀÏ '/ db/temp01.dbf'Å©±â 100m autoextend ¹üÀ§ ³»¿¡¼ °ü¸® Áö¿ª ÅëÀÏ Å©±â¸¦ µû·Î 1m;
SQL> alter database default temporary tablespace temp; sql> µ¥ÀÌÅͺ£À̽º¸¦ ±âº» Àӽà Å×À̺íÀ» º¯°æ ¿Âµµ;
IMPORTANT : This is a machine translated page which is provided "as is" without warranty. Áß¿ä »çÇ× : À̰ÍÀº ±â°è ¹ø¿ª ÆäÀÌÁö´Â "ÀÖ´Â ±×´ë·Î"Á¦°øÇÏÁö ¾Ê°í º¸ÁõÇÕ´Ï´Ù. Machine translation may be difficult to understand. ±â°è ¹ø¿ªÀ» ÀÌÇØÇϱ⠾î·Á¿ï ¼öÀÖ½À´Ï´Ù. Please refer to ¸¦ ÂüÁ¶ÇϽñ⠹ٶø´Ï´Ù original English article ±âÁ¸ ¿µ¾î ÀÚ·á whenever possible. ¾ðÁ¦ ¼öÀÖ½À´Ï´Ù.
Share and contribute or get technical support and help at ¸¦ °øÀ¯ÇÏ°í ±â¼ú Áö¿ø ¹× µµ¿òÀ» °øÇåÇÏÁö ¾Ê´Â´Ù¸é My Digital Life Forums ³» µðÁöÅÐ ¶óÀÌÇÁ °ø°³ Åä·Ð . ÇÕ´Ï´Ù.
Related Articles °ü·Ã ±â»ç
- Oracle ORA-01658 Unable to Create INITIAL Extent for Segment in Tablespace Error ¿À¶óŬ ¿À¶ó - 01,658 ¼¼±×¸ÕÆ® Å×ÀÌºí °ø°£À» ¸¸µé ¼ö¾ø½À´Ï´Ù ¿À·ù¿¡ ´ëÇÑ Ãʱ⠹üÀ§ ³»¿¡¼
- How to Rename or Move Oracle Tablespace Datafile to Another Location ¿À¶óŬ Å×À̺íÇÏ´Â ¹æ¹ýÀ» µ¥ÀÌÅÍ ÆÄÀÏ À̸§À» ¹Ù²Ù°Å³ª ´Ù¸¥ À§Ä¡·Î À̵¿
- ORA-01502 Oracle Index in Unusable State ¿À¶ó - 01502 ¿À¶óŬ »öÀÎÀ» »ç¿ëÇÒ ¼ö ¾ø°Ô »óÅÂ
- Oracle Database Import Error 3113/3114 ¿À¶óŬ µ¥ÀÌÅͺ£À̽º¸¦ ¼öÀÔ ¿À·ù 3,114ºÐÀÇ 3,113
- Manual and Clean Uninstall Oracle for Windows ¿À¶óŬ¿¡ ´ëÇÑ ¸Å´º¾ó ¹× û¼Ò¸¦ Á¦°Å windows
- Create, Add or Split Oracle Database Partition Fails with ORA-14080 Error ¸¸µé°Å³ª, ¿À¶óŬ µ¥ÀÌÅͺ£À̽º ÆÄƼ¼Ç ºÐÇÒÀ» Ãß°¡Çϰųª ¿À¶ó - 14080 ¿À·ù¿Í ÇÔ²² ½ÇÆÐ
- How Drop Tablespace and Recover Oracle Database When Accidentally Delete Datafile ¿À¶óŬ µ¥ÀÌÅͺ£À̽º Å×ÀÌºí °ø°£ ¹× º¹±¸ÇÏ´Â ¹æ¹ýÀ» µå·Ó ½Ç¼ö·Î µ¥ÀÌÅÍ ÆÄÀÏÀ» »èÁ¦
- ORA-00942 Table or View Does Not Exist Oracle Error ÀÌ ¹®¼°¡ Àû¿ëµÇ´Â ¿À¶ó - 00942 Å×À̺íÀ̳ª ¿À¶óŬ ¿À·ù°¡ Á¸ÀçÇÏÁö ¾Ê½À´Ï´Ù
- ORA-02449 Oracle Drop Table Error ¿À¶ó - 02449 ¿À¶óŬ µå·Ó Å×ÀÌºí ¿À·ù
- How to Remove and Drop Datafiles from Tablespace in Oracle Database ¾Ø µå·Ó µ¥ÀÌÅÍ ÆÄÀÏÀ» Á¦°ÅÇÏ´Â ¹æ¹ý¿¡ ¿À¶óŬ µ¥ÀÌÅͺ£À̽ºÀÇ Å×ÀÌºí¿¡¼

































January 28th, 2008 17:52 2008³â 1¿ù 28ÀÏ 17½Ã 52ºÐ
very good informative articale. ¾ÆÁÖ ÁÁÀº À¯ÀÍÇÑ articaleÇÕ´Ï´Ù.
thanks °¨»çÇÕ´Ï´Ù
srinivas
May 7th, 2008 13:28 2008³â 5¿ù 7ÀÏ 13:28
Hi, ¾È³ç,
Thank you for such clear details. ±×·¯ÇÑ ¸íÈ® ¼¼ºÎ Á¤º¸ Áּż °¨»çÇÕ´Ï´Ù.
It helped me solve a problem in SAP BW system. µµ¿òÀÌ ¼ö¾×¿¡¼ÀÌ ¹®Á¦¸¦ ÇØ°áÇϱâ bw ½Ã½ºÅÛÇÕ´Ï´Ù.
Regards ¾ÈºÎ
Sharath sharath