Hi Dieter:
As you've said, you can use dbms_space
for this job.
This package tells you how many blocks has the object and
where's the HWM. And if you use the dbms_space.free_blocks() procedure, it will
also report how many blocks below the HWM are in the freelists.
You can also use this query to
know how many blocks hold at least one row:
(ORACLE 7) SELECT COUNT(DISTINCT
SUBSTR(rowid,15,4)||SUBSTR(rowid,1,8)) FROM TABLE.
You can easily change it to work in
Oracle 8 too by using the dbms_rowid package.
HTH
Greetings
Diego Cutrone
|
Title: Dieter Oberkofler Stationery
- used segment space in bytes Oberkofler, Dieter
- RE: used segment space in bytes Khedr, Waleed
- RE: used segment space in bytes Diego Cutrone
- RE: used segment space in bytes Deepak Thapliyal
- RE: used segment space in bytes Diego Cutrone
- RE: used segment space in bytes Deepak Thapliyal