DBAsupport.com Forums - Powered by vBulletin
Results 1 to 10 of 23

Thread: remove duplicates data from a table

Threaded View

  1. #11
    Join Date
    May 2000
    Location
    ATLANTA, GA, USA
    Posts
    3,135
    PHP Code:
    10:23:13 SQLget stat_info
      1  select a
    .nameb.value from v$statname av$mystat b
      2  where a
    .statistic# = b.statistic# and
      
    3*       lower(a.namelike '%redo size%' 
    10:23:28 SQL> /

    NAME                VALUE     
    ------------------------------     
    redo size           5541584     

    1 row selected
    .

    10:23:53 SQLdrop table t1 ;

    Table dropped.

    Now I create a table in LOGGING MODE.

    10:23:59 SQLcreate table t1 as select from dba_objects ;

    Table created.

    10:24:04 SQLget stat_info
      1  select a
    .nameb.value from v$statname av$mystat b
      2  where a
    .statistic# = b.statistic# and
      
    3*       lower(a.namelike '%redo size%' 
    10:24:08 SQL> /

    NAME                VALUE     
    ------------------------------     
    redo size           8280104     

    1 row selected
    .

    Oracle generated (8280104 5541584)= 2,738,520 bytes of redo

    10:24:09 SQLdrop table t1 ;

    Table dropped.

    10:24:15 SQLget stat_info
      1  select a
    .nameb.value from v$statname av$mystat b
      2  where a
    .statistic# = b.statistic# and
      
    3*       lower(a.namelike '%redo size%' 
    10:24:23 SQL> /

    NAME                VALUE     
    ------------------------------     
    redo size           8300836     

    1 row selected
    .

    10:24:24 SQLcreate table t1 nologging as select from dba_objects ;

    Table created.

    10:24:43 SQLget stat_info
      1  select a
    .nameb.value from v$statname av$mystat b
      2  where a
    .statistic# = b.statistic# and
      
    3*       lower(a.namelike '%redo size%' 
    10:24:47 SQL> /

    NAME                VALUE     
    ------------------------------     
    redo size           8341560     

    1 row selected
    .

    In NOLOGGING the redo size is reduced to (8341560 8300836 ) = 40,724 bytes.

    As 
    Slimdave saideven in NOLOGGING modeoracle generates minimum redo
    Tamil
    Last edited by tamilselvan; 02-10-2005 at 12:31 PM.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  


Click Here to Expand Forum to Full Width