Oracle ORA-01658 Unable to Create INITIAL Extent for Segment in Tablespace Error Oracle ORA-01658 Không thể Tạo Initial Mức cho phân trong Tablespace Lỗi
When inserting records into Oracle database by SQL statements, creating new tables, importing backup dump into Oracle database or when manipulating tables or data in the Oracle database, the following error may occurs: Khi chèn bản ghi vào cơ sở dữ liệu của Oracle SQL kê, tạo bảng mới, nhập khẩu dự phòng đổ vào cơ sở dữ liệu Oracle hoặc khi thao bảng hoặc dữ liệu trong cơ sở dữ liệu Oracle, các lỗi sau tháng năm xảy ra:
ORA-01658: unable to create INITIAL extent for segment in tablespace tablespace_name ORA-01658: không thể tạo ra mức độ ban đầu cho phân trong tablespace tablespace_name
The problem is caused by the Oracle unable or fails to find sufficient contiguous space to allocate INITIAL extent for segment being created, due to the data files for a tablespace specified in tablespace_name has become full, or there is not enough space in the datafile. Nhưng vấn đề là do Oracle không thể hoặc không tìm thấy tác đầy đủ không gian để phân bổ cho các mức độ phân ban đầu được tạo ra, do các tập tin dữ liệu cho một tablespace quy định cụ thể tại tablespace_name đã trở thành đầy đủ, hoặc không có đủ không gian trong các datafile.
You can check if the datafiles available and used by Oracle's tablespaces is autoextensible, and if there is any free space in the datafile by using the following query. Bạn có thể kiểm tra xem nếu datafiles có sẵn và được sử dụng của Oracle của tablespaces là autoextensible, và nếu có miễn phí không gian trong các datafile bằng cách sử dụng truy vấn sau đây.
select a.file_id,b.file_name,b.autoextensible,b.bytes/1024/1024,sum(a.bytes)/1024/1024 chọn a.file_id, b.file_name, b.autoextensible, b.bytes/1024/1024, tổng kết (a.bytes) / 1024/1024
from dba_extents a , dba_data_files b từ dba_extents a, b dba_data_files
where a.file_id=b.file_id nơi a.file_id = b.file_id
group by a.file_id,b.file_name,autoextensible,b.bytes/1024/1024 nhóm của a.file_id, b.file_name, autoextensible, b.bytes/1024/1024
The solutions or workarounds for the ORA-01658 Oracle error include: Các giải pháp hoặc workarounds cho ORA-01658 Oracle lỗi bao gồm:
- Add a new datafile into the tablespace to increase additional space by using SQL query as shown: Thêm một datafile vào tablespace để tăng thêm không gian bằng cách sử dụng các truy vấn SQL như được hiển thị:
ALTER TABLESPACE <tablespace_name> ADD DATAFILE <datafile_name7gt; size <size> Thay đổi TABLESPACE <tablespace_name> ADD DATAFILE <datafile_name7gt; kích thước <size>
- Retry the transaction or process with a smaller value for INITIAL. Thử lại hoặc quá trình giao dịch với giá trị nhỏ hơn cho các ban đầu.
- Set AUTOEXTEND on for the data file of the tablespace. Đặt AUTOEXTEND trên cho các tập tin dữ liệu của các tablespace.
- Increase the size of the existing datafile by using the following SQL command: Tăng kích thước của các datafile bằng cách sử dụng lệnh SQL sau đây:
ALTER DATABASE DATAFILE <datafile_name> RESIZE newsize; Cơ sở dữ liệu thay đổi DATAFILE <datafile_name> thay đổi kích cỡ newsize;
IMPORTANT : The page is machine translated and provided "as is" without warranty. Lưu ý: Các trang web là máy tính dịch và cung cấp "như là" mà không có bảo hành. Machine translation may be difficult to understand. Máy dịch thuật có thể là khó hiểu. Please refer to Xin vui lòng tham khảo original English article Tiếng Anh bản gốc bài viết whenever possible. bất cứ khi nào có thể.
Related Articles Bài viết liên quan
- How to Remove and Drop Datafiles from Tablespace in Oracle Database Làm thế nào để Hủy bỏ và Thả Datafiles từ Tablespace trong cơ sở dữ liệu Oracle
- ORA-25153 Temporary Tablespace is Empty Error in Oracle ORA-25153 tạm thời Tablespace đang rỗng Lỗi trong Oracle
- How Drop Tablespace and Recover Oracle Database When Accidentally Delete Datafile Làm thế nào Thả Tablespace và Cơ sở dữ liệu Oracle Recover Khi vô tình Xóa Datafile
- How to Rename or Move Oracle Tablespace Datafile to Another Location Làm thế nào để Đổi tên hoặc Di chuyển Oracle Tablespace Datafile đến địa điểm khác
- Oracle ORA-14074 Create or Add New Partition Fails Error Oracle ORA-14074 Tạo Thêm mới hoặc phân vùng bị lỗi Lỗi
- Create, Add or Split Oracle Database Partition Fails with ORA-14080 Error Tạo, Thêm hoặc Tách Oracle cơ sở dữ liệu với các phân vùng bị lỗi ORA-14080 Lỗi
- Oracle EXP-00091 Error When Export Database Oracle EXP-00091 Lỗi Khi Xuất nhập khẩu Cơ sở dữ liệu
- Oracle Database Import Error 3113/3114 Cơ sở dữ liệu Oracle Nhập Lỗi 3113/3114
- ORA-02449 Oracle Drop Table Error ORA-02449 Oracle Thả Bảng Lỗi
- IMP-00016 Required Character Set Conversion Not Supported Error when Import to Oracle Database IMP-00016 yêu cầu ký tự không được hỗ trợ chuyển đổi Đặt Lỗi khi nhập vào cơ sở dữ liệu Oracle









































