I’ve got the following user data for my site:
1) Hit IP, location
2) Login name, attempt info
3) Download attempt info
Is it better to keep this information in individual files, per day, or in a database?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
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.
Well there is a trade-off.
With files, they are easy to move around, easy to export to other systems and simple to parse.
With a database you have easy searching, reporting, and security.
It is up to you to balance those priorities.