Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

How to get the user activity on a database for a long period?

Posted on 2004-09-22
7
Medium Priority
?
865 Views
Last Modified: 2013-12-18
is there any way to get the user activity on a database for a period of say 6 or 7 months  along with the username and the time of access ? i believe the useractivity tab on the database properties cannot hold the details pertaining to a period of 6 months... is there any other log file or something where this detail would be available? or is there any way to gather this information?

thanx in advance

@nu
0
Comment
Question by:anu_sha
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
7 Comments
 
LVL 19

Expert Comment

by:madheeswar
ID: 12130542
u can look at log.nsf

It holds all the info
0
 
LVL 13

Expert Comment

by:CRAK
ID: 12130738
Log.nsf is usually set to delete docs after a few days (7 or 10).
You may need to alter some settings to monitor over 6 or 7 months, or e.g. create a (local?) replica: replicate only FROM the server (not "to") and do not replicate deletions.

This is for notes, right? Not for web access?
0
 
LVL 15

Expert Comment

by:Bozzie4
ID: 12131816
Actually, on R6, you don't need to augment the log retention time to get activity data, if you enable activitly logging, so is it R6 or R5 ?

cheers,

Tom
0
What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

 

Author Comment

by:anu_sha
ID: 12131824
It is R5... and does the user activity get logged automatically or should any setting be explicitly enabled?

cheers
@nu
0
 
LVL 15

Accepted Solution

by:
Bozzie4 earned 70 total points
ID: 12132804
On R5, depending on what you want, you don't need to increase the retention time either.

Check the views Database/Usage Activity documents.  They do contain number of uses per database, but not who did what.  If you want that information, it is stored in the database (File/Database/Properties/'I' - User Detail)

To have that information in the log.nsf, you'll need to increase the log retention time:  it's done in Notes.ini :
Log=LOG.nsf,1,0,31,40000

for instance, for 31 days, and documents that are 40000 bytes (I think) big.

cheers,

Tom
0
 
LVL 15

Expert Comment

by:Bozzie4
ID: 12132818
And yes, the 40000 in the above example means size of the log document (for Miscellaneous for example) in bytes (appr.)

Tom
0
 
LVL 31

Expert Comment

by:qwaletee
ID: 12132963
The user activity log can hold years and years of data -- or only one day worth.  It isn't limited by the number of entries.  It just holds a maximum, I think, of 64k worth of log data.  So, if the database has frequent usage, you will get limited info.  If the database has infrequent usage, you could get that far back.

On ething you could do if it only holds a month or two of data is to gather the info weekly, and do a marge of the new and old adat (because there will have to be overlap -- if there isn't overlap, that means you are losing data).
0

Featured Post

Enroll in October's Free Course of the Month

Do you work with and analyze data? Enroll in October's Course of the Month for 7+ hours of SQL training, allowing you to quickly and efficiently store or retrieve data. It's free for Premium Members, Team Accounts, and Qualified Experts!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This is an old article, please see an updated version of this article, located here: http://www.experts-exchange.com/articles/23619/Notes-8-5x-Windows-7-Notes-info-and-tips.html
Sometimes clients can lose connectivity with the Lotus Notes Domino Server, but there's not always an obvious answer as to why it happens.   Read this article to follow one of the first experiences I had with Lotus Notes on a client's machine, my…
In this video, Percona Solutions Engineer Barrett Chambers discusses some of the basic syntax differences between MySQL and MongoDB. To learn more check out our webinar on MongoDB administration for MySQL DBA: https://www.percona.com/resources/we…
Is your data getting by on basic protection measures? In today’s climate of debilitating malware and ransomware—like WannaCry—that may not be enough. You need to establish more than basics, like a recovery plan that protects both data and endpoints.…
Suggested Courses

596 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question