UpdateHistogramSettings 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.UpdateHistogramSettingsJSON
  (IN jIn JSON(3000) CHARACTER SET UNICODE,
   OUT jOut JSON(3000) CHARACTER SET UNICODE)

JSON Keys

JSON Key IN/OUT Data Type Description
SCOID IN BIGINT AutoStats assigned identifier of an individual statistic whose settings are to be changed.
DatabaseName IN VARCHAR(128) Apply the new settings to all statistics collected within the specified database.
TableName IN VARCHAR(128) Apply the new settings to an individual table residing within the specified DatabaseName.
MaxIntervals IN INTEGER Value to specify for the MAXINTERVALS option for generated COLLECT STATISTICS statements.

Allowable values are 0 to 500. A value of -1 indicates the SYSTEM selected value is used.

MaxLength IN INTEGER Value to specify for the MAXVALUELENGTH option for generated COLLECT STATISTICS statements.

A value of -1 indicates the SYSTEM selected value is used.

NumUpdated OUT INTEGER Number of statistics whose settings have been updated.