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