Values.InfluxDBv3EnterpriseParametersSourceAll the customer-modifiable InfluxDB v3 Enterprise parameters in Timestream for InfluxDB.
type nonrec t = {queryFileLimit : InfluxDBv3EnterpriseParametersQueryFileLimitInteger.t option;Limits the number of Parquet files a query can access. If a query attempts to read more than this limit, InfluxDB 3 returns an error. Default: 432
*)queryLogSize : InfluxDBv3EnterpriseParametersQueryLogSizeInteger.t option;Defines the size of the query log. Up to this many queries remain in the log before older queries are evicted to make room for new ones. Default: 1000
*)logFilter : InfluxDBv3EnterpriseParametersLogFilterString.t option;Sets the filter directive for logs.
*)logFormat : LogFormats.t option;Defines the message format for logs. Default: full
*)dataFusionNumThreads : InfluxDBv3EnterpriseParametersDataFusionNumThreadsInteger.t
option;Sets the maximum number of DataFusion runtime threads to use.
*)dataFusionRuntimeType : DataFusionRuntimeType.t option;Specifies the DataFusion tokio runtime type. Default: multi-thread
*)dataFusionRuntimeDisableLifoSlot : Boolean.t option;Disables the LIFO slot of the DataFusion runtime.
*)dataFusionRuntimeEventInterval : InfluxDBv3EnterpriseParametersDataFusionRuntimeEventIntervalInteger.t
option;Sets the number of scheduler ticks after which the scheduler of the DataFusion tokio runtime polls for external events–for example: timers, I/O.
*)dataFusionRuntimeGlobalQueueInterval : InfluxDBv3EnterpriseParametersDataFusionRuntimeGlobalQueueIntervalInteger.t
option;Sets the number of scheduler ticks after which the scheduler of the DataFusion runtime polls the global task queue.
*)dataFusionRuntimeMaxBlockingThreads : InfluxDBv3EnterpriseParametersDataFusionRuntimeMaxBlockingThreadsInteger.t
option;Specifies the limit for additional threads spawned by the DataFusion runtime.
*)dataFusionRuntimeMaxIoEventsPerTick : InfluxDBv3EnterpriseParametersDataFusionRuntimeMaxIoEventsPerTickInteger.t
option;Configures the maximum number of events processed per tick by the tokio DataFusion runtime.
*)dataFusionRuntimeThreadKeepAlive : Duration.t option;Sets a custom timeout for a thread in the blocking pool of the tokio DataFusion runtime.
*)dataFusionRuntimeThreadPriority : InfluxDBv3EnterpriseParametersDataFusionRuntimeThreadPriorityInteger.t
option;Sets the thread priority for tokio DataFusion runtime workers. Default: 10
*)dataFusionMaxParquetFanout : InfluxDBv3EnterpriseParametersDataFusionMaxParquetFanoutInteger.t
option;When multiple parquet files are required in a sorted way (deduplication for example), specifies the maximum fanout. Default: 1000
*)dataFusionUseCachedParquetLoader : Boolean.t option;Uses a cached parquet loader when reading parquet files from the object store.
*)dataFusionConfig : InfluxDBv3EnterpriseParametersDataFusionConfigString.t
option;Provides custom configuration to DataFusion as a comma-separated list of key:value pairs.
*)maxHttpRequestSize : InfluxDBv3EnterpriseParametersMaxHttpRequestSizeLong.t
option;Specifies the maximum size of HTTP requests. Default: 10485760
*)forceSnapshotMemThreshold : PercentOrAbsoluteLong.t option;Specifies the threshold for the internal memory buffer. Supports either a percentage (portion of available memory) or absolute value in MB–for example: 70% or 100 Default: 70%
*)walSnapshotSize : InfluxDBv3EnterpriseParametersWalSnapshotSizeInteger.t option;Defines the number of WAL files to attempt to remove in a snapshot. This, multiplied by the interval, determines how often snapshots are taken. Default: 600
*)walMaxWriteBufferSize : InfluxDBv3EnterpriseParametersWalMaxWriteBufferSizeInteger.t
option;Specifies the maximum number of write requests that can be buffered before a flush must be executed and succeed. Default: 100000
*)snapshottedWalFilesToKeep : InfluxDBv3EnterpriseParametersSnapshottedWalFilesToKeepInteger.t
option;Specifies the number of snapshotted WAL files to retain in the object store. Flushing the WAL files does not clear the WAL files immediately; they are deleted when the number of snapshotted WAL files exceeds this number. Default: 300
*)preemptiveCacheAge : Duration.t option;Specifies the interval to prefetch into the Parquet cache during compaction. Default: 3d
*)parquetMemCachePrunePercentage : InfluxDBv3EnterpriseParametersParquetMemCachePrunePercentageFloat.t
option;Specifies the percentage of entries to prune during a prune operation on the in-memory Parquet cache. Default: 0.1
*)parquetMemCachePruneInterval : Duration.t option;Sets the interval to check if the in-memory Parquet cache needs to be pruned. Default: 1s
*)disableParquetMemCache : Boolean.t option;Disables the in-memory Parquet cache. By default, the cache is enabled.
*)parquetMemCacheQueryPathDuration : Duration.t option;Specifies the time window for caching recent Parquet files in memory. Default: 5h
*)lastCacheEvictionInterval : Duration.t option;Specifies the interval to evict expired entries from the Last-N-Value cache, expressed as a human-readable duration–for example: 20s, 1m, 1h. Default: 10s
*)distinctCacheEvictionInterval : Duration.t option;Specifies the interval to evict expired entries from the distinct value cache, expressed as a human-readable duration–for example: 20s, 1m, 1h. Default: 10s
*)gen1Duration : Duration.t option;Specifies the duration that Parquet files are arranged into. Data timestamps land each row into a file of this duration. Supported durations are 1m, 5m, and 10m. These files are known as “generation 1” files, which the compactor can merge into larger generations. Default: 10m
*)execMemPoolBytes : PercentOrAbsoluteLong.t option;Specifies the size of memory pool used during query execution. Can be given as absolute value in bytes or as a percentage of the total available memory–for example: 8000000000 or 10%. Default: 20%
*)parquetMemCacheSize : PercentOrAbsoluteLong.t option;Specifies the size of the in-memory Parquet cache in megabytes or percentage of total available memory. Default: 20%
*)walReplayFailOnError : Boolean.t option;Determines whether WAL replay should fail when encountering errors. Default: false
*)walReplayConcurrencyLimit : InfluxDBv3EnterpriseParametersWalReplayConcurrencyLimitInteger.t
option;Concurrency limit during WAL replay. Setting this number too high can lead to OOM. The default is dynamically determined. Default: max(num_cpus, 10)
*)tableIndexCacheMaxEntries : InfluxDBv3EnterpriseParametersTableIndexCacheMaxEntriesInteger.t
option;Specifies the maximum number of entries in the table index cache. Default: 1000
*)tableIndexCacheConcurrencyLimit : InfluxDBv3EnterpriseParametersTableIndexCacheConcurrencyLimitInteger.t
option;Limits the concurrency level for table index cache operations. Default: 8
*)gen1LookbackDuration : Duration.t option;Specifies how far back to look when creating generation 1 Parquet files. Default: 24h
*)retentionCheckInterval : Duration.t option;The interval at which retention policies are checked and enforced. Enter as a human-readable time–for example: 30m or 1h. Default: 30m
*)deleteGracePeriod : Duration.t option;Specifies the grace period before permanently deleting data. Default: 24h
*)hardDeleteDefaultDuration : Duration.t option;Sets the default duration for hard deletion of data. Default: 90d
*)ingestQueryInstances : InfluxDBv3EnterpriseParametersIngestQueryInstancesInteger.t;Specifies number of instances in the DbCluster which can both ingest and query.
*)queryOnlyInstances : InfluxDBv3EnterpriseParametersQueryOnlyInstancesInteger.t;Specifies number of instances in the DbCluster which can only query.
*)dedicatedCompactor : Boolean.t;Specifies if the compactor instance should be a standalone instance or not.
*)compactionRowLimit : InfluxDBv3EnterpriseParametersCompactionRowLimitInteger.t
option;Specifies the soft limit for the number of rows per file that the compactor writes. The compactor may write more rows than this limit. Default: 1000000
*)compactionMaxNumFilesPerPlan : InfluxDBv3EnterpriseParametersCompactionMaxNumFilesPerPlanInteger.t
option;Sets the maximum number of files included in any compaction plan. Default: 500
*)compactionGen2Duration : Duration.t option;Specifies the duration of the first level of compaction (gen2). Later levels of compaction are multiples of this duration. This value should be equal to or greater than the gen1 duration. Default: 20m
*)compactionMultipliers : InfluxDBv3EnterpriseParametersCompactionMultipliersString.t
option;Specifies a comma-separated list of multiples defining the duration of each level of compaction. The number of elements in the list determines the number of compaction levels. The first element specifies the duration of the first level (gen3); subsequent levels are multiples of the previous level. Default: 3,4,6,5
*)compactionCleanupWait : Duration.t option;Specifies the amount of time that the compactor waits after finishing a compaction run to delete files marked as needing deletion during that compaction run. Default: 10m
*)compactionCheckInterval : Duration.t option;Specifies how often the compactor checks for new compaction work to perform. Default: 10s
*)lastValueCacheDisableFromHistory : Boolean.t option;Disables populating the last-N-value cache from historical data. If disabled, the cache is still populated with data from the write-ahead log (WAL).
*)distinctValueCacheDisableFromHistory : Boolean.t option;Disables populating the distinct value cache from historical data. If disabled, the cache is still populated with data from the write-ahead log (WAL).
*)replicationInterval : Duration.t option;Specifies the interval at which data replication occurs between cluster nodes. Default: 250ms
*)catalogSyncInterval : Duration.t option;Defines how often the catalog synchronizes across cluster nodes. Default: 10s
*)}val make :
?queryFileLimit:??? ->
?queryLogSize:??? ->
?logFilter:??? ->
?logFormat:??? ->
?dataFusionNumThreads:??? ->
?dataFusionRuntimeType:??? ->
?dataFusionRuntimeDisableLifoSlot:??? ->
?dataFusionRuntimeEventInterval:??? ->
?dataFusionRuntimeGlobalQueueInterval:??? ->
?dataFusionRuntimeMaxBlockingThreads:??? ->
?dataFusionRuntimeMaxIoEventsPerTick:??? ->
?dataFusionRuntimeThreadKeepAlive:??? ->
?dataFusionRuntimeThreadPriority:??? ->
?dataFusionMaxParquetFanout:??? ->
?dataFusionUseCachedParquetLoader:??? ->
?dataFusionConfig:??? ->
?maxHttpRequestSize:??? ->
?forceSnapshotMemThreshold:??? ->
?walSnapshotSize:??? ->
?walMaxWriteBufferSize:??? ->
?snapshottedWalFilesToKeep:??? ->
?preemptiveCacheAge:??? ->
?parquetMemCachePrunePercentage:??? ->
?parquetMemCachePruneInterval:??? ->
?disableParquetMemCache:??? ->
?parquetMemCacheQueryPathDuration:??? ->
?lastCacheEvictionInterval:??? ->
?distinctCacheEvictionInterval:??? ->
?gen1Duration:??? ->
?execMemPoolBytes:??? ->
?parquetMemCacheSize:??? ->
?walReplayFailOnError:??? ->
?walReplayConcurrencyLimit:??? ->
?tableIndexCacheMaxEntries:??? ->
?tableIndexCacheConcurrencyLimit:??? ->
?gen1LookbackDuration:??? ->
?retentionCheckInterval:??? ->
?deleteGracePeriod:??? ->
?hardDeleteDefaultDuration:??? ->
?compactionRowLimit:??? ->
?compactionMaxNumFilesPerPlan:??? ->
?compactionGen2Duration:??? ->
?compactionMultipliers:??? ->
?compactionCleanupWait:??? ->
?compactionCheckInterval:??? ->
?lastValueCacheDisableFromHistory:??? ->
?distinctValueCacheDisableFromHistory:??? ->
?replicationInterval:??? ->
?catalogSyncInterval:??? ->
ingestQueryInstances:
InfluxDBv3EnterpriseParametersIngestQueryInstancesInteger.t ->
queryOnlyInstances:InfluxDBv3EnterpriseParametersQueryOnlyInstancesInteger.t ->
dedicatedCompactor:Boolean.t ->
unit ->
tval to_value :
t ->
[> `Structure of
(string
* [> `Boolean of Boolean.t
| `Enum of string
| `Float of
InfluxDBv3EnterpriseParametersParquetMemCachePrunePercentageFloat.t
| `Integer of InfluxDBv3EnterpriseParametersQueryFileLimitInteger.t
| `Long of InfluxDBv3EnterpriseParametersMaxHttpRequestSizeLong.t
| `String of InfluxDBv3EnterpriseParametersLogFilterString.t
| `Structure of
(string
* [> `Enum of string
| `Long of DurationValueLong.t
| `String of PercentOrAbsoluteLongPercentString.t ])
list ])
list ]