Quantcast
Channel: SCN: Message List
Viewing all articles
Browse latest Browse all 9063

Re: reorg'ed table, no change in wasted space

$
0
0

Hi Willem,

 

The problem might be that the script you are using is not providing accurate information on space usage.

You should use functions likes DBMS_SPACE.SPACE_USAGE (910389 - FAQ: Oracle Segment Shrinking) or DBMS_SPACE.OBJECT_SPACE_USAGE_TBF.

 

Did you at least update statistics after reorganizing the table ?

 

The lob data when it is too small will stay within the segment (inline lob)

http://docs.oracle.com/cd/B28359_01/appdev.111/b28393/adlob_tables.htm

For inline LOBs, the database will store LOBs that are less than approximately 4000 bytes of data in the table column.

 

Here are the space gain I get after reorganizing  EDI40 after some archiving & deletion was performed.

 

Table

Table Size

Table Free

Index Size

Index Free

Lob Size

Lob Free

EDI40 – before

10 240

1 067.9

528

3.1

.2

.1

EDI40 – after

1 723

65

88

2

.2

.1

 

Watch out in your second script you select bytes from the LOB and labelled it Gigs

=> just forget to divide by 1048576

 

 

Regards


Viewing all articles
Browse latest Browse all 9063

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>