I have already seen several forums with this question, but they do not answer the one thing I want to know. First I will explain my topic:
I have a system in which each log of several users is entered into the database (for example, User1 logged in, User2 logged in, User1 entered User management, User2 changed the password, etc.). Therefore, I would expect from 100 to 200 entries per user per day. Right now, I am doing this in one table and for viewing, I just need to filter using UserID.
My question is which is more efficient? Should I use one table or create a table for each user?
I am worried that if I use a single table, the system may have difficulty filtering thousands of records. I read some pros and cons using multiple tables and one table, especially regarding updating tables.
I also want to know which one saves more space? multiple tables or individual tables?
source
share