Answer the question
In order to leave comments, you need to log in
MSSQL database optimization, database structure
good afternoon,
actually a subject - what database structure to choose?
select bio, resume_url, foto_url from User_resume
and select bio, resume_url, foto_url from ONE_BIG_TABLE
? select t1.bio, t1.resume_url, t1.foto_url, t2.login, t2.password, t2.salt from User_resume as t1 inner join User_login on t1.user_id = t2.user_id as t2
select bio, resume_url, foto_url, login, password, salt from ONE_BIG_TABLE
?
Answer the question
In order to leave comments, you need to log in
1.
I don't understand how you plan to win in the second case.
There are more indexes, more internal queries, worse caching, and so on.
If you really think about optimizing giant tables, then there is partitioning.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question