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

Posted on 2004-09-22
Medium Priority
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

Question by:anu_sha
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
LVL 19

Expert Comment

ID: 12130542
u can look at log.nsf

It holds all the info
LVL 13

Expert Comment

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?
LVL 15

Expert Comment

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 ?



Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.


Author Comment

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

LVL 15

Accepted Solution

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 :

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


LVL 15

Expert Comment

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

LVL 31

Expert Comment

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).

Featured Post

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

I thought it will be a good idea to make a post as it will help in case someone else faces these issues. I trust this gives an idea how each entry in Notes.ini can mean a lot for the Domino Server to be functioning properly. This article discusses t…
IBM Notes offer Encryption feature using which the user can secure its NSF emails or entire database easily. In this section we will discuss about the process to Encrypt Incoming and Outgoing Mails in depth.
In this video, Percona Director of Solution Engineering Jon Tobin discusses the function and features of Percona Server for MongoDB. How Percona can help Percona can help you determine if Percona Server for MongoDB is the right solution for …
In this video, Percona Solution Engineer Rick Golba discuss how (and why) you implement high availability in a database environment. To discuss how Percona Consulting can help with your design and architecture needs for your database and infrastr…

762 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