What is the first action to perform a query?
Suppose I have four tables and five joins and my query is
getting slow day by day.

Answers were Sorted based on User's Feedback



What is the first action to perform a query? Suppose I have four tables and five joins and my query..

Answer / rahul khanke

in any joins (n-1)where n is no of tables is the criteia if
u have four table then there are 3 joins use it.

Is This Answer Correct ?    7 Yes 1 No

What is the first action to perform a query? Suppose I have four tables and five joins and my query..

Answer / vaibhavi_dixit

Also check that the tables does not have more NULL values,
which also reduces the performance.

VD

Is This Answer Correct ?    6 Yes 0 No

What is the first action to perform a query? Suppose I have four tables and five joins and my query..

Answer / sandeep t

the best way is to create another table by writing a
procedure . In the procedure create a temp table and then
populate the table which created with all the
conditions.You can use the newly created table to satisfy
all the conditions by this you could avoid creating load on
the database

Is This Answer Correct ?    2 Yes 0 No

What is the first action to perform a query? Suppose I have four tables and five joins and my query..

Answer / avi007

check the how many indexes created on join column of
tables, check the join which has been done on common column
of both tables.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More SQL PLSQL Interview Questions

What is a database trigger ? Name some usages of database trigger ?

4 Answers  


how to select unique records from a table? : Sql dba

0 Answers  


Is grant a ddl statement?

0 Answers  


what is the difference between char_length and length? : Sql dba

0 Answers  


Is primary key clustered index?

0 Answers  






What is cursor explain with example?

0 Answers  


what is error ora-03113: end-of-file on communication channel?

0 Answers  


What is difference between sql and mysql?

0 Answers  


What is substitution variable in pl sql?

0 Answers  


Why do we create stored procedures & functions in pl/sql and how are they different?

0 Answers  


what is the bond code in materialized view?

0 Answers  


explain access control lists. : Sql dba

0 Answers  


Categories