High Water mark±îÁöÀÇ ºí·°¼ö¿Í ¿¬°á Á¤º¸ ¾Ë¾Æº¸±â
ÀÛ¼ºÀÚ °ü¸®ÀÚ ÀÛ¼º½Ã°£ 2003-07-08 19:08:48
 

SQL> analyze table nanu.ownersclub validate structure cascade;

Table analyzed.

Å×ÀÌºí¿¡ ´ëÇØ ¿¬°áµÇ°Å³ª ÀÌÀüµÈ Çà ¼ö¿Í high water mark±îÁöÀÇ ºí·Ï ¼ö, ±×¸®°í high water mark À§ÀÇ ºí·Ï ¼ö¸¦ ¾Ë¾Æ ³»·Á¸é ´ÙÀ½ ÁúÀǹ®À» »ç¿ëÇϽʽÿÀ

SQL> select blocks as HWM,empty_blocks,chain_cnt as "Chained Blocks"
    from dba_tables
    where owner='NANU'
    and table_name='OWNERSCLUB';

      HWM EMPTY_BLOCKS Chained Blocks
---------- ------------ --------------
      797          98            60

ANALYZE ¸í·ÉÀ» »ç¿ëÇؾ߸¸ °»½ÅÇÒ ¼ö ÀÖ´Â Ä÷³µéÀÔ´Ï´Ù


ÇÒ´çµÈ °ø°£ ºÐÆ÷
ÀͽºÅÙÆ® ¼ö, À§Ä¡, ±×¸®°í ±× Å©±â´Â DBA_EXTENTS¸¦ ÁúÀÇÇÏ¿© ¾òÀ» ¼ö ÀÖ½À´Ï´Ù. ¾Æ·¡ÀÇ ¿¹´Â µ¥ÀÌÅͺ£À̽º Å×À̺íÀÌ »ç¿ëÇÑ °¢ ÆÄÀÏÀÇ ÀͽºÅÙÆ®¿Í ÃÑ ºí·ÏÀÇ ¼ö¸¦ º¸¿© ÁÝ´Ï´Ù

SQL> select file_id, count(*) as extents,sum(blocks) as blocks
  2  from dba_extents
  3  where owner='NANU'
  4  and segment_name='OWNERSCLUB'
  5  group by file_id;

  FILE_ID    EXTENTS    BLOCKS
---------- ---------- ----------
        11        22        896


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