Answer the question
In order to leave comments, you need to log in
Many columns or many tables?
There is a table:
Users (users):
id,
login,
password,
role,
name,
info,
icq,
phone,
time_join,
last_activity,
post_count,
comments_count,
good_comments_count,
good_posts_count
..
And many more
Or we break it down into:
users, contacts, stats .
Does it make sense to break?
As far as I know the number of columns does not affect the speed. And here's the extra. JOIN will have an effect.
Beauty, normalization and so on do not excite me. Only in terms of speed.
Answer the question
In order to leave comments, you need to log in
I think this is the best option:
Or we break it down into:
users, contacts, stats.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question