Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8323549
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 8, 20262026-06-08T23:45:02+00:00 2026-06-08T23:45:02+00:00

I have a java application. My application has ‘n’ number of users with 3

  • 0

I have a java application. My application has ‘n’ number of users with 3 type of roles (r1, r2 and r3). I need user’s daily usage report. In other words, I need to find user count (by role) who are using my application daily.

I need user count in daily basis as,
users of role1 – 456,
users of role2 – 3463 etc..

How can I do this. I am planning to store users login date in a separate table. So that I can get the users count easily by date. But storage space required for these data in database may be too high.

Can anyone suggest me whether the above process is an efficient way or is there any predefined (opensource or paid) tools to track user counts (by role) and activities. Or is there any other efficient way?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-08T23:45:03+00:00Added an answer on June 8, 2026 at 11:45 pm

    Your idea is good. If all that you need is user logged-in count that’s good. I think that keeping logs when user logged-in is good. I understand that you don’t need to track activities. You can keep data in a table with user login, sign-in date etc. If data gets too large use non-relatonal database like MongoDB or aggregate data for last month/year etc. I mean to create aggregated rows like (day:2012-08-02, role:Role1, count:123),(day:2012-08-02, role:role2, count:453) etc. Just keep counts of role for each day and delete ‘raw’ data.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a Java Application which has to load an DLL with a few
I have a JSP java application that has a name AAA-master so currently my
I have built a Java application that has some dependencies (~10). I would like
So I have a strange problem, I have a java swing application that has
I have an application which resides in ROOT. This application has a java class(in
I have developed a java swing client-server application. The server has many services like
I have web application written in java using Eclipse. It has just one servlet
I have a WorldWind application build based on the Java SDK. It has a
I have a java application which has a GUI in both English and French,
I have a java application which has a tray icon in the top menu

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.