AutoDBAObjects Syntax - 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

API Definition

REPLACE PROCEDURE TDStats.AutoDbaObjects(
    IN jIn JSON(2000) CHARACTER SET UNICODE)
    DYNAMIC RESULT SETS 1  

JSON Input Keys

JSON Key Data Type Description
Database Name VARCHAR Optionally limit report to tables in the specified database.

Wildcard characters _ and % are will and will return all names that qualify in the search pattern.

If not specified, all customer owned databases are included.

Dynamic SQL Result Columns When DatabaseName is Not Specified

Column Name Data Type  
DatabaseName VARCHAR Name of database having at least 1 AutoDba table.
TotalTables INTEGER Total number of tables in current DatabaseName.
NumTablesNotAutoDba INTEGER Number of tables marked NO AUTODBA.
NumTablesFullAutoDba INTEGER Number of tables marked AUTODBA.
NumTablesSemiAutoDba INTEGER Number of tables marked AUTODBA WITH CHECK.
LowestAutoDbaStartTime TIMESTAMP Most recently marked AUTODBA table.

Dynamic SQL Result Columns When DatabaseName is Specified as an Input Key Value

Column Name Data Type Description
DatabaseName VARCHAR Name of database having at least 1 AutoDba table.
TableName VARCHAR Table within DatabaseName.
TableKind CHAR
  • I - Join Index
  • O - Table with no primary index and no partitioning
  • T- Table with a primary index or primary AMP index, partitioning, or both.
AutoDBA CHAR
  • F - Full
  • S - Semi (with check)
  • N - No
AutoDbaStartTime TIMESTAMP Timestamp of AutoDBA marking.

NULL if AutoDBA is 'N'.