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
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 |
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 |
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 |
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 |
What is the difference between sql and isql*plus?
What is the basic form of sql query?
What are the types pl/sql code blocks?
how to delete an existing column in a table? : Sql dba
What is trigger explain it?
Is it possible to pass parameters to triggers?
how to retrieve the top 2 salaried persons from a database?
How to get the 3rd column(i.e all the data along with the column name)in a table?
Is a secondary key the same as a foreign key?
differentiate between float and double. : Sql dba
how to load data files into tables with 'mysqlimport'? : Sql dba
How would you hide a table in sql. ie the table can be only visible to its maker?
Oracle (3253)
SQL Server (4518)
MS Access (429)
MySQL (1402)
Postgre (483)
Sybase (267)
DB Architecture (141)
DB Administration (291)
DB Development (113)
SQL PLSQL (3330)
MongoDB (502)
IBM Informix (50)
Neo4j (82)
InfluxDB (0)
Apache CouchDB (44)
Firebird (5)
Database Management (1411)
Databases AllOther (288)