ORA-25153 Temporary Tablespace is Empty Error in Oracle ORA-25153 Temporary tablespace đang rỗng Lỗi trong Oracle

When executing SQL query, the following Oracle error may appears: Khi thực hiện truy vấn SQL, Oracle lỗi có thể xuất hiện sau đây:

ORA-25153: Temporary Tablespace is Empty ORA-25153: Temporary tablespace đang rỗng

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). Nguyên nhân cho ORA-25153 lỗi là vì nỗ lực đã được thực hiện để sử dụng không gian trong một tablespace tạm thời không có tập tin (không datafiles được định nghĩa).

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. Để giải quyết vấn đề, giải pháp là chỉ cần bằng cách thêm các file (datafiles) cho tablespace TEMP bằng cách sử dụng ADD TEMPFILE lệnh, hoặc bằng cách sử dụng "Thêm Datafiles" ở 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. Nếu bạn kiểm tra và thấy rằng TEMP tablespace đã có tập tin dữ liệu, kiểm tra các tablespace mặc định tạm thời cho tất cả người dùng và tablespace cơ sở dữ liệu của bạn và thiết lập mặc định tạm thời để một tablespace temporarary hợp lệ.

To check the default temporary tablespace of the database: Để kiểm tra mặc định tablespace tạm thời của cơ sở dữ liệu:

SQL> select property_name, property_value from database_properties; SQL> chọn property_name, property_value từ database_properties;

The SQL will return the following results, look for DEFAULT_TEMP_TABLESPACE for the setting: SQL sẽ trả về các kết quả sau, hãy tìm cho DEFAULT_TEMP_TABLESPACE đặt:

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 Gregory
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 Nhị phân
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 Nhị phân
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: Nếu tablespace mặc định tạm thời là sai sự thay đổi nó bằng lệnh sau:

SQL> alter database default temporary tablespace temp; SQL> thay đổi cơ sở dữ liệu temp tablespace mặc định tạm thời;

To check default temporary tablespace for all users of the database: Để kiểm tra mặc định tablespace tạm thời cho tất cả người dùng của các cơ sở dữ liệu:

SQL> select username, temporary_tablespace, account_status from dba_users; SQL> chọn tên người dùng, temporary_tablespace, account_status từ dba_users;

will return the following result, check if all users TEMPORARY_TABLESPACE is set to correct settings: sẽ trả về kết quả sau, kiểm tra xem tất cả các TEMPORARY_TABLESPACE người dùng được thiết lập để sửa các thiết lập:

USERNAME USERNAME TEMPORARY_TABLESPACE TEMPORARY_TABLESPACE ACCOUNT_STATUS ACCOUNT_STATUS
—————————— ---------- —————————— ---------- ——————————– -----------
SYS SYS TEMPRY TEMPRY OPEN MỞ
SYSTEM HỆ THỐNG TEMP TEMP OPEN MỞ
OUTLN OUTLN TEMP TEMP OPEN MỞ
DBSNMP DBSNMP TEMP TEMP OPEN MỞ
DBMONITOR DBMONITOR TEMP TEMP OPEN MỞ
TEST TEST TEMP TEMP OPEN MỞ
WMSYS WMSYS TEMP TEMP EXPIRED & LOCKED Hết hạn & LOCKED

If wrong temporary tablespace is found, alter it with the correct tablespace name (for example, sys) with the following SQL: Nếu sai tablespace tạm thời là các mặt hàng, thay đổi nó với tên tablespace đúng (ví dụ, sys) với SQL sau đây:

SQL> alter user sys temporary tablespace temp; SQL> thay đổi người dùng sys temp tablespace tạm thời;

Alternatively, recreate or add a datafile to your temporary tablespace and change the default temporary tablespace for your database; Ngoài ra, tạo lại hoặc thêm một DATAFILE để tablespace tạm thời của bạn và thay đổi mặc định tablespace tạm thời cho các cơ sở dữ liệu của bạn;

SQL> drop tablespace temp including contents and datafiles; SQL> drop tablespace temp bao gồm các nội dung và datafiles;

SQL> create temporary tablespace temp tempfile '/db/temp01.dbf' size 100m autoextend off extent management local uniform size 1m; SQL> tạo tempfile tạm thời temp tablespace '/ db/temp01.dbf' kích thước 100m autoextend giảm kích thước phạm vi quản lý thống nhất địa phương 1phút;

SQL> alter database default temporary tablespace temp; SQL> thay đổi cơ sở dữ liệu temp tablespace mặc định tạm thời;

IMPORTANT : The page is machine translated and provided "as is" without warranty. Quan trọng: Sửa là máy dịch và cung cấp "như là" không có bảo hành. Machine translation may be difficult to understand. Máy dịch thuật có thể khó hiểu. Please refer to Vui lòng tham khảo original English article bản gốc tiếng Anh bài viết whenever possible. bất cứ khi nào có thể.


3 Responses to “ORA-25153 Temporary Tablespace is Empty Error in Oracle” 3 hồi đáp tới "ORA-25153 Temporary tablespace đang rỗng Lỗi trong Oracle"

  1. atanu atanu
    September 19th, 2008 16:15 Ngày 19 tháng 9 2008 16:15
    3 3

    very informative rất thông tin
    helps to find out giúp để tìm hiểu
    why wrong and what to do to overcome tại sao sai và phải làm gì để khắc phục

  2. Sharath Sharath
    May 7th, 2008 13:28 07 Tháng 5 2008 13:28
    2 2

    Hi, Chào,

    Thank you for such clear details. Cám ơn các chi tiết như vậy rõ ràng.
    It helped me solve a problem in SAP BW system. Nó đã giúp tôi giải quyết một vấn đề trong hệ thống SAP BW.

    Regards Kính trọng
    Sharath Sharath

  3. srinivas srinivas
    January 28th, 2008 17:52 28 Tháng 1 2008 17:52
    1 1

    very good informative articale. articale thông tin rất tốt.
    thanks cảm ơn
    srinivas srinivas

Leave a Reply Để lại một trả lời

You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong> Bạn có thể sử dụng các thẻ: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime = ""> <em> <i> <q <strike> <strong>

Subscribe to comments feature has been disabled. Thuê bao với ý kiến đều đã bị vô hiệu hoá. To receive notification of latest comments posted, subscribe to Để nhận được thông báo mới nhất đăng ý kiến, đăng ký với My Digital Life Comments RSS feed My Digital Life kiến RSS feed or hoặc register to receive đăng ký để nhận được new comments in daily email digest. Các ý kiến mới trong email tiêu hàng ngày.
Custom Search

New Articles Bài viết mới

Incoming Search Terms for the Article Tìm đến các Điều khoản Điều

ora-25153 ora-25153 - -- ORA-25153: Temporary Tablespace is Empty ORA-25153: Temporary tablespace đang rỗng - -- ora-25153 temporary tablespace is empty ora-25153 tablespace tạm thời chưa có hàng - -- temporary tablespace is empty tạm thời tablespace là trống rỗng - -- ora 25153 ora 25.153 - -- ORA-25153: Temporary Tablespace is Empty ORA-25153: Temporary tablespace đang rỗng - -- ora 25153 temporary tablespace is empty ora 25.153 tablespace tạm thời là trống rỗng - -- ora-25153 temporary tablespace is empty oracle ora-25153 tablespace tạm thời là trống rỗng, oracle - -- ORA25153 ORA25153 - -- "ORA-25153: Temporary Tablespace is Empty" "ORA-25153: Temporary tablespace là rỗng" - -- error ora-25153 temporary tablespace is empty lỗi ora-25153 tablespace tạm thời chưa có hàng - -- ORA-25153 ORA-25153 - -- ora-25153 solution ora-25153 giải pháp - -- oracle 25153 oracle 25.153 - -- ORA-25153: ORA-25153: - -- tablespace empty tablespace có sản phẩm nào - -- java.sql.SQLException: ORA-25153: Temporary Tablespace is Empty java.sql.SQLException: ORA-25153: Temporary tablespace đang rỗng - -- how to check temporary tablespace làm thế nào để kiểm tra xem tablespace tạm thời - -- how to check temp tablespace usage làm thế nào để kiểm tra việc sử dụng tablespace temp - -- oracle ora-25153 oracle ora-25153 - -- ORA- 25153 ORA-25153 - -- 25153 25153 - -- check default temporary tablespace kiểm tra mặc định tạm thời tablespace - -- Database error 25153 25.153 cơ sở dữ liệu lỗi - -- ORA-25153- Temporary Tablespace is Empty ORA-25153-Temporary tablespace đang rỗng - -- tempory table space is empty oracle tempory bảng không gian trống oracle - -- ORA-25153: Temporary Tablespace is Empty, ORA-25153: Temporary tablespace là rỗng, - -- oracle ORA-25153: Temporary Tablespace is Empty oracle ORA-25153: Temporary tablespace đang rỗng - -- oracle temporary tablespace is empty oracle tablespace tạm thời là trống rỗng - -- ORA-25153 ORA-25153 - -- oracle "Temporary Tablespace is Empty" oracle "Temporary tablespace là rỗng" - -- problem dropt temporary tablespace vấn đề dropt tạm thời tablespace - -- Error - ORA-25153: Temporary Tablespace is Empty Lỗi - ORA-25153: Temporary tablespace đang rỗng - -- ORA-25153: Temporary Tablespace is Empty ORA-25153: Temporary tablespace đang rỗng - -- all tất cả - -- clear + temporary + oracle + 9i rõ ràng + tạm thời + + oracle 9i - -- how to check oracle temp tablespace làm thế nào để kiểm tra xem tablespace temp oracle - -- ora-25153 temporary tablespace ora-25153 tạm thời tablespace - -- temporary tablespace empty emca tạm thời tablespace trống emca - -- (Bridge ODBC-JDBC)(ORA-25153: Temporary Tablespace is Empty ) (Bridge ODBC-JDBC) (ORA-25153: Temporary tablespace là rỗng) - -- 0ra-25153: temporary tablespace empty 0ra-25153: tạm thời tablespace có sản phẩm nào - -- 25153 oracle 25.153 oracle - -- check the default temporary tablespace for the database kiểm tra mặc định tablespace tạm thời cho các cơ sở dữ liệu - -- drop temporary tablespace oracle 9i thả tạm thời tablespace oracle 9i - -- HOW CLEAR DATA FROM TEMP TABLESPACE LÀM THẾ NÀO CLEAR DATA TỪ TEMP tablespace - -- ora 25153 upgrade ora 25.153 nâng cấp - -- ORA-25153: Temporar ORA-25153: Temporar - -- oracle drop temporary tablespace oracle thả tạm thời tablespace - -- oracle add temp file oracle thêm file temp - -- oracle temporary tablespace empty oracle tablespace tạm thời có sản phẩm nào - --