SysSampleOption - Analytics Database - Teradata Vantage

Database Utilities

Deployment
VantageCloud
VantageCore
Edition
Enterprise
IntelliFlex
VMware
Product
Analytics Database
Teradata Vantage
Release Number
17.20
Published
June 2022
ft:locale
en-US
ft:lastEdition
2024-05-02
dita:mapPath
ymn1628096214445.ditamap
dita:ditavalPath
qkf1628213546010.ditaval
dita:id
vkz1472241255652
lifecycle
latest
Product Category
Teradata Vantage™

Specifies whether Vantage should determine the appropriate amount of table data to sample for statistics collection. If not, the sample size will be 100%.

This field is used only when a COLLECT STATISTICS SQL statement does not specify the USING SAMPLE option.

Field Group

Optimizer Statistics

Valid Settings

Setting Description
0 Use Teradata default, currently equivalent to setting 1.
1 Enables system-determined sample percentage up to 100%.
2 Sample percentage is 100% (full statistics).

Default

0

Changes Take Effect

After the DBS Control Record has been written.

Usage Notes

Statistics are used by the optimizer to improve query performance.

Related Information

For more information on… See…
Optimizer statistics fields