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

windows - Why does Vista not allow creation of shortcuts to "Programs" on a NonAdmin account? Not supposed to install apps from NonAdmin account? -

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

unit testing - How to mock PreferenceManager in Android? -