I am having the query with database.
In my case each user will have daily 5 records to save in a table. So in 10 days, their will be 50 records for one user.. I have 50000 users the count of record goes to 50000*5=250000 records per day. If I want to retrieve a particular record for a particular day for a particular user, I have to traverse through these many records.Is it a right practice? If not, What is the solution for this?