FLUSH QUERY LOGGING SQL Statement | Teradata Database - FLUSH QUERY LOGGING - Teradata Database

SQL Data Definition Language Syntax and Examples

Deployment
VantageCloud
VantageCore
Edition
VMware
Enterprise
IntelliFlex
Product
Teradata Database
Release Number
20.00
Published
June 2025
ft:locale
en-US
ft:lastEdition
2026-09-23
dita:mapPath
mbm1747160743883.ditamap
dita:ditavalPath
jlp1749501702948.ditaval
dita:id
mdr1472255012272
lifecycle
latest

Flushes one, several, or all DBQL caches or workload management caches to disk.

This statement is only valid in Teradata session mode.

ANSI Compliance

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

Required Privileges

You must have the EXECUTE privilege on the macro DBQLAccessMacro to perform FLUSH QUERY LOGGING.