In terms of databases, is "Normalize for correctness, denormalize for performance" a right mantra? -


normalization leads many essential , desirable characteristics, including aesthetic pleasure. besides theoretically "correct". in context, denormalization applied compromise, correction achieve performance. there reason other performance database denormalized?

the 2 common reasons denormalize are:

  1. performance
  2. ignorance

the former should verified profiling, while latter should corrected rolled-up newspaper ;-)

i better mantra "normalize correctness, denormalize speed - , when necessary"


Comments

Popular posts from this blog

c++ - How do I get a multi line tooltip in MFC -

asp.net - In javascript how to find the height and width -

c# - DataTable to EnumerableRowCollection -