select
object_name(id) tablename,
8*reserved/1024 reserved,
rtrim(8*dpages)+'kb' used,
8*(reserved-dpages)/1024 unused,
8*dpages/1024-rows/1024*minlen/1024 free,rows --,*
from sysindexes
where indid=1
order by reserved desc
tablename reserved used unused free rows
----------------------------------------------------------------------------------------
NBRFYMXK 15312 12624488kb 2983 2523 17050788
NYZZXJHK 9601 5795096kb 3942 1901 25590928
CQYB_ZYFY 5430 3428072kb 2082 1114 9481822
YY_PBZBMX 3824 1845008kb 2023 881 18213024
。。。
|