Observability - Teradata Vantage

Teradata® Open Table Format for Apache Iceberg and Delta Lake User Guide

Deployment
VantageCloud
VantageCore
Edition
VMware
Enterprise
IntelliFlex
Lake
Product
Teradata Vantage
Release Number
20.00
Published
October 2025
ft:locale
en-US
ft:lastEdition
2025-10-25
dita:mapPath
qrj1749167830193.ditamap
dita:ditavalPath
lli1749584660955.ditaval
dita:id
bsr1702324250454

DBQL information can be used to find and observe OTF queries. The following queries can be used to find DBQL information for OTF queries.

Feature Usage Logging Count

To find the number of OTF queries that have been run

SELECT CAST(FeatureName AS CHAR(50)) AS FEATURENAME, FEATUREUSECOUNT
 FROM DBC.QryLogFeatureUseCountV
 WHERE FeatureName='Open Table Format' OR
               FeatureName LIKE '%OTF TD_%' ORDER BY 2 DESC,1 ASC;

QryLogV View

The DBC.QryLogV view contains DBQL information for a query. For OTF queries, the field OTFQuery will be equal to 'T'.

SELECT * FROM DBC.QryLogV WHERE OTFQUERY='T';

DBC.QryLogV_SZ View

The DBC.QryLogV_SZ view contains DBQL information for a query run on a DBS with Zones. For OTF queries, the field OTFQuery will be equal to 'T'.

SELECT * FROM DBC.QryLogV_SZ WHERE OTFQUERY='T';

TD_METRIC_SVC.DBQLogV View

The TD_METRIC_SVC.DBQLogV view contains DBQL information for a query. For OTF queries, the field OTFQuery will be equal to 'T'.

This view is only available on VantageCloud Lake systems.
SELECT * FROM TD_METRIC_SVC.DBQLogV WHERE OTFQUERY='T';

TD_METRIC_SVC.DBQLog_OperationsV View

The TD_METRIC_SVC.DBQLog_OperationsV view contains DBQL information for a query. For OTF queries, the field OTFQuery will be equal to 'T'.

This view is only available on VantageCloud Lake systems.
SELECT * FROM TD_METRIC_SVC.DBQLog_OperationsV WHERE OTFQUERY='T';

PDCRINFO.DBQLogTbl View

The view PDCRINFO.DBQLogTbl is the same as TD_METRIC_SVC.DBQLogV and contains DBQL information for a query. For OTF queries, the field OTFQuery will be equal to 'T'.

This view is only available on VantageCloud Lake systems.
SELECT * FROM PDCRINFO.DBQLogTbl WHERE OTFQUERY='T';

PDCRINFO.DBQLogTbl_Hst View

The view PDCRINFO.DBQLogTbl_Hst is the same as TD_METRIC_SVC.DBQLogV and contains DBQL information for a query. For OTF queries, the field OTFQuery will be equal to 'T'.

This view is only available on VantageCloud Lake systems.
SELECT * FROM PDCRINFO.DBQLogTbl_Hst WHERE OTFQUERY='T';