ALLInterview.com :: Home Page KalAajKal.com
 Advertise your Business Here     
Browse  |   Placement Papers  |   Company  |   Code Snippets  |   Certifications  |   Visa Questions
Post Question  |   Post Answer  |   My Panel  |   Search  |   Articles  |   Topics  |   ERRORS new
   Refer this Site  Refer This Site to Your Friends  Site Map  Bookmark this Site  Set it as your HomePage  Contact Us     Login  |  Sign Up                      
tip   To Refer this Site to Your Friends   Click Here
Google
 
Categories  >>  Software  >>  Databases  >>  SQL PLSQL
 
 


 

 
 Oracle interview questions  Oracle Interview Questions
 SQL Server interview questions  SQL Server Interview Questions
 MS Access interview questions  MS Access Interview Questions
 MySQL interview questions  MySQL Interview Questions
 Postgre interview questions  Postgre Interview Questions
 Sybase interview questions  Sybase Interview Questions
 DB Architecture interview questions  DB Architecture Interview Questions
 DB Administration interview questions  DB Administration Interview Questions
 DB Development interview questions  DB Development Interview Questions
 SQL PLSQL interview questions  SQL PLSQL Interview Questions
 Databases AllOther interview questions  Databases AllOther Interview Questions
Question
How do you optimize SQL queries ?
 Question Submitted By :: Laya
I also faced this Question!!     Rank Answer Posted By  
 
  Re: How do you optimize SQL queries ?
Answer
# 1
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 ?    0 Yes 2 No
Rupa
 
  Re: How do you optimize SQL queries ?
Answer
# 2
BY USING HINTS,
HASH JOINS,
PARTITION TABLES AND INDEXS, 
RESERVE KEY INDEX, 
BIT MAP INDEX,
COST BASED OPTIMIZATION,
Nested loops,full table scans,query rewrite with 
materialisation views
BASED ON THIS WE OPTIMIZE THE SQL QUERIES.
 
Is This Answer Correct ?    2 Yes 0 No
Kumar Srinivasalu
 
 
 

 
 
 
Other SQL PLSQL Interview Questions
 
  Question Asked @ Answers
 
can we create index on index? iFlex3
how can i read files from a pl/sq l program  3
scope of exception handling in plsql Wipro2
I WANT INFORMATION ABOUT SAS SOFTWARE USING FINANCIAL COMPANIES LIST, PLESE GIVE ME DETAILS ABOUT AOL1
difference between pl/sql table and normal pl/sql table  2
How to delete same emp id in sql query for exmaple in emp table emp id, empname, emp address. for example emp id =5, repeated in two times in rows same id how to delete same empid please any one of the write query send in my id CGCI7
Given two tables Student(SID, Name, Course) and Level(SID, level) write the SQL statement to get the name and SID of the student who are taking course = 3 and at freshman level. Oracle5
What are the components of a PL/SQL block ?  1
How are multiple column = value pairs delimited in the SET clause of an UPDATE statement? 1. With commas (SET price = 0, status = 'I') 2. With parentheses (SET (price = 0) (status = 'I')) 3. With double-pipes (SET price = 0 || status = 'I') 4. With square-brackets (SET [price = 0] [status = 'I'] 5. With single or multiple spaces (SET price = 0 status = 'I')  2
What is the best strategy to use COMMIT in a pl/sql loop?  2
what is ref cursor in pl/sql?  3
what is sql and plsql  4
Is it possible to use Transaction control Statements such a ROLLBACK or COMMIT in Database Trigger ? Why ?  3
what is julian date in oracle  1
What is normalization and types of normalization? Microsoft3
What is difference between a Cursor declared in a procedure and Cursor declared in a package specification ?  1
if i perform any operation on views such as insert, delete etc will my base table get affected?????  3
what are Dynamic SQL statements?  5
Why you are not able to create a table using select command,if it is having a LONG column? for eg:create table test as select * from test1 here test1 containg a column having LONG datatype...  1
how to retrieve the top 3 salaries of the table using rownum Oracle15
 
For more SQL PLSQL Interview Questions Click Here 
 
 
 
 
 
   
Copyright Policy  |  Terms of Service  |  Help  |  Site Map 1  |  Articles  |  Site Map  |   Site Map  |  Contact Us interview questions urls   External Links 
   
Copyright © 2007  ALLInterview.com.  All Rights Reserved.

ALLInterview.com   ::  Forum9.com   ::  KalAajKal.com