ORA-25153 Temporary Tablespace is Empty Error in Oracle ORA-25153 tablespace is Empty Temporary Error di Oracle
When executing SQL query, the following Oracle error may appears: Ketika mengeksekusi query SQL, Oracle kesalahan berikut mungkin muncul:
ORA-25153: Temporary Tablespace is Empty ORA-25153: Temporary Tablespace is Empty
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). Penyebab untuk ORA-25153 error adalah karena upaya yang dilakukan untuk menggunakan ruang dalam sebuah tablespace sementara tanpa file (tidak ada datafiles ditentukan).
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. Untuk memecahkan masalah, solusinya hanya dengan menambahkan file (datafiles) ke tablespace TEMP ADD TEMPFILE dengan menggunakan perintah, atau dengan menggunakan "Add Datafiles" di 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. Jika Anda memeriksa dan menemukan bahwa Tablespace TEMP sudah memiliki file data, cek default tablespace sementara untuk semua pengguna dan database Anda dan menetapkan sementara default tablespace ke tablespace temporarary yang valid.
To check the default temporary tablespace of the database: Untuk memeriksa default tablespace sementara database:
SQL> select property_name, property_value from database_properties; SQL> pilih property_name, property_value dari database_properties;
The SQL will return the following results, look for DEFAULT_TEMP_TABLESPACE for the setting: SQL akan mengembalikan hasil berikut ini, carilah DEFAULT_TEMP_TABLESPACE untuk pengaturan:
| PROPERTY_NAME PROPERTY_NAME | PROPERTY_VALUE PROPERTY_VALUE |
| —————————— ---------- | —————————— ---------- |
| DICT.BASE DICT.BASE | 2 2 |
| DEFAULT_TEMP_TABLESPACE DEFAULT_TEMP_TABLESPACE | TEMP TEMP |
| DBTIMEZONE DBTIMEZONE | +01:00 +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 8 |
| NLS_LANGUAGE NLS_LANGUAGE | AMERICAN AMERICAN |
| NLS_TERRITORY NLS_TERRITORY | AMERICA AMERICA |
| NLS_CURRENCY NLS_CURRENCY | $ $ |
| NLS_ISO_CURRENCY NLS_ISO_CURRENCY | AMERICA AMERICA |
| NLS_NUMERIC_CHARACTERS NLS_NUMERIC_CHARACTERS | ., ., |
| NLS_CHARACTERSET NLS_CHARACTERSET | WE8ISO8859P1 WE8ISO8859P1 |
| NLS_CALENDAR NLS_CALENDAR | GREGORIAN Gregorian |
| NLS_DATE_FORMAT NLS_DATE_FORMAT | DD-MON-RR DD-MON-RR |
| NLS_DATE_LANGUAGE NLS_DATE_LANGUAGE | AMERICAN AMERICAN |
| NLS_SORT NLS_SORT | BINARY BINARY |
| NLS_TIME_FORMAT NLS_TIME_FORMAT | HH.MI.SSXFF AM HH.MI.SSXFF PM |
| NLS_TIMESTAMP_FORMAT NLS_TIMESTAMP_FORMAT | DD-MON-RR HH.MI.SSXFF AM DD-MON-RR HH.MI.SSXFF PM |
| NLS_TIME_TZ_FORMAT NLS_TIME_TZ_FORMAT | HH.MI.SSXFF AM TZR HH.MI.SSXFF PM TZR |
| NLS_TIMESTAMP_TZ_FORMAT NLS_TIMESTAMP_TZ_FORMAT | DD-MON-RR HH.MI.SSXFF AM TZR DD-MON-RR HH.MI.SSXFF PM TZR |
| NLS_DUAL_CURRENCY NLS_DUAL_CURRENCY | $ $ |
| NLS_COMP NLS_COMP | BINARY BINARY |
| NLS_LENGTH_SEMANTICS NLS_LENGTH_SEMANTICS | BYTE BYTE |
| NLS_NCHAR_CONV_EXCP NLS_NCHAR_CONV_EXCP | FALSE FALSE |
| NLS_RDBMS_VERSION NLS_RDBMS_VERSION | 9.2.0.6.0 9.2.0.6.0 |
If default temporary tablespace is wrong the alter it with the following command: Jika default tablespace sementara salah altar dengan perintah berikut:
SQL> alter database default temporary tablespace temp; SQL> alter database default tablespace sementara temp;
To check default temporary tablespace for all users of the database: Untuk memeriksa tablespace sementara default untuk semua pengguna dari database:
SQL> select username, temporary_tablespace, account_status from dba_users; SQL> pilih nama pengguna, temporary_tablespace, account_status dari dba_users;
will return the following result, check if all users TEMPORARY_TABLESPACE is set to correct settings: akan mengembalikan hasil berikut, periksa apakah semua pengguna TEMPORARY_TABLESPACE diatur untuk memperoleh pengaturan yang benar:
| USERNAME USERNAME | TEMPORARY_TABLESPACE TEMPORARY_TABLESPACE | ACCOUNT_STATUS ACCOUNT_STATUS |
| —————————— ---------- | —————————— ---------- | ——————————– ----------- |
| SYS SYS | TEMPRY TEMPRY | OPEN OPEN |
| SYSTEM SISTEM | TEMP TEMP | OPEN OPEN |
| OUTLN OUTLN | TEMP TEMP | OPEN OPEN |
| DBSNMP DBSNMP | TEMP TEMP | OPEN OPEN |
| DBMONITOR DBMONITOR | TEMP TEMP | OPEN OPEN |
| TEST TEST | TEMP TEMP | OPEN OPEN |
| WMSYS WMSYS | TEMP TEMP | EXPIRED & LOCKED Expired & LOCKED |
If wrong temporary tablespace is found, alter it with the correct tablespace name (for example, sys) with the following SQL: Jika salah tablespace sementara ditemukan, mengubahnya dengan nama tablespace yang benar (misalnya, sys) dengan SQL berikut:
SQL> alter user sys temporary tablespace temp; SQL> alter user sys sementara tablespace temp;
Alternatively, recreate or add a datafile to your temporary tablespace and change the default temporary tablespace for your database; Atau, menciptakan atau menambah datafile ke tablespace sementara Anda dan mengubah default tablespace sementara untuk database;
SQL> drop tablespace temp including contents and datafiles; SQL> drop tablespace temp termasuk isi dan datafiles;
SQL> create temporary tablespace temp tempfile '/db/temp01.dbf' size 100m autoextend off extent management local uniform size 1m; SQL> create tablespace temp sementara tempfile '/ db/temp01.dbf' size 100m autoextend dari manajemen sejauh ukuran seragam lokal 1m;
SQL> alter database default temporary tablespace temp; SQL> alter database default tablespace sementara temp;
IMPORTANT : The page is machine translated and provided "as is" without warranty. PENTING: Halaman ini adalah mesin diterjemahkan dan diberikan "sebagaimana adanya" tanpa jaminan. Machine translation may be difficult to understand. Terjemahan mesin mungkin sulit untuk mengerti. Please refer to Silakan merujuk ke original English article artikel asli bahasa Inggris whenever possible. bila memungkinkan.
Related Articles Artikel Terkait
- Oracle ORA-01658 Unable to Create INITIAL Extent for Segment in Tablespace Error ORA-01658 oracle Tidak dapat Buat Luas AWAL untuk Segmen dalam tablespace Kesalahan
- How Drop Tablespace and Recover Oracle Database When Accidentally Delete Datafile Bagaimana Drop tablespace dan Recover Oracle Database Ketika sengaja Hapus Datafile
- How to Rename or Move Oracle Tablespace Datafile to Another Location Bagaimana Oracle Ubah nama atau Pindah ke lain tablespace Datafile Lokasi
- How to Remove and Drop Datafiles from Tablespace in Oracle Database Cara Hapus dan Drop Datafiles dari tablespace di Oracle Database
- Oracle ORA-14074 Create or Add New Partition Fails Error Oracle ORA-14074 Buat atau Tambah Partisi Baru Gagal Kesalahan
- IMP-00013 Oracle Import Error IMP-00013 Error Oracle Impor
- Oracle EXP-00091 Error When Export Database EXP-00091 oracle Error Ketika Ekspor Database
- IMP-00016 Required Character Set Conversion Not Supported Error when Import to Oracle Database Diperlukan IMP-00016 Character Set Konversi Tidak Didukung Kesalahan ketika Impor ke Oracle Database
- Create, Add or Split Oracle Database Partition Fails with ORA-14080 Error Membuat, Tambah atau Split Pemisahan Oracle Database Gagal dengan ORA-14080 Error
- ORA-02449 Oracle Drop Table Error ORA-02449 Oracle Drop Tabel Error










































September 19th, 2008 16:15 19 September 2008 16:15
very informative sangat informatif
helps to find out membantu untuk mengetahui
why wrong and what to do to overcome mengapa salah dan apa yang harus dilakukan untuk mengatasi
May 7th, 2008 13:28 7 Mei 2008 13:28
Hi, Hai,
Thank you for such clear details. Terima kasih atas rincian yang jelas seperti itu.
It helped me solve a problem in SAP BW system. Itu membantu saya memecahkan masalah dalam sistem SAP BW.
Regards Salam
Sharath Sharath
January 28th, 2008 17:52 28 Januari 2008 17:52
very good informative articale. articale informatif sangat baik.
thanks terima kasih
srinivas Srinivas