Oracle ORA-14074´Â »õ·Î¿î ºÐÇÒ ½ÇÆÐ °ú½ÇÀ» âÁ¶Çϰųª Ãß°¡ÇÑ´Ù

Oracle µ¥ÀÌŸº£À̽º ºÐÇÒÀº ¸í·áÇϰí, ´õ ÀÛÀºÀ¸·Î ³í¸® µ¥ÀÌŸº£À̽ºÀÇ ºÎºÐ ¶Ç´Â ºÐÇØ ¹× ¶Ç´Â ±×°ÍÀÇ Ã¢¼³ ¼ººÐ (»öÀÎ ¶Ç´Â ó¸® ±â·Ï), ´õ ´Ù·ç±â ½¬¿î µ¶¸³ÀûÀÎ ºÎ¼Ó ¶Ç´Â Á¶°¢ÀÌ´Ù. µ¥ÀÌŸº£À̽º ºÐÇÒÀº ´Ù·® ¿ª»ç ÀڷḦ ÀúÀåÇÏ°í ºÐ¼®ÇÏ´Â ÀÚ·á â°í ½Åû¿¡¼­ ¾ÆÁÖ Å« Å×ÀÌºí ±×¸®°í »öÀÎÀ», ƯÈ÷ Áö¿øÇؼ­ Á÷¸éµÈ ¹®Á¦¿¡ ÇØ°áÃ¥À» Á¦°øÇÑ´Ù. ºÐÇÒÇϰųª Å×À̺íÀÌ ³ª´©´Â »óÅ¿¡¼­, SQL °è»ê¼­´Â ºÐÇÒ º¸´Ù´Â ¿ÀÈ÷·Á Àüü Å×ÀÌºí ¶Ç´Â »öÀο¡ Á¢±ÙÇÏ°í ±³¹¦È÷ ´Ù·ê ¼ö ÀÖ°í, ÀÌ·¸°Ô Oracle µ¥ÀÌŸº£À̽ºÀÇ ´Ù·ç±â ½¬¿ò, ¼º°ú ¶Ç´Â °¡¿ë¼ºÀ» Áõ°¡ÇÑ´Ù.

Oracle ¼­¹ö ¶Ç´Â Oracle ±â¾÷ ÆÇ¿¡¼­´Â, ´ç½ÅÀÌ ¸í·ÉÀ» »ç¿ëÇØ¼­ ±¸ºÐ Å×ÀÌºí¿¡ Ãß°¡ÀûÀÎ »õ·Î¿î ºÐÇÒÀ» Ãß°¡Çϰñ ½ÍÀ» ¶§ Å×À̺í tablename¸¦ <¹Ù²Ù½Ê½Ã¿À> ºÐÇÒÀ» Ãß°¡ÇϽʽÿÀ, °úÁ¤Àº ½ÇÆÐÇϰí SQL*Plus´Â µÚ¿¡ ¿À´Â °ú½ÇÀ» µ¹·Áº¸³¾ °ÍÀÌ´Ù:

ORA-14074: ºÐÇÒ °æ°è´Â ¸¶Áö¸· ºÐÇÒÀÇ Àú°Í º¸´Ù´Â ³ôÀÌ ´ëÁ¶ÇØ¾ß ÇÑ´Ù

ÀÌ °ú½Ç ÁõÈÄ´Â ÀϹÝÀûÀ¸·Î ÇàÁ¤°üÀÌ 2°³ÀÇ ºÐÇÒ »çÀÌ ±¸ºÐ Å×ÀÌºí¿¡ »õ·Î¿î ºÐÇÒÀ» Ãß°¡Çϰųª âÁ¶ÇÒ °ÍÀ» ½ÃµµÇÒ ¶§ ÀϾ´Ù, ¶Ç´Â °¡Àå ³ôÀº ºÐÇÒ¿¡ ºÐÇÒ °æ°è°¡ MAXVALUE (ÀÎ °æ¿ì¿¡ »õ·Î¿î ºÐÇÒÀº óÀ½ºÎÅÍ ¶Ç´Â Å×À̺íÀÇ ÇѰ¡¿îµ¥¿¡ ºÐÇÒ ¿­¼è¿¡ MAXVALUE·Î Á¤ÀÇµÈ °¡Àå ³ôÀº ºÐÇÒ·Î, ¶Ç´Â ¿ø·¡ ºÐÇÒ Ã¢Á¶µÇ¾ú´Ù ÀÖ´Ù).

°ú½ÇÀ» À§ÇÑ °¡Àå ±×·²µíÇÑ ÀÌ·ÐÀº MAXVALUE »ó°è ºÐÇÒÀÌ´Ù. ´ç½ÅÀº SQL*Plus ¶Ç´Â µÎ²¨ºñ¿¡ ÀÖ´Â µÚ¿¡ ¿À´Â ¸í·ÉÀ» »ç¿ëÇØ¼­ Å×À̺íÀ» À§ÇØ Á¤ÀÇµÈ ºÐÇÒ¿¡¼­ °í°¡¿Í °°ÀÌ Á¸ÀçÇϸé ÀÖ´ÂÁö °Ë»çÇÒ ¼ö ÀÖ´Ù:

dba_tab_partitions¿¡¼­ high_value¸¦ table_name = `table_name' ¼±Á¤ÇϽʽÿÀ;

´ç½ÅÀº ¹«¾ð°¡¸¦ °°ÀÌ º¸¾Æ¾ß ÇÑ´Ù:

HIGH_VALUE
- - - - - - - - - - - - - - - - - - - - - - - - - - -
10
20
30
MAXVALUE

À§ ´ëº» ÀüºÎ¿¡¼­´Â, Oracle´Â Ãß°¡ÇÑ´Ù ºÐÇÒ SQL °è»ê¼­¸¦ »ç¿ëÇØ¼­ »õ·Î¿î ºÐÇÒÀ» âÁ¶ÇÏ´Â °ÍÀ» Çã¿ëÇÏÁö ¾Ê´Â´Ù. ÀÌ ¸î¸î °æ¿ìÀÇ »õ·Î¿î ºÐÇÒÀ» Ãß°¡ÇÏ´Â °ÍÀº ºÐÇÒÀÇ ±Õ¿­·Î¼­¸¸ Âɰ³Áö´Â ºÐÇÒÀÇ SQL ¸í·ÉÀ» »ç¿ëÇØ¼­ ÇàÇØÁú ¼ö ÀÖ´Ù.

ORA-14074 °ú½Ç¿¡ ÀÌ·¸°Ô workaround ¶Ç´Â ÇØ°áÃ¥Àº µÚ¿¡ ¿À´Â SQL ÀÌ¹Ì ±¸ºÐ Å×ÀÌºí¿¡ »õ·Î¿î ºÐÇÒÀ» Ãß°¡Çϰųª âÁ¶Çϱâ À§ÇÏ¿© ¸ñÇ¥¸¦ ´Þ¼ºÇϵµ·Ï Åë¾î·ÐÀ» ÀÌ¿ëÇØ¼­ ÀÌ´Ù:

Å×À̺í tablename¸¦ <¹Ù²Ù½Ê½Ã¿À> Âɰ³Áö´Â ºÐÇÒ

°¡µæ Â÷ÀÖ´Â Åë¾î·ÐÀº:

Å×À̺í table_name¸¦ <¹Ù²Ù½Ê½Ã¿À> Âɰ³Áö´Â ºÐÇÒ <partition_name> ¿¡ (<°¡Ä¡>)
·Î (ºÐÇÒ <new_partition>, ºÐÇÒ <next_partition (¶Ç´Â ¼±ÀÇ À§ °Í°ú °°ÀÌ partition_name>)
°»½Å ¼¼°èÀûÀÎ »öÀÎ;

ÁÖ: °»½Å ¼¼°èÀûÀÎ »öÀÎÀº ¼±Åà ÀÌ´Ù.

¿¹¸¦ µé¸é:
Å×ÀÌºí ¹ÎÁÖ´ç¿ø Âɰ³Áö´Â ºÐÇÒ pmaxvalue¸¦¿¡ (40)·Î ¹Ù²Ù½Ê½Ã¿À (ºÐÇÒ newpartition, ºÐÇÒ pmaxvalue);

Áß¿äÇÑ: À̰ÍÀº º¸Àå ¾øÀÌ "ÀÖ´Â ±×´ë·Î" Á¦°øµÇ´Â ±â°è ¹ø¿ª ÆäÀÌÁöÀÌ´Ù. ±â°è¹ø¿ªÀº ÀÌÇØÇϱ⠰ï¶õÇÒÁöµµ ¸ð¸¥´Ù. Âü°íÇϽʽÿÀ original English article whenever possible.

Share and contribute or get technical support and help at My Digital Life Forums.



2 Responses to ¡°Oracle ORA-14074 Create or Add New Partition Fails Error¡±

  1. Create, Add or Split Oracle Database Partition Fails with ORA-14080 Error » My Digital Life
    November 8th, 2006 18:44
    1

    [...] Oracle table partitioning is important for optimum performance of the database, as it allows Oracle to process the specific and independat partition or part that is smaller in size, instead of entire full table or database. However, when you want to create a new partition to a table by adding or splitting partition, administrator may encounter errors such as ORA-14074. Other than that, Oracle error ORA-14080 can also happen, if you¡¯re not careful enough with the following symptom: [...]

  2. Raj
    April 7th, 2008 18:44
    2

    we have a partition D20080330 already created abd the maxvalue is D30001231.
    Now we want to split the partition for D20080330.
    ALTER TABLE TABLE_NAME SPLIT PARTITION D30001231
    at (TO_DATE(¡¯20080401¡Ç, ¡®YYYYMMDD¡¯)) INTO (PARTITION D20080331, PARTITION D30001231);
    fails with the error
    ORA-14080: partition cannot be split along the specified high bound.

    What am i missing in the above alter statement, any help would be appreciated

Leave a Reply

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>

Subscribe without commenting


Custom Search

New Articles

Incoming Search Terms for the Article

ORA-14074 - ORA-14074: partition bound must collate higher than that of the last partition - add partition oracle - Oracle Create Partition - alter table split partition - oracle add partition - ORA-14080: partition cannot be split along the specified high bound - alter table add partition oracle - ora 14074 - ORA-14074: - ORA-14074 maxvalue - oracle partition - alter table add partition - oracle error 14074 - add partitions in oracle database - add PARTITION in oracle - PARTITION ORACLE - SPLIT PARTITION Syntax - oracle partition maxvalue - create partition syntax - oracle create new partition - oracle ora-14074 - oracle 14074 - ORACLE ALTER TABLE ADD PARTITION - crear particion+oracle - add partition sql oracle - oracle partition add - how to do partitioning for already created tables in oracle - ALTER TABLE SPLIT - from partition oracle - oracle partition create - adding a partition in Oracle - alter table split partition syntax - oracle sql create partition - global partition:oracle(unusable state) - adding a new partition in a partitioned table +oracle - add partition syntax oracle - chinese alter table - pl sql add partition to table - add partition syntax on oracle database - how to add partion in table in oracle - sql oracle add partition - oracle partition by - partitions in oracle - oracle add partition maxvalue - add partition+oracle - ORA-14074: partition bound must collate higher than that of the last p - make a new partition - oracle dba_tab_partitions error pl/sql - oracle add partition command -