I'm designing my first database and writing my first PHP project from scratch and I need someone to review database scheme.
Purpose of PHP script: To display traffic statistic for various sites in my network when I publish promotional videos on sites like Youtube, Myspace, Metacafe, Vimeo etc.
How I plan to organize it:
Scenarios that can happen:
EDIT:
I have added table itemStats
EDIT2: I'm not sure if I'm going to need separate itemStats table. I'm thinking to join it with itemMeta?
I would suggest that you combine users and usersMeta into one table. There are only 5 unique, useful fields in usersMeta. You will need to utilize joins in order to get all of that data if you ever need to, it's unnecessary in my opinion. Remember, normalization is the process for removing redundancies and ensuring all tables have the minimum amount of fields...but this comes at a cost. The cost being performance in most cases.
Besides, the users table would only be up to 9 total fields by combining them. That is still what I consider to be a very small table. I've had tables with 20-30 fields before. In my case it made no sense to separate that data out because it was unique to the table and no other table or part of the system would have ever utilized that data anyway.