Oracle ORA-01658 Unable to Create INITIAL Extent for Segment in Tablespace Error甲骨文口腔01658無法創建初始程度段表空間錯誤
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:當插入記錄到Oracle數據庫的SQL語句,創造新的表,進口備份轉儲到甲骨文公司的數據庫時,操縱或表格或數據庫中的Oracle數據庫,下面的錯誤可能發生:
ORA-01658: unable to create INITIAL extent for segment in tablespace tablespace_name奧拉- 01658 :無法創建初始程度的部分表空間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.但問題是所造成的甲骨文公司無法或沒有找到足夠的連續空間分配初始程度的部分正在建立,由於數據文件的表空間指明了tablespace_name成為充分,或沒有足夠的空間的數據文件。
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.您可以檢查,如果數據文件提供和使用的甲骨文公司的表空間是autoextensible ,如果有任何自由空間中的數據文件使用下面的查詢。
select a.file_id,b.file_name,b.autoextensible,b.bytes/1024/1024,sum(a.bytes)/1024/1024選擇a.file_id , b.file_name , b.autoextensible , b.bytes/1024/1024 ,總之( a.bytes ) / 1024分之1024
from dba_extents a , dba_data_files b從dba_extents一個, dba_data_files b
where a.file_id=b.file_id在a.file_id = b.file_id
group by a.file_id,b.file_name,autoextensible,b.bytes/1024/1024組a.file_id , b.file_name , autoextensible , b.bytes/1024/1024
The solutions or workarounds for the ORA-01658 Oracle error include:該解決方案或替代的口腔01658甲骨文的錯誤包括:
- Add a new datafile into the tablespace to increase additional space by using SQL query as shown:添加新的數據文件到表空間增加更多的空間使用SQL查詢所示:
ALTER TABLESPACE <tablespace_name> ADD DATAFILE <datafile_name7gt; size <size>修改表空間數據文件<tablespace_name>地址“ datafile_name7gt ;大小<size>
- Retry the transaction or process with a smaller value for INITIAL.重試交易或進程,以較小的初始值。
- Set AUTOEXTEND on for the data file of the tablespace.設置AUTOEXTEND上的數據文件的表空間。
- Increase the size of the existing datafile by using the following SQL command:增加的規模,現有的數據文件使用下面的SQL命令:
ALTER DATABASE DATAFILE <datafile_name> RESIZE newsize;修改數據庫數據文件<datafile_name> RESIZE newsize ;
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相關文章
- ORA-25153 Temporary Tablespace is Empty Error in Oracle奧拉- 25153臨時表空間是空的誤差在甲骨文
- How to Rename or Move Oracle Tablespace Datafile to Another Location如何重命名或移動甲骨文表空間數據文件到另一個位置
- How to Remove and Drop Datafiles from Tablespace in Oracle Database如何刪除和丟棄數據文件從表空間在Oracle數據庫
- How Drop Tablespace and Recover Oracle Database When Accidentally Delete Datafile如何減少表空間和恢復Oracle數據庫時,意外地刪除數據文件
- Oracle Database Import Error 3113/3114 Oracle數據庫進口錯誤三千一百一十四分之三千一百十三
- ORA-01502 Oracle Index in Unusable State口腔01502甲骨文指數不可用國
- Manual and Clean Uninstall Oracle for Windows手冊和乾淨的卸載甲骨文公司針對Windows
- Create, Add or Split Oracle Database Partition Fails with ORA-14080 Error創建,添加或分裂甲骨文數據庫劃分失敗與口腔14080錯誤
- ORA-00942 Table or View Does Not Exist Oracle Error奧拉- 00942表或視圖不存在Oracle錯誤
- Oracle ORA-14074 Create or Add New Partition Fails Error甲骨文口腔14074創設或增加新的分區失敗的錯誤
































