I realize that this type of question has been asked several times before but as there are a plethora of different answers I wanted to find out which applied best to my situation.
I am designing an online journal for psychologists. I plan to have one table in the main DB to store all user (psychologists) information and then I'm unsure as to how to deal with the patient data (notes) the users want to enter. Should I:
- Have 1 table within the same DB that stores all users patients and their notes.
- Have a separate table for each user with all their patients together on that table.
- Have a separate DB for each user with a table for each patient in that DB.
In terms of data size I'm assuming about 1000 total users each with 300-400 patients and an average of 100 notes (this is several paragraphs of data, each note is the content of an entire counseling session) per patient.
I saw this question on SO DB design: one large DB for all customers or many small DBs and I just wasn't sure if it also applied to my situation. I also saw various references to using InnoDB with partitions to perhaps have all the patients and notes on one table. If this is recommended could you also include some sources or tutorials as the information I found on this was limited and a bit too complex for me.