ORA-25153 Temporary Tablespace is Empty Error in Oracle庫存- 25153臨時表是空的錯誤,在Oracle
When executing SQL query, the following Oracle error may appears:當執行SQL查詢,以下Oracle錯誤可能出現:
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錯誤是因為嘗試了使用空間在一個臨時表與任何文件(沒有datafiles定義) 。
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.為了解決這個問題,解決的辦法是剛剛加入文件( datafiles )到Temp表使用添加tempfile命令,或使用“添加datafiles ”在Oracle企業管理。
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:在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 hh.mi.ssxff上午tzr |
| 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 :
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;另外,再現或添加一個datafile到您的臨時表空間和更改默認的臨時表為您的數據庫;
SQL> drop tablespace temp including contents and datafiles;的SQL > 表氣溫下降,包括內容和datafiles ;
SQL> create temporary tablespace temp tempfile ‘/db/temp01.dbf’ size 100m autoextend off extent management local uniform size 1m;的SQL > “ 創建臨時表氣溫tempfile ' / db/temp01.dbf '大小百米autoextend小康的程度統一管理當地的大小一米;
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甲骨文庫存- 01658無法建立初步的程度,為部分在表錯誤
- How to Rename or Move Oracle Tablespace Datafile to Another Location如何重新命名或移動甲骨文表datafile到另一個位置
- ORA-01502 Oracle Index in Unusable State庫存- 01502甲骨文指數在使用的國家
- Oracle Database Import Error 3113/3114 Oracle數據庫的進口錯誤三千一百一十四分之三千一百十三
- Manual and Clean Uninstall Oracle for Windows手冊和乾淨的卸載甲骨文為Windows
- Create, Add or Split Oracle Database Partition Fails with ORA-14080 Error創建,添加或分裂Oracle數據庫分區失敗,庫存- 14080錯誤
- How Drop Tablespace and Recover Oracle Database When Accidentally Delete Datafile如何下拉表和恢復Oracle數據庫時,不小心刪除datafile
- ORA-00942 Table or View Does Not Exist Oracle Error庫存- 00942表或視圖不存在Oracle錯誤
- ORA-02449 Oracle Drop Table Error庫存- 02449甲骨文下拉表錯誤
- How to Remove and Drop Datafiles from Tablespace in Oracle Database如何刪除和下拉datafiles從表在Oracle數據庫



















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.它幫助我解決一個問題,在SAP的體重制度。
Regards關心
Sharath sharath