Cmdlets for Couchbase

Build 24.0.9060

InferSampleSize Parameter (Connect-Couchbase Cmdlet)

The maximum number of documents to scan for the columns available in the bucket. Applies to Automatic Schema Discovery when TypeDetectionScheme is set to INFER.

Syntax

Connect-Couchbase -InferSampleSize string

Data Type

cstr

Default Value

"100"

Remarks

The maximum number of documents to scan for the columns available in the bucket. The Infer command will return column metadata by scanning a random sample of documents of the size specified here.

Setting a high value may decrease performance. Setting a low value may prevent the column and data type from being determined properly, especially when there is null data.

This property enables additional configuration of Automatic Schema Discovery when you are using the Couchbase Infer command -- TypeDetectionScheme must also be set to Infer to use this propery.

Copyright (c) 2024 CData Software, Inc. - All rights reserved.
Build 24.0.9060