ora-600[6033] error¿¡ °üÇÏ¿©
ÀÛ¼ºÀÚ °ü¸®ÀÚ ÀÛ¼º½Ã°£ 2008-01-10 13:30:59
 

ora-600[6033] error¿¡ °üÇÏ¿© 


Çѱ¹ Oracle ÀÚ·áÀÔ´Ï´Ù.

ora-600[6033] error´Â index scan½Ã null pointer°¡ returnµÇ¾î ³ª´Â error message·Î
( memory ) bufferÀÇ °ª°ú (disk) blockÀÇ °ªÀÌ mitmatchµÇ¾î ¹ß»ýµÈ´Ù.
ÀÌ¿¡ ´ëÇÑ Á¶Ä¡·Î´Â error°¡ ¹ß»ýÇÑ sql statement¿¡¼­ÀÇ tableÀ» ¸ÕÀú analyzeÇÏ°í
tableÀÇ index°ü·Ã error°¡ ³­´Ù¸é À̸¦ rebuildÇØ¾ß Çϸç
º¸´Ù Á¤È®È÷ ÇÏ·Á¸é table¿¡ ÀÖ´Â ¸ðµç index¿¡ ´ëÇؼ­µµ analyzeÇؼ­ ¹®Á¦°¡ ÀÖ´Ù¸é
drop/createÀÛ¾÷À» ÇØÁÖ¾î¾ß ÇÑ´Ù.

race file¿¡ º¸¸é SOUT03MT table¿¡ ´ëÇÑ query½Ã ora-600[6033] error°¡
¹ß»ýÇߴµ¥
ÀÏ´Ü ÀÌ tableÀÇ index list´Â ´ÙÀ½°ú °°ÀÌ ÇÏ¿© È®ÀÎÇÕ´Ï´Ù.
sqlplus>select index_name from user_indexes where table_name='SOUT03MT';
¶ÇÇÑ whereÀý¿¡ AW_DTE, CNT,SETUP_KIND,PRGS_STAT, WORK_NO °ú °°Àº columnÀÇ
Á¶°ÇÀ»
»ç¿ëÇϼ̴µ¥ ÀÌ°ÍÁßÀ̳ª Á¶ÇÕÀ¸·Î ¸¸µé¾îÁø index°¡ ÀÖ´Ù¸é Á¶»çÇÏ½Ã°í ´Ù½Ã
¸¸µé¾î Áֽñâ
¹Ù¶ø´Ï´Ù.

´ÙÀ½ÀÇ ÀڷḦ Âü°í Çϼż­ analyzeÀÛ¾÷À» ÇØ Áֽñ⠹ٶø´Ï´Ù.
** analyze table tname validate structure ¸í·ÉÀÌ ¼öÇàÇÏ´Â ÀÛ¾÷.
 
  analyze { index/table/cluster } (schema.){ index/table/cluster }
  validate structure (cascade) (into schema.table);

  index/table/clusterÀÇ ±¸Á¶¿¡ ´ëÇÑ integrity check¿¡ »ç¿ëµÈ´Ù.
  oracleÀÌ ¼º°øÀûÀ¸·Î structure¿¡ ´ëÇÑ °ËÁõÀ» ¸¶Ä¡°Ô µÇ¸é ¾Æ¹«·±
  message¸¦ ³²±âÁö ¾ÊÁö¸¸, corruptionÀ» ¹ß°ßÇÏ°Ô µÇ´Â °æ¿ì¿¡´Â
  error message¸¦ ³»ÁÖ°Ô µÇ¸ç, ÀÌ °æ¿ì ÇØ´ç object¸¦ dropÈÄ
  recreateÇÏ´Â ÀÛ¾÷ÀÌ ¼öÇàµÇ¾î¾ß ÇÑ´Ù.

  object¿¡ ´ëÇÏ¿© validate structure ÀÛ¾÷À» ÁøÇàÁß¿¡´Â ÇØ´ç object¿¡
  ´ëÇÑ select, insert, update, delete ÀÛ¾÷À» ¼öÇàÇÒ ¼ö ¾øÀ¸¹Ç·Î,
  ÇØ´ç object¿¡ ´ëÇÏ¿© ºó¹øÇÑ access°¡ ¹ß»ýÇÏ´Â °æ¿ì¿¡´Â ¼öÇàÇÏÁö
  ¸»¾Æ¾ß ÇÑ´Ù.
 

  Indexes

analyze index index_name validate structure;

validate structure¸¦ ¼öÇà½Ã indexÀÇ °¢ block¿¡ ´ëÇÏ¿© corrput
¿©ºÎ¸¦ checkÇÏ°Ô µÈ´Ù. ÇÑ°¡Áö ÁÖÀÇÇÏ¿©¾ß ÇÒ »çÇ×Àº, index¿¡ ´ëÇÑ
validate structute ÀÛ¾÷½Ã¿¡´Â table°ú index°£ÀÇ cross-referencing
check¸¦ ¼öÇàÇÏÁö ¾ÊÀ¸¸ç, table¿¡ ´ëÇÑ validation check½Ã¿¡¸¸
cross-referencing check°¡ ¼öÇà °¡´ÉÇÏ´Ù.
validate structure ÀÛ¾÷ÀÌ ¼öÇàµÇ¸é, index¿¡ ´ëÇÑ Åë°èÁ¤º¸°¡
¼öÁýµÇ¸ç ÀÌ´Â INDEX_STATS¶ó´Â dictionary view¿¡ ÀúÀåµÇ´Âµ¥,
INDEX_STATS view´Â Ç×»ó ÇϳªÀÇ row¸¸À» À¯ÁöÇÑ´Ù.
ÀÌÀü¿¡ ¼öÁýµÈ Á¤º¸´Â »õ·Î¿î Á¤º¸°¡ ¹ß»ý½Ã overwriteµÈ´Ù.
INDEX_STATS view¿¡ »ý¼ºµÈ Á¤º¸´Â oracle7 optimizer¿¡ ÀÇÇØ
»ç¿ëµÇÁö ¾ÊÀ¸¸ç, compute / estimate optionÀ¸·Î ¼öÁýµÈ Á¤º¸¸¸ÀÌ
optimizer¿¡ ÀÇÇØ »ç¿ëµÈ´Ù´Â Á¡À» À¯ÀÇÇÏ¿©¾ß ÇÑ´Ù.

<< INDEX_STATS View ÀÚ·áÀÇ È°¿ëÀº Bulletin 11328À» ÂüÁ¶ >>


  Tables

analyze table table_name validate structure cascade;

validate structure¸¦ ¼öÇà½Ã data block°ú row¿¡ ´ëÇÑ integrity
check¸¦ ¼öÇàÇϸç, CASCADE optionÀ» »ç¿ëÇÏ´Â °æ¿ì table°ú index
°£ÀÇ cross-referencing check¸¦ ¼öÇàÇÏ°Ô µÈ´Ù.

cross-referencing check¿¡¼­´Â tableÀÇ indexed columnÀÇ °ª°ú
index entryÀÇ °ªÀÌ ºñ±³µÇ¸ç, Á¤È®ÇÑ rowid¸¦ °¡Áö°í ÀÖ´ÂÁö
checkÇÑ´Ù.


¸ñ·Ï | ÀÔ·Â | ¼öÁ¤ | ´äº¯ | »èÁ¦