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 |
|
| AutoDBA | CHAR |
|
| AutoDbaStartTime | TIMESTAMP | Timestamp of AutoDBA marking. NULL if AutoDBA is 'N'. |