ORA-25153 Temporary Tablespace is Empty Error in Oracle Ora-25153 Midlertidige Tablespace er Tom emballasje Feil i Oracle
When executing SQL query, the following Oracle error may appears: Når du utfører SQL-spørring, er følgende Oracle feilen kan vises:
ORA-25153: Temporary Tablespace is Empty Ora-25153: Midlertidig Tablespace er tom
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). Årsaken til Ora-25153 feilen skyldes forsøk ble gjort for å bruke plass i en midlertidig tablespace med ingen filer (ingen datafiles definert).
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. For å løse problemet, løsningen er bare ved å legge til filer (datafiles) til Temp tablespace med ADD TEMPFILE kommando, eller ved å bruke "Legg Datafiles" i 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. Hvis du kontrollerer og funnet ut at TEMP tablespace allerede datafiler, sjekk standard midlertidige tablespace for alle brukere og databaser og angi standard midlertidige tablespace til et gyldig temporarary tablespace.
To check the default temporary tablespace of the database: Å se standard midlertidige tablespace av databasen:
SQL> select property_name, property_value from database_properties; SQL> velge property_name, property_value fra database_properties;
The SQL will return the following results, look for DEFAULT_TEMP_TABLESPACE for the setting: SQL returnerer følgende resultater, se etter DEFAULT_TEMP_TABLESPACE for innstillingen:
| 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 Gregoriansk |
| NLS_DATE_FORMAT NLS_DATE_FORMAT | DD-MON-RR DD-MMM-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-MMM-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-MMM-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: Hvis standard midlertidige tablespace er galt det endre det med følgende kommando:
SQL> alter database default temporary tablespace temp; SQL> endre database standard midlertidige tablespace temp;
To check default temporary tablespace for all users of the database: Slik kontrollerer standard midlertidige tablespace for alle brukere av databasen:
SQL> select username, temporary_tablespace, account_status from dba_users; SQL> velge brukernavn, temporary_tablespace, account_status fra dba_users;
will return the following result, check if all users TEMPORARY_TABLESPACE is set to correct settings: vil returnere følgende resultat sjekke om alle brukere TEMPORARY_TABLESPACE er satt til riktige innstillinger:
| USERNAME USERNAME | 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 Utløpt & Lukket |
If wrong temporary tablespace is found, alter it with the correct tablespace name (for example, sys) with the following SQL: Hvis feil midlertidig tablespace er funnet, endre det med riktig tablespace navn (for eksempel sys) med følgende SQL:
SQL> alter user sys temporary tablespace temp; SQL> endre bruker sys midlertidige tablespace temp;
Alternatively, recreate or add a datafile to your temporary tablespace and change the default temporary tablespace for your database; Alternativt gjenskape eller legge til en datafile til midlertidig tablespace og endre standard midlertidige tablespace for databasen;
SQL> drop tablespace temp including contents and datafiles; SQL> drop tablespace temp inkludert innholdet og datafiles;
SQL> create temporary tablespace temp tempfile '/db/temp01.dbf' size 100m autoextend off extent management local uniform size 1m; SQL> opprette midlertidige tablespace temp tempfile '/ db/temp01.dbf' størrelse 100m autoextend off grad ledelsen lokale enhetlig størrelse 1m;
SQL> alter database default temporary tablespace temp; SQL> endre database standard midlertidige tablespace temp;
IMPORTANT : The page is machine translated and provided "as is" without warranty. VIKTIG: Siden er maskinen oversatt og tilgjengelig "som er" uten garanti. Machine translation may be difficult to understand. Maskinen oversettelse kan være vanskelig å forstå. Please refer to Vennligst henvis til original English article original engelsk artikkel whenever possible. når det er mulig.
Related Articles Relaterte artikler
- Oracle ORA-01658 Unable to Create INITIAL Extent for Segment in Tablespace Error Oracle Ora-01658 Kan ikke Opprette INITIAL Omfang for segment i Tablespace Feil
- How Drop Tablespace and Recover Oracle Database When Accidentally Delete Datafile Hvor Miste Tablespace og Recover Oracle Database Når uhell Slett Datafile
- How to Rename or Move Oracle Tablespace Datafile to Another Location Hvordan endrer eller Flytt Oracle Tablespace Datafile til et annet sted
- How to Remove and Drop Datafiles from Tablespace in Oracle Database Hvor å Fjerne og Miste Datafiles fra Tablespace i Oracle Database
- Oracle ORA-14074 Create or Add New Partition Fails Error Oracle Ora-14074 Opprette eller legge til nye partisjon mislykkes Feil
- Oracle EXP-00091 Error When Export Database Oracle EXP-00091 Feil Når Eksport Database
- IMP-00013 Oracle Import Error Imp-00013 Oracle Import Feil
- IMP-00016 Required Character Set Conversion Not Supported Error when Import to Oracle Database Imp-00016 Required Tegnsett Konvertering støttes Feil når Import å Oracle Database
- Create, Add or Split Oracle Database Partition Fails with ORA-14080 Error Opprett, Legg til eller Split Oracle Database Partisjoner mislykkes med Ora-14080 Feil
- ORA-02449 Oracle Drop Table Error Ora-02449 Oracle Miste Bord Feil










































September 19th, 2008 16:15 19 september 2008 16:15
very informative meget informative
helps to find out hjelper til med å finne ut
why wrong and what to do to overcome Hvorfor galt og hva jeg skal gjøre for å overvinne
May 7th, 2008 13:28 7 mai 2008 13:28
Hi, Hei,
Thank you for such clear details. Takk for slike klare detaljer.
It helped me solve a problem in SAP BW system. Det hjalp meg med å løse et problem i SAP BW systemet.
Regards Hilsen
Sharath Sharath
January 28th, 2008 17:52 28 januar 2008 17:52
very good informative articale. meget gode informative articale.
thanks takk
srinivas Srinivas