DBQLXMLPlanMemLimit - Analytics Database - Teradata Vantage

Database Utilities

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-05-02
dita:mapPath
ymn1628096214445.ditamap
dita:ditavalPath
qkf1628213546010.ditaval
dita:id
vkz1472241255652
lifecycle
latest
Product Category
Teradata Vantage™

Limits the amount of memory used for generating an XML version of a query plan when query logging is enabled using the WITH XMLPLAN option of BEGIN QUERY LOGGING.

Field Group

Performance

Valid Range

256 through 65536 KB

Default

8192 KB

Changes Take Effect

After the DBS Control Record has been written.

Usage Notes

The WITH XMLPLAN option of the BEGIN QUERY LOGGING statement causes the query plan for every non-cached DDL, DML, and DCL SQL statement to be logged as an XML document in the Database Query Log (DBQL). This document is stored in the DBC.DBQLXMLTbl system table.

DBQLXMLPlanMemLimit limits the amount of memory used to generate XML for each SQL request. Reducing the amount of memory used to generate XML plans can free up memory for other tasks, however, setting DBQLXMLPlanMemLimit to a value smaller than the default risks that generated XML plan documents will be incomplete.

EXPLAIN, INSERT EXPLAIN, and DUMP EXPLAIN statements are not logged.

Related Information

For more information on query logging, see Teradata Vantage™ - Database Administration, B035-1093 and Teradata Vantage™ - SQL Data Definition Language Syntax and Examples, B035-1144.