How do you optimize SQL queries ?
Answer Posted / rupa
Most often, Databases have bad designs and are not
normalized. This can greatly affect the speed of your
Database. As a general case, learn the 3 Normal Forms and
apply them at all times. The normal forms above 3rd Normal
Form are often called de-normalization forms but what this
really means is that they break some rules to make the
Database faster.
What I suggest is to stick to the 3rd normal form except if
you are a DBA (which means you know subsequent forms and
know what you're doing). Normalization after the 3rd NF is
often done at a later time, not during design.
for more information go Through below link
http://www.serverwatch.com/tutorials/article.php/2175621
| Is This Answer Correct ? | 3 Yes | 10 No |
Post New Answer View All Answers
Can a primary key be a foreign key?
How exception is different from error?
Can we use two order by clause in query?
what is offset-fetch filter in tsql? : Transact sql
what are the performance and scalability characteristics of mysql? : Sql dba
How much does sql cost?
What is sql profiler in oracle?
Does access use sql?
Is oracel sql developer written in java?
How do you truncate?
How would you convert date into julian date format?
What are the advantages of pl sql?
What are sql*plus environment variables?
How is data stored in sql?
Why query optimization is needed?