ORA-25153 Temporary Tablespace is Empty Error in Oracle ORA-25.153 Pagaidu Tablespace ir tukšs Kļūda Oracle
When executing SQL query, the following Oracle error may appears: Izpildot SQL vaicājumu, pēc Oracle kļūda parādās:
ORA-25153: Temporary Tablespace is Empty ORA-25.153: Pagaidu Tablespace ir tukšs
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). Iemeslu ORA-25.153 kļūda, jo mēģināja izmantot telpas pagaidu tablespace bez failus (ne datafiles noteikts).
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. Lai atrisinātu problēmu, risinājums ir tikai pievienojot failus (datafiles), lai TEMP tablespace izmantojot ADD TEMPFILE komandu, vai izmantojot "Pievienot 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. Ja jūs pārbaudīt un konstatēja, ka TEMP tablespace jau ir datu faili, pārbaudiet default pagaidu tablespace visiem lietotājiem un datu bāzes un iestatiet noklusējuma pagaidu tablespace ar derīgu temporarary tablespace.
To check the default temporary tablespace of the database: Lai pārbaudītu default pagaidu tablespace of datu bāzē:
SQL> select property_name, property_value from database_properties; SQL> Izvēlieties property_name, property_value no database_properties;
The SQL will return the following results, look for DEFAULT_TEMP_TABLESPACE for the setting: SQL atgriezīsies šādiem rezultātiem, meklējiet DEFAULT_TEMP_TABLESPACE par iestatījums:
| 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 Gregora |
| 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 AM |
| NLS_TIMESTAMP_FORMAT NLS_TIMESTAMP_FORMAT | DD-MON-RR HH.MI.SSXFF AM DD-MON-RR HH.MI.SSXFF AM |
| NLS_TIME_TZ_FORMAT NLS_TIME_TZ_FORMAT | HH.MI.SSXFF AM TZR HH.MI.SSXFF AM TZR |
| NLS_TIMESTAMP_TZ_FORMAT NLS_TIMESTAMP_TZ_FORMAT | DD-MON-RR HH.MI.SSXFF AM TZR DD-MON-RR HH.MI.SSXFF AM 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: Ja default pagaidu tablespace ir nepareizi to mainīt ar komandu:
SQL> alter database default temporary tablespace temp; SQL> izmainīt datubāzi default pagaidu tablespace temperatūra;
To check default temporary tablespace for all users of the database: Lai pārbaudītu default pagaidu tablespace visiem datu bāzes lietotājiem:
SQL> select username, temporary_tablespace, account_status from dba_users; SQL> Izvēlieties lietotājvārdu, temporary_tablespace, account_status no dba_users;
will return the following result, check if all users TEMPORARY_TABLESPACE is set to correct settings: atgriezīsies sekojošu rezultātu, pārbaudiet, vai visiem lietotājiem TEMPORARY_TABLESPACE ir iestatīts pareizi iestatījumi:
| USERNAME LIETOTĀJVĀRDS | TEMPORARY_TABLESPACE TEMPORARY_TABLESPACE | ACCOUNT_STATUS ACCOUNT_STATUS |
| —————————— ---------- | —————————— ---------- | ——————————– ----------- |
| SYS SYS | TEMPRY TEMPRY | OPEN OPEN |
| SYSTEM SYSTEM | 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 & bloķēt |
If wrong temporary tablespace is found, alter it with the correct tablespace name (for example, sys) with the following SQL: Ja nepareizs pagaidu tablespace ir atrasta, mainīt to ar pareizo tablespace nosaukumu (piemēram, sys) ar šādu SQL:
SQL> alter user sys temporary tablespace temp; SQL> ALTER USER sys pagaidu tablespace temperatūra;
Alternatively, recreate or add a datafile to your temporary tablespace and change the default temporary tablespace for your database; Alternatīvi, atjaunotu vai pievienot datni savā pagaidu tablespace un mainīt noklusēto pagaidu tablespace jūsu datu bāzē;
SQL> drop tablespace temp including contents and datafiles; SQL> piliens tablespace temp ieskaitot saturu un datafiles;
SQL> create temporary tablespace temp tempfile '/db/temp01.dbf' size 100m autoextend off extent management local uniform size 1m; SQL> izveidot pagaidu tablespace temp tempfile "/ db/temp01.dbf 'size 100m autoextend off mērā vadība vietējos vienādu izmēru 1m;
SQL> alter database default temporary tablespace temp; SQL> izmainīt datubāzi default pagaidu tablespace temperatūra;
IMPORTANT : The page is machine translated and provided "as is" without warranty. SVARĪGI: lapa mašīna iztulkot un pasniegts tàds, "kàds tas ir" bez garantijas. Machine translation may be difficult to understand. Mašīntulkošanas var būt grūti saprast. Please refer to Lūdzu, skatiet original English article oriģināls angļu rakstu whenever possible. kad vien iespējams.
Related Articles Saistītie raksti
- Oracle ORA-01658 Unable to Create INITIAL Extent for Segment in Tablespace Error Oracle ORA-01.658 Nevar izveidot INITIAL Apjoms, kādā segmentā Tablespace Kļūda
- How Drop Tablespace and Recover Oracle Database When Accidentally Delete Datafile Kā Drop Tablespace un atgūt Oracle Database Kad Nejauši Dzēst datni
- How to Rename or Move Oracle Tablespace Datafile to Another Location Kā pārdēvēt vai pārvietot Oracle Tablespace datni uz citu vietu
- How to Remove and Drop Datafiles from Tablespace in Oracle Database Kā noņemt un Drop Datafiles no Tablespace in Oracle Database
- Oracle ORA-14074 Create or Add New Partition Fails Error Oracle ORA-14.074 izveidošana vai Add New Partition nav kļūda
- IMP-00013 Oracle Import Error IMP-00013 Oracle Import Error
- Oracle EXP-00091 Error When Export Database Oracle EXP-00091 kļūdu Export Database
- IMP-00016 Required Character Set Conversion Not Supported Error when Import to Oracle Database IMP-00016 Nepieciešams Character Set Conversion Not Supported Kļūda Imports Oracle Database
- Create, Add or Split Oracle Database Partition Fails with ORA-14080 Error Izveidot, pievienošana vai Split Oracle Database Partition neizdodas, ORA-14.080 Kļūda
- ORA-02449 Oracle Drop Table Error ORA-02.449 Oracle Drop tabula Kļūda










































September 19th, 2008 16:15 19 septembris 2008 16:15
very informative ļoti informatīvs
helps to find out palīdz noskaidrot
why wrong and what to do to overcome kāpēc nepareizi un ko darīt, lai pārvarētu
May 7th, 2008 13:28 7 maijs 2008 13:28
Hi, Čau,
Thank you for such clear details. Paldies par šādu skaidru informāciju.
It helped me solve a problem in SAP BW system. Tas palīdzēja man atrisināt problēmu, SAP BW sistēmā.
Regards Sveicieni
Sharath Sharath
January 28th, 2008 17:52 Janvāris 28, 2008 17:52
very good informative articale. Ļoti labs informatīvs articale.
thanks pateicība
srinivas Srinivas