Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Profile Log in to check your private messages Log in
 
how to see when the last read access to a table was?

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> DB2
View previous topic :: :: View next topic  
Author Message
Mike 1304

New User


Joined: 15 Oct 2011
Posts: 46
Location: Germany

PostPosted: Tue Sep 12, 2017 7:52 pm    Post subject: how to see when the last read access to a table was?
Reply with quote

Hi,

I want to make housekeeping.
I have some old tables with configuration data of some applications.
The tables are not changed the last 10 years.
But I do not know, if anyone still reads this tables.
The tables are in production and could be useed by some important applications. So try and error (rename) is a risky way.

And: I think reading SMF records of the last 10 years is not a solution.

How can I check when the last read access take place?

Mike
Back to top
View user's profile Send private message

Rohit Umarjikar

Senior Member


Joined: 21 Sep 2010
Posts: 2016
Location: NY,USA

PostPosted: Wed Sep 13, 2017 8:57 am    Post subject:
Reply with quote

Ttry,
1.LASTUSED col in SYSIBM.SYSINDEXESTATS
2.CRUD SQL
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> DB2 All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts How to find if segment is read in any... Priyanka AR IMS DB/DC 7 Thu Sep 20, 2018 1:34 pm
No new posts Facing Issue in Table Reorg satish.ms10 DB2 1 Tue Aug 07, 2018 2:44 am
No new posts how can I access zEDC shared disk fro... hossy Mainframe Interview Questions 3 Sat Jul 28, 2018 10:14 am
No new posts SQL IN predicate using COBOL table jerryte DB2 16 Fri Jun 29, 2018 10:30 pm
No new posts RACF- How to find the Last access of ... rahul shanmuganatan All Other Mainframe Topics 7 Thu Jun 21, 2018 3:19 pm

Facebook
Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us