They are not LOST. When was the last time u ran REORG on the tables
in this tablespace ?
U might need to re-claim the space using REORG
cheers...
Shashi Mannepalli
> Hello, all.
>
[quoted text clipped - 23 lines]
> --
> Konstantin Andreev.
> They are not LOST. When was the last time u ran REORG on the tables in this tablespace ?
Never, yesterday, a month ago... it does not matter. You are looking in wrong place.
> U might need to re-claim the space using REORG
REORG <table> reclaims pages excessively allocated for this <table> (fpages - npages). REORG has nothing to do with pages, used in tablespace, but *NOT* allocated by any table. For sure, I have run REORG and RUNSTAT for each table in tablespace, but got just another number of LOST pages:
---------------
db2 => list tablespaces show detail
...
Tablespace ID = 22
Used pages = 268480
---------------
db2 => select sum(fpages) from syscat.tables where tbspaceid=22
1
-----------
270105
LOST: (270105 - 268480) = 11847 pages.
Cheers,
Konstantin Andreev.
>> Let the tablespace SY810T4K is almost full:
>> ---------------
[quoted text clipped - 17 lines]
>>
>> "Used pages" - "Allocated pages" = 268480 - 256679 = 11801 LOST (?) pages.