Hi All,
Is there any way to find the follwoing two points.
1. How to know a table is how much fragmented.?
2. How to know, how much space we can claim from the table which is fragmented?
Printable View
Hi All,
Is there any way to find the follwoing two points.
1. How to know a table is how much fragmented.?
2. How to know, how much space we can claim from the table which is fragmented?
are you using 9i or 10g above? also are you using DMTS or LMTS?
Thanks,
It is Oracle 10g and DMTS.
You should be using locally managed tablespaces in 10g. There is no justification whatsoever for using DMT. With LMT, fragmentation went the way of dinosaurs.
1- Yes.
2- Provided you have up-to-date performance statistics dba_tables tells you: a) how many rows you have in your table, b) average row lenght and, c) how much overhead you have set for the table; these pieces of information allow you to tell what's your "ideal" space utilization. On the other hand dba_extents allows you to check how much space is the table actually allocating. Difference between actual nad ideal space utilization is the space you are wasting e.g. space allocated but not used to store actual data.