The APIs documented in this section allow DBA experts to review and approve statistic recommendations on AUTODBA objects that were previously marked for semi-autonomous control using the WITH CHECK syntax option. Additional APIs allow for customization on how statistics are analyzed or prepared for collection. Lastly, an AuditTrail API assists DBAs or Teradata Support personnel in investigating performance issues that may have resulted from an individual applied tuning action.
- MissingStatRecs
- DropStatRecs
- ApproveStat
- DisapproveStat
- RemoveMissingRecs
- InactivateStat
- MarkAutoDBAObjects
- SetObjectOption
- RemoveObjectOption
- PreserveAfterRecreate
- Histogram Related Settings APIs
- ObjectList APIs
- AuditTrail
- SelectAutomatedStats
General API Usage
Semi-autonomous APIs are in the form of stored procedures residing within owning database TDStats, each with a single JSON input parameter that support an extensible set of name-value pairs.
- APIs that display recommendations return output in the form of relational dynamic row results similar to Dashboard Reporting APIs.
- APIs performing actions such as approve or disapprove will return a JSON output parameter that confirms the action performed.
REPLACE PROCEDURE TDStats.<ReportAPI> ( IN jIn JSON(2000) CHARACTER SET UNICODE) DYNAMIC RESULT SETS 1 REPLACE PROCEDURE TDStats.<ActionAPI> ( IN jIn JSON(3000) CHARACTER SET UNICODE, OUT jOut JSON(3000) CHARACTER SET UNICODE)