EXPLAIN Request Modifier | SQL Statements | Teradata Vantage - EXPLAIN Request Modifier - Analytics Database - Teradata Vantage

SQL Data Manipulation Language

Deployment
VantageCloud
VantageCore
Edition
Enterprise
IntelliFlex
VMware
Product
Analytics Database
Teradata Vantage
Release Number
17.20
Published
June 2022
ft:locale
en-US
ft:lastEdition
2024-12-13
dita:mapPath
pon1628111750298.ditamap
dita:ditavalPath
qkf1628213546010.ditaval
dita:id
esx1472246586715
lifecycle
latest
Product Category
Teradata Vantageā„¢

Reports a summary of the query plan generated by the SQL query optimizer to process any valid SQL request, that is, the steps the system would use to resolve a request. The Optimizer processes an explained request in the same way that the request would be processed without the EXPLAIN modifier, except that the SQL within the request is not actually executed. However, for a dynamic plan, the request is partially executed.

Optionally, you can display the output as XML text instead of plain English text.

For additional information about how to interpret the reports generated by an EXPLAIN request modifier see:
  • INSERT EXPLAIN
  • Teradata Vantageā„¢ - SQL Request and Transaction Processing, B035-1142

ANSI Compliance

EXPLAIN is a Teradata extension to the ANSI SQL:2011 standard.

Other SQL dialects support similar non-ANSI standard statements with names such as EXPLAIN PLAN.

Required Privileges

To EXPLAIN a request, you must have the permissions that are required to execute that request.