Quote:
Originally Posted by mtishetsky
Until you get 10M select requests daily.
|
Generally, yes, but it depends what kind of selects, or, more precisely, what's being selected. If you have an application with many users, that's constantly hitting the database to populate combo boxes, highly normalized schemas will give the best performance. If it's mostly* management reports, denormalized is best from a perf standpoint.
The best way to measure "mostly" is the total amount of time for SQL commands to execute. Counting the number of executions is meaningless, and resource utilization is tricky ( logical vs physical, etc), but as long as you don't have an overwhelming problem with locks, duration is the best overall measure, and time is the real cost the organization pays.
OLTP tends to do best when normalized, and OLAP tends to benefit somewhat from denormilization.
|