MVSFORUMS.com Forum Index MVSFORUMS.com
A Community of and for MVS Professionals
 
 FAQFAQ   SearchSearch   Quick Manuals   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Realtime Stats Anomoly - DB2 z/OS

 
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> Database
View previous topic :: View next topic  
Author Message
grimpeur
Beginner


Joined: 10 Jul 2006
Posts: 16
Topics: 5

PostPosted: Wed Jan 09, 2008 6:54 am    Post subject: Realtime Stats Anomoly - DB2 z/OS Reply with quote

We have a partitioned tablespace in DB2 z/OS v8 CM.
One particular partition is showing incorrect information in the EXTENTS field in SYSIBM.TABLESPACESTATS
A Re-Org was run on the partition so that a compression dictionary would be built, which was successful and we can see from the VSAM dataset that the physical number of extents has reduced somewhat as a result of the compression. Still, the value in realtime stats has not updated.

Any idea why this might be? I would have thought the re-org would have updated the extents value. Image Copy and normal Runstats have also run since the reorg. I don't know if it's significant, but SYSIBM.TABLESPACESTATS indicates that the partition has never been load/replaced (it is updated with SQL inserts etc).

Migration from DB2 v7 to v8 CM was after the reorg.

I've tried google/ibm sites but can't find detailed enough info regarding how realtime stats works.

Thanks.
Back to top
View user's profile Send private message
grimpeur
Beginner


Joined: 10 Jul 2006
Posts: 16
Topics: 5

PostPosted: Wed Jan 09, 2008 6:55 am    Post subject: Reply with quote

Just to add, it is possible that there has been no insert/update activity since the reorg
Back to top
View user's profile Send private message
videlord
Beginner


Joined: 09 Dec 2004
Posts: 147
Topics: 19

PostPosted: Wed Jan 09, 2008 9:56 am    Post subject: Reply with quote

is the RTS started in your DB2?
check the RTS database status.
Back to top
View user's profile Send private message
grimpeur
Beginner


Joined: 10 Jul 2006
Posts: 16
Topics: 5

PostPosted: Wed Jan 09, 2008 10:02 am    Post subject: Reply with quote

Yes, RTS is working for other fields and other tablespaces - it is just this particular TS (in fact this a a few related ones) that have incorrect extents recorded.
Back to top
View user's profile Send private message
videlord
Beginner


Joined: 09 Dec 2004
Posts: 147
Topics: 19

PostPosted: Wed Jan 09, 2008 10:06 am    Post subject: Reply with quote

is this row updated or not? e.g. the REORG timestamp, the totalrows?
All are wrong or only column extents?
Back to top
View user's profile Send private message
grimpeur
Beginner


Joined: 10 Jul 2006
Posts: 16
Topics: 5

PostPosted: Wed Jan 09, 2008 10:43 am    Post subject: Reply with quote

Yes the row has been updated as indicated by UPDATESTATSTIME. Reorg, Copy and Stats timestamps, and Total Rows are also all up-to-date.
Back to top
View user's profile Send private message
videlord
Beginner


Joined: 09 Dec 2004
Posts: 147
Topics: 19

PostPosted: Wed Jan 09, 2008 9:50 pm    Post subject: Reply with quote

The extents should be the actual extents of the linear vsam data sets. (if multiple data sets for non-partitioned tablespace, it will use the extents of the last data sets)

if you make sure the the extents in RTS table is wrong, contact your IBM support, open PMR

P.S., if you want to reduce the extents, alter tablespace PRIQTY before REORG
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> Database All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


MVSFORUMS
Powered by phpBB © 2001, 2005 phpBB Group