Questions tagged [sql-execution-plan]

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

A execution, or query plan, is the breakdown of steps the database engine uses to get a result. Specifically it is the plan that the optimizer determines is the best, most efficient, way to get the data.

The execution plan can be analyzed to determine what is happening and how to improve efficiency. Including finding if an index is being scanned or missing an index altogether. There is also many points of analytic data that can be acquired via the plan including things such as estimated and actual number of rows.

1429 questions
-2
votes
1 answer

Understanding of Execution plan in oracle

enter image description here I ran a SQL query in Oracle and generated this execution plan. I am new to Oracle execution plans. It will be great help if someone could please help me to under below execution plan generated in Oracle. enter image…
-2
votes
1 answer

Unable to understand SQL Explain Plan

I am currently working on a query optimization which is taking a long time to run. When I googled it I found that we can check the query performance by using sql Explain Plan, below is the plan I got for my query but I am unable to understand what…
nilFi
  • 197
  • 2
  • 18
-2
votes
1 answer

From mysql CLI is there a way to get the explain plan for a query sourced from a file?

From MySQL CLI is there a way to get the execution plan of a query sourced from a file? Assuming the following query in a file some-sql.sql select * from table Called via: mysql> source some-sql.sql Is there a way to obtain an execution plan for…
nsfyn55
  • 14,875
  • 8
  • 50
  • 77
-5
votes
1 answer

How to show this list of Info for a particular query?

How can i show this list of info. for a particular query? Statistics ---------------------------------------------------------- 369 recursive calls 1689 db block gets 48194 consistent gets 2 physical reads …
1 2 3
95
96