|
ORA-01632 ERROR Á¶Ä¡ ¹æ¹ý Á¶È¸(8)
Oracle Tip | 2007/02/25 (ÀÏ) 10:36 °ø°¨Çϱâ(0) | ½ºÅ©·¦Çϱâ(0)
ORA-01632 ERROR Á¶Ä¡ ¹æ¹ý
ORA-01632 ¿¡·¯´Â index°¡ È®ÀåÇÏ·Á°í ÇÒ ¶§ maxextents°ªÀÇ Á¦ÇÑ¿¡
µµ´ÞÇÏ¿© ´õ ÀÌ»ó extents¸¦ ÀÏÀ¸Å°Áö ¸øÇÏ´Â °æ¿ìÀÔ´Ï´Ù.
ÀÌ ¿¡·¯ÀÇ °æ¿ì º¸ÅëÀº indexÀÇ storageÀýÀÇ initial, next°¡ À۾Ƽ
¹ß»ýÇϱ⠶§¹®¿¡ ±Ùº»ÀûÀ¸·Î storageÀÇ initial,next¸¦ Å©°Ô Å°¿ö
ÁÖ¸é¼ ´Ù½Ã ¸¸µå´Â °ÍÀÌ ÁÁ½À´Ï´Ù.
±×·¯³ª ÇöÀç ´Ù½Ã »ý¼ºÇÏ´Â °ÍÀÌ ¾î·Æ´Ù¸é ÀÏ´Ü maxextents¸¸ Å°¿ö¼
»ç¿ëÀ» ÇÏ´Ù°¡ ³ªÁß¿¡ ÀÛ¾÷À» ÇÒ ¼öµµ ÀÖ½À´Ï´Ù.
maxextents¸¦ Å°¿ì·Á¸é (ÀÌ ±â´ÉÀº 7.3ÀÌ»óºÎÅÍ °¡´É)
SQL> alter index i_dept_deptno storage (maxextents 200);
°ú °°ÀÌ ½ÇÇàÇÏ¸é µË´Ï´Ù.
À§¿Í °°ÀÌ index°¡ ÀÏ¹Ý index°¡ ¾Æ´Ï¶ó primary key indexÀÎ °æ¿ì´Â
index¸¸ dropÇß´Ù°¡ ´Ù½Ã »ý¼ºÇÒ ¼ö´Â ¾ø½À´Ï´Ù. ±×·¯¹Ç·Î primary key¸¦
´Ù½Ã ¸¸µé¸é¼ ÁöÁ¤Çϰųª index¸¦ rebuildÇØ¾ß ÇÕ´Ï´Ù.
ÀÏ¹Ý indexÀÇ °æ¿ì´Â index¸¦ ´Ù½Ã »ý¼ºÇϰųª rebuildÇÏ¸é µÇ´Â µ¥,
º¸Åë ´Ù½Ã »ý¼ºÇÏ´Â °Íº¸´Ù rebuildÇÏ´Â °ÍÀÌ ¼Óµµ°¡ ÁÁ½À´Ï´Ù.
1. index¸¦ rebuildÇÏ´Â ¹æ¹ý
SQL> alter index pk_dept rebuild
2 tablespace ind_data
3 storage (initial 1M next 1M);
2. primary key»ý¼º½Ã storageÁöÁ¤ÇÏ´Â ¹æ¹ý
SQL> alter table dept drop primary key;
SQL> alter table dept add constraint pk_dept
2 primary key (deptno)
3 using index tablespace ind_data
4 storage (initial 1M next 1M);
|