Is there a report/view that tells what databases have NOT been accessed in the past x days?
I have been looking at a view in catalog.nsf I created to list them by DBModifiedDate, but I’m thinking the server ‘touches’ databases daily so would that view be accurate? AND that wouldnt account for databases that are simply opened and read.
Ideas?
Subject: How to find databases not accessed in last x number of days?
Hi Ruth,
have a look at the server log - in the usage views. For instance, the view ‘Usage\By database’ is categorized by database name and shows databases that have been replicated, read or edited and when. If you construct a new view based on that, and just include Form = ‘Session’, that will exclude databases that have been replicated. Also, you could filter documents to only include StartTime > x days ago. You could then do an agent that went through all the databases in catalog.nsf, do a lookup to your view in log.nsf and if not found, move the catalog document to a folder.
hth
Tony
Subject: Tony…What is “StartTime” used for?
Subject: RE: Tony…What is “StartTime” used for?
Well, I would guess it’s the time that the user’s session on the server started - when they show on the console as having opened a session. I’m not sure what closes the session - resumably a certain inactivity time-out. But if you use the date component of that field, should give you what you need. Do you need more help following the path I mapped out?
Tony
Subject: RE: Tony…What is “StartTime” used for?
Thanks Tony, No - I added to a view that was there and it’s working great for our needs now.
Subject: How to find databases not accessed in last x number of days?
Have a look in the Admin help for “Activity Trends”. If you enable this then you could use the Activity Trends database - It has a view of databases by server\days inactive.
Subject: RE: How to find databases not accessed in last x number of days?
Great feature to start… but if you havent had this enabled… is there any other way to know what hasnt been accessed? Or do we just wait 90 days from now… ?