Teradata Database Message 3680 - 3680 - Analytics Database - Teradata Vantage

Analytics Database Messages

Deployment
VantageCloud
VantageCore
Edition
Enterprise
IntelliFlex
VMware
Product
Analytics Database
Teradata Vantage
Release Number
15.xx,16.xx,17.xx
Published
June 2022
ft:locale
en-US
ft:lastEdition
2023-01-05
dita:mapPath
sfx1628096178347.ditamap
dita:ditavalPath
ft:empty
dita:id
B035-1096
lifecycle
latest
Product Category
Teradata Vantageā„¢
Message
Too many collected statistics items for this COLLECT command.
Explanation
Because the optimizer uses spool files for generating statistics, when collecting statistics on a table that has too many columns/indexes with statistics collected previously, the total number of spool files needed will exceed its limit. The limit of columns/indexes has been set at 40 according to the limit of spool files.
Generated By
OPT modules.
For Whom
End User.
Notes
None
Remedy
Instead of using "COLLECT STATISTICS on <table>", collect statistics on each item individually.