15.00 - FLUSH QUERY LOGGING - Teradata Database

Teradata Database SQL Data Definition Language Detailed Topics

Product
Teradata Database
Release Number
15.00
Content Type
Programming Reference
Publication ID
B035-1184-015K
Language
English (United States)

FLUSH QUERY LOGGING

Advantages of Using FLUSH QUERY LOGGING Requests Over BEGIN QUERY LOGGING and END QUERY LOGGING Requests

The FLUSH QUERY LOGGING statement provides you with the capability of flushing the various DBQL and TDWM caches at any time. You can submit a FLUSH QUERY LOGGING request and specify whichever options you choose, and the result is a synchronous flushing of the specified caches.

FLUSH QUERY LOGGING also provides the advantage of flushing selected caches, which you cannot do by specifying periodic BEGIN QUERY LOGGING and END QUERY LOGGING requests. FLUSH QUERY LOGGING also enables you to flush TDWM caches, which can otherwise only be flushed by Teradata Database when its timer tells it to do so.