Top "Sql-execution-plan" questions

A execution, or query plan, is the breakdown of steps the database engine uses to get a result.

How can I analyse a Sqlite query execution?

I have a Sqlite database which I want to check the indexes are correct. MS SQL Analyser is great at …

sql sqlite query-optimization sql-execution-plan
Why is Oracle ignoring index with ORDER BY?

My intention is to obtain a paginated resultset of customers. I am using this algorithm, from Tom: select * from ( select /*+ …

sql performance oracle database-performance sql-execution-plan
Is there a way to force MySQL execution order?

I know I can change the way MySQL executes a query by using the FORCE INDEX (abc) keyword. But is …

mysql performance sql-execution-plan
SELECT TOP is slow, regardless of ORDER BY

I have a fairly complex query in SQL Server running against a view, in the form: SELECT * FROM myview, foo, …

sql-server sql-server-2005 tsql sql-execution-plan query-hints
JDBC Oracle - Fetch explain plan for query

Im wondering how I can fetch the explain plan using Java. Reason I need this is because we have a …

java oracle jdbc sql-execution-plan explain
Why does this sql query do a key lookup?

I have a table User with a bunch of indexes. One of them is a unique index on the AccountIdentifier …

sql sql-server query-optimization sql-execution-plan
Performance of SQL "EXISTS" usage variants

Is there any difference in the performance of the following three SQL statements? SELECT * FROM tableA WHERE EXISTS (SELECT * FROM …

sql sql-execution-plan
Query executes slower after indexes are created and dbms_stats compute is used

I have a table with 1.5 million rows. I run a query which fetches records having non repeating values in a …

sql oracle indexing sql-execution-plan
MySQL, delete and index hint

I have to delete about 10K rows from a table that has more than 100 million rows based on some criteria. …

mysql query-optimization sql-delete sql-execution-plan
Very slow DELETE query

I have problems with SQL performance. For sudden reason the following queries are very slow: I have two lists which …

sql sql-server performance sql-execution-plan table-variable