ColumnDiscoverySampleSize
- Last Updated: September 20, 2021
- 1 minute read
- DataDirect Connectors
- JDBC
- MongoDB 6.1
- Documentation
Purpose
Specifies the number of rows the driver fetches per collection when sampling data to detect columns and gather column statistics. The information collected in these samples is used when creating a schema map. Larger fetch sizes return samples that are more representative of your data, but at the expense of slower performance.
Valid Values
x
where:
x
specifies the number of rows the driver fetches per collection.
Notes
- The setting for this property is written to the configuration file when generating the schema map. If you attempt a subsequent connection using the configuration file and specify a different value for this property, the driver will return an error.
Data Source Methods
public Integer getColumnDiscoverySampleSize()
public void setColumnDiscoverySampleSize(Integer)
Default Value
1000
Data Type
Integer