DailyQueryActivity Stored Procedure | VantageCloud Lake - DailyQueryActivity - Teradata VantageCloud Lake

Lake - Monitor Resources and Performance

Deployment
VantageCloud
Edition
Lake
Product
Teradata VantageCloud Lake
Release Number
Published
February 2025
ft:locale
en-US
ft:lastEdition
2025-11-21
dita:mapPath
wyu1683671641248.ditamap
dita:ditavalPath
pny1626732985837.ditaval
dita:id
wyu1683671641248

This stored procedure reports daily number of logged queries referencing one or more AutoDBA marked objects over a specified period of time. Reported activity is limited to SQL statement types that offer tuning opportunities such as Select, Insert, Update, Delete and Merge Into.

Required SQL Access Rights

  • EXECUTE PROCEDURE, SELECT ON TDStats
  • SELECT ON the following DBC objects:
    • Dbase
    • QryLogV
    • QryLogXMLV
    • DBQLQERTbl
  • SELECT ON the following PDCRINFO objects:
    • DBQLLogTbl_Hst
    • DBQLXMLTbl_Hst
  • SELECT ON TD_METRIC_SVC.AutoDbQryLogV