-
-
Notifications
You must be signed in to change notification settings - Fork 268
EXPLAIN statement and RDB$SQL package #7675
Copy link
Copy link
Closed
Labels
component: enginecomponent: isqlfix-version: 6.0 Alpha 1qa: done successfullyrlsnotes60: yesAlready added to the Firebird 6.0 release notes. (Do not add this to signal it should be added.)Already added to the Firebird 6.0 release notes. (Do not add this to signal it should be added.)type: new feature
Metadata
Metadata
Assignees
Labels
component: enginecomponent: isqlfix-version: 6.0 Alpha 1qa: done successfullyrlsnotes60: yesAlready added to the Firebird 6.0 release notes. (Do not add this to signal it should be added.)Already added to the Firebird 6.0 release notes. (Do not add this to signal it should be added.)type: new feature
Type
Fields
Give feedbackNo fields configured for issues without a type.
Many DBMSs use a separate EXPLAIN statement to display plans. There are a number of advantages over using isc_info_sql_get_plan to get the plan:
The EXPLAIN statement can return the plan as a BLOB cursor column or as isc_exec_proc (single row).
Syntax:
ANALYZE - executes a query without returning data and substitutes the actual measured values into the plan
FORMAT - output format. By default TREE . PLAIN - legacy plan. TREE - tree-like (explain). In the future, it can be extended to other formats JSON, XML...
DEPTH - depth of recursive output (output of plans of internal procedures). The default is 1.
CARDINALITY - output cardinality score for plan nodes.
COST - output cost estimates for plan nodes.