SCANPCT - Teradata Vantage - Analytics Database

SQL Data Definition Language Syntax and Examples

Deployment
VantageCloud
VantageCore
Edition
VMware
Enterprise
IntelliFlex
Product
Analytics Database
Teradata Vantage
Release Number
17.20
Published
June 2022
ft:locale
en-US
ft:lastEdition
2025-11-22
dita:mapPath
jco1628111346878.ditamap
dita:ditavalPath
qkf1628213546010.ditaval
dita:id
mdr1472255012272
lifecycle
latest
Product Category
Teradata Vantage™

[Optional] Percentage of data set to scan to discover the schema.

SCANPCT is enabled by default. To disable it, set DBControl option SCANPCTOption to 1. To re-enable it, set SCANPCTOption to 0 or 2.

CSV and JSON Files
scan_pct Scanned
0 (default) First 100 MB of data set (file by file if there are multiple files).
Between 0 and 1 First 100 MB of data set (file by file if there are multiple files). Then, scan_pct * 100% of first 1000 remaining files.
1 First 1000 files of data set.
Parquet Files
scan_pct Scanned
Less than 1 First 100 MB of data set (file by file if there are multiple files).
1 First 16 MB of each file, up to 100 MB of data set.

A higher scan_pct may increase schema accuracy, but it increases performance time.