Oracle ORA-01658 Unable to Create INITIAL Extent for Segment in Tablespace Error ¿À¶óŬÀº ORA - 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: SQL ¹®À»ÇÏ¿© Oracle µ¥ÀÌÅͺ£À̽º¿¡ ·¹Äڵ带 »ðÀÔÇßÀ» ¶§, »õ·Î¿î Å×À̺íÀ» »ý¼º, ¿À¶óŬ µ¥ÀÌÅͺ£À̽º·Î ¹é¾÷ ´ýÇÁ °¡Á®¿À±â ¶Ç´Â Å×À̺íÀ̳ª Oracle µ¥ÀÌÅͺ£À̽º¿¡¼ µ¥ÀÌÅ͸¦ Á¶ÀÛÇßÀ» ¶§, ´ÙÀ½°ú °°Àº ¿À·ù ¹ß»ýÇÕ´Ï´Ù :
ORA-01658: unable to create INITIAL extent for segment in tablespace tablespace_name ORA - 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¿¡ ÁöÁ¤µÈ Å×À̺í·Î ÀÎÇØ µ¥ÀÌÅÍ ÆÄÀÏÀÇ ÀüüµÇ°íÀÖ´Ù, ¶Ç´Â °Å±â¿¡ 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. µ¥ÀÌÅÍ¿¡ ÇØ´çÇÏ´Â °æ¿ì¿Í ¿À¶óŬÀÇ Å×À̺í·Î »ç¿ë autoextensible´Â ´ç½Å, ±×¸®°í È®ÀÎÇÏ½Ç ¼öÀÖ½À´Ï´Ù datafile¿¡ÀÖ´Â °æ¿ì¿¡´Â ´ÙÀ½°ú °°Àº °Ë»ö¾î¸¦ »ç¿ëÇÏ¿© ¿©À¯ °ø°£ÀÔ´Ï´Ù.
select a.file_id,b.file_name,b.autoextensible,b.bytes/1024/1024,sum(a.bytes)/1024/1024 ¼±ÅÃÇϰí, b.bytes/1024/1024 b.autoextensible, b.file_name a.file_id ÇÕ°è (a.bytes) / 1,024ºÐÀÇ 1,024
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.bytes/1024/1024 autoextensible b.file_name
The solutions or workarounds for the ORA-01658 Oracle error include: ÀÌ ¼Ö·ç¼Ç¿¡ ´ëÇÑ ÇØ°á ¹æ¹ýÀ̳ª ORA - 01658 ¿À¶óŬ ¿À·ù¸¦ Æ÷ÇÔ :
- Add a new datafile into the tablespace to increase additional space by using SQL query as shown: the Å×À̺í·Î SQL Äõ¸®¸¦ »ç¿ëÇÏ¿© Ãß°¡ °ø°£À» ³ôÀ̱â À§ÇØ »õ·Î¿î datafile Ãß°¡ Ç¥½Ã :
ALTER TABLESPACE <tablespace_name> ADD DATAFILE <datafile_name7gt; size <size> ALTER Å×À̺í <tablespace_name> ADD°¡ DATAFILE <datafile_name7gt; Å©±â <size>
- Retry the transaction or process with a smaller value for INITIAL. â¾÷¿¡ ´ëÇÑ ÀÛÀº °ªÀ» °¡Áø Æ®·£Àè¼ÇÀ̳ª ÇÁ·Î¼¼½º¸¦ ½ÃµµÇϽʽÿÀ.
- Set AUTOEXTEND on for the data file of the tablespace. Set¿¡ ´ëÇÑ µ¥ÀÌÅÍ Å×À̺íÀÇ ÆÄÀÏ¿¡ AUTOEXTEND.
- Increase the size of the existing datafile by using the following SQL command: ´ÙÀ½ SQL ¸í·ÉÀ» »ç¿ëÇÏ¿© ±âÁ¸ÀÇ datafileÀÇ Å©±â¸¦ ´Ã¸®½Ê½Ã¿À :
ALTER DATABASE DATAFILE <datafile_name> RESIZE newsize; ÇØ»óµµ NewSize DATAFILE <datafile_name> ALTER DATABASE ¹®ÀÇ;
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 ORA - 25153 Àӽà Å×ÀÌºí ¿À¶óŬ¿¡ ºó ¿À·ùÀÔ´Ï´Ù
- Oracle ORA-14074 Create or Add New Partition Fails Error ¿À¶ó - 14074¸¦ ÀÛ¼ºÇϰųª »õ ÆÄƼ¼ÇÀ» Ãß°¡ ¿À¶óŬ ¿À·ù ½ÇÆÐ
- Create, Add or Split Oracle Database Partition Fails with ORA-14080 Error , ¶Ç´Â ¿À¶óŬ µ¥ÀÌÅͺ£À̽º ÆÄƼ¼Ç ºÐÇÒ Ãß°¡ ¸¸µé±â ORA - 14080 ¿À·ù¿Í ÇÔ²² ½ÇÆÐ
- How to Remove and Drop Datafiles from Tablespace in Oracle Database ¾î¶»°Ô ³»·Á Datafiles Á¦°ÅÇÏ°í ¿À¶óŬ µ¥ÀÌÅͺ£À̽º Å×ÀÌºí¿¡¼
- How to Rename or Move Oracle Tablespace Datafile to Another Location ¾î¶»°Ô À̸§À» ¹Ù²Ù°Å³ª ´Ù¸¥ À§Ä¡·Î À̵¿ Oracle Å×À̺í Datafile
- How Drop Tablespace and Recover Oracle Database When Accidentally Delete Datafile Å×ÀÌºí ¹× Oracle µ¥ÀÌÅͺ£À̽º¸¦ º¹±¸ÇÏ´Â ¹æ¹ý ¶§ µå·Ó ½Ç¼ö·Î »èÁ¦ Datafile
- IMP-00013 Oracle Import Error IMP - 00013 ¿À¶óŬ °¡Á®¿À±â ¿À·ù
- Oracle PL/SQL ORA-00947 Not Enough Values Error ¿À¶óŬÀº PL / SQL ¿À¶ó - 00947 ÃæºÐÇÏÁö ¾ÊÀº °ª ¿À·ù
- Oracle EXP-00091 Error When Export Database ¿À¶óŬ ÀÖµµ·Ï EXP - 00091 ¿À·ù°¡ ¹ß»ýÇßÀ» ¶§ µ¥ÀÌÅͺ£À̽º ³»º¸³»±â
- ORA-02449 Oracle Drop Table Error ¿À¶ó - 02449 ¿À¶óŬ µå·Ó Å×ÀÌºí ¿À·ù
































