Class InfluxDBv3CoreParameters
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<InfluxDBv3CoreParameters.Builder,InfluxDBv3CoreParameters>
All the customer-modifiable InfluxDB v3 Core parameters in Timestream for InfluxDB.
- See Also:
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionbuilder()final StringProvides custom configuration to DataFusion as a comma-separated list of key:value pairs.final IntegerWhen multiple parquet files are required in a sorted way (deduplication for example), specifies the maximum fanout.final IntegerSets the maximum number of DataFusion runtime threads to use.final BooleanDisables the LIFO slot of the DataFusion runtime.final IntegerSets the number of scheduler ticks after which the scheduler of the DataFusion tokio runtime polls for external events–for example: timers, I/O.final IntegerSets the number of scheduler ticks after which the scheduler of the DataFusion runtime polls the global task queue.final IntegerSpecifies the limit for additional threads spawned by the DataFusion runtime.final IntegerConfigures the maximum number of events processed per tick by the tokio DataFusion runtime.final DurationSets a custom timeout for a thread in the blocking pool of the tokio DataFusion runtime.final IntegerSets the thread priority for tokio DataFusion runtime workers.final DataFusionRuntimeTypeSpecifies the DataFusion tokio runtime type.final StringSpecifies the DataFusion tokio runtime type.final BooleanUses a cached parquet loader when reading parquet files from the object store.final DurationSpecifies the grace period before permanently deleting data.final BooleanDisables the in-memory Parquet cache.final DurationSpecifies the interval to evict expired entries from the distinct value cache, expressed as a human-readable duration–for example: 20s, 1m, 1h.final booleanfinal booleanequalsBySdkFields(Object obj) Indicates whether some other object is "equal to" this one by SDK fields.final PercentOrAbsoluteLongSpecifies the size of memory pool used during query execution.final PercentOrAbsoluteLongSpecifies the threshold for the internal memory buffer.final DurationSpecifies the duration that Parquet files are arranged into.final DurationSpecifies how far back to look when creating generation 1 Parquet files.final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz) final DurationSets the default duration for hard deletion of data.final inthashCode()final DurationSpecifies the interval to evict expired entries from the Last-N-Value cache, expressed as a human-readable duration–for example: 20s, 1m, 1h.final StringSets the filter directive for logs.final LogFormatsDefines the message format for logs.final StringDefines the message format for logs.final LongSpecifies the maximum size of HTTP requests.final DurationSets the interval to check if the in-memory Parquet cache needs to be pruned.final FloatSpecifies the percentage of entries to prune during a prune operation on the in-memory Parquet cache.final DurationSpecifies the time window for caching recent Parquet files in memory.final PercentOrAbsoluteLongSpecifies the size of the in-memory Parquet cache in megabytes or percentage of total available memory.final DurationSpecifies the interval to prefetch into the Parquet cache during compaction.final IntegerLimits the number of Parquet files a query can access.final IntegerDefines the size of the query log.final DurationThe interval at which retention policies are checked and enforced.static Class<? extends InfluxDBv3CoreParameters.Builder> final IntegerSpecifies the number of snapshotted WAL files to retain in the object store.final IntegerLimits the concurrency level for table index cache operations.final IntegerSpecifies the maximum number of entries in the table index cache.Take this object and create a builder that contains all of the current property values of this object.final StringtoString()Returns a string representation of this object.final IntegerSpecifies the maximum number of write requests that can be buffered before a flush must be executed and succeed.final IntegerConcurrency limit during WAL replay.final BooleanDetermines whether WAL replay should fail when encountering errors.final IntegerDefines the number of WAL files to attempt to remove in a snapshot.Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
Method Details
-
queryFileLimit
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
- Returns:
- 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
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
- Returns:
- 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
Sets the filter directive for logs.
- Returns:
- Sets the filter directive for logs.
-
logFormat
Defines the message format for logs.
Default: full
If the service returns an enum value that is not available in the current SDK version,
logFormatwill returnLogFormats.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromlogFormatAsString().- Returns:
- Defines the message format for logs.
Default: full
- See Also:
-
logFormatAsString
Defines the message format for logs.
Default: full
If the service returns an enum value that is not available in the current SDK version,
logFormatwill returnLogFormats.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromlogFormatAsString().- Returns:
- Defines the message format for logs.
Default: full
- See Also:
-
dataFusionNumThreads
Sets the maximum number of DataFusion runtime threads to use.
- Returns:
- Sets the maximum number of DataFusion runtime threads to use.
-
dataFusionRuntimeType
Specifies the DataFusion tokio runtime type.
Default: multi-thread
If the service returns an enum value that is not available in the current SDK version,
dataFusionRuntimeTypewill returnDataFusionRuntimeType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromdataFusionRuntimeTypeAsString().- Returns:
- Specifies the DataFusion tokio runtime type.
Default: multi-thread
- See Also:
-
dataFusionRuntimeTypeAsString
Specifies the DataFusion tokio runtime type.
Default: multi-thread
If the service returns an enum value that is not available in the current SDK version,
dataFusionRuntimeTypewill returnDataFusionRuntimeType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromdataFusionRuntimeTypeAsString().- Returns:
- Specifies the DataFusion tokio runtime type.
Default: multi-thread
- See Also:
-
dataFusionRuntimeDisableLifoSlot
Disables the LIFO slot of the DataFusion runtime.
- Returns:
- Disables the LIFO slot of the DataFusion runtime.
-
dataFusionRuntimeEventInterval
Sets the number of scheduler ticks after which the scheduler of the DataFusion tokio runtime polls for external events–for example: timers, I/O.
- Returns:
- 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
Sets the number of scheduler ticks after which the scheduler of the DataFusion runtime polls the global task queue.
- Returns:
- Sets the number of scheduler ticks after which the scheduler of the DataFusion runtime polls the global task queue.
-
dataFusionRuntimeMaxBlockingThreads
Specifies the limit for additional threads spawned by the DataFusion runtime.
- Returns:
- Specifies the limit for additional threads spawned by the DataFusion runtime.
-
dataFusionRuntimeMaxIoEventsPerTick
Configures the maximum number of events processed per tick by the tokio DataFusion runtime.
- Returns:
- Configures the maximum number of events processed per tick by the tokio DataFusion runtime.
-
dataFusionRuntimeThreadKeepAlive
Sets a custom timeout for a thread in the blocking pool of the tokio DataFusion runtime.
- Returns:
- Sets a custom timeout for a thread in the blocking pool of the tokio DataFusion runtime.
-
dataFusionRuntimeThreadPriority
Sets the thread priority for tokio DataFusion runtime workers.
Default: 10
- Returns:
- Sets the thread priority for tokio DataFusion runtime workers.
Default: 10
-
dataFusionMaxParquetFanout
When multiple parquet files are required in a sorted way (deduplication for example), specifies the maximum fanout.
Default: 1000
- Returns:
- When multiple parquet files are required in a sorted way (deduplication for example), specifies the
maximum fanout.
Default: 1000
-
dataFusionUseCachedParquetLoader
Uses a cached parquet loader when reading parquet files from the object store.
- Returns:
- Uses a cached parquet loader when reading parquet files from the object store.
-
dataFusionConfig
Provides custom configuration to DataFusion as a comma-separated list of key:value pairs.
- Returns:
- Provides custom configuration to DataFusion as a comma-separated list of key:value pairs.
-
maxHttpRequestSize
Specifies the maximum size of HTTP requests.
Default: 10485760
- Returns:
- Specifies the maximum size of HTTP requests.
Default: 10485760
-
forceSnapshotMemThreshold
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%
- Returns:
- 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
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
- Returns:
- 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
Specifies the maximum number of write requests that can be buffered before a flush must be executed and succeed.
Default: 100000
- Returns:
- Specifies the maximum number of write requests that can be buffered before a flush must be executed and
succeed.
Default: 100000
-
snapshottedWalFilesToKeep
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
- Returns:
- 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
Specifies the interval to prefetch into the Parquet cache during compaction.
Default: 3d
- Returns:
- Specifies the interval to prefetch into the Parquet cache during compaction.
Default: 3d
-
parquetMemCachePrunePercentage
Specifies the percentage of entries to prune during a prune operation on the in-memory Parquet cache.
Default: 0.1
- Returns:
- Specifies the percentage of entries to prune during a prune operation on the in-memory Parquet cache.
Default: 0.1
-
parquetMemCachePruneInterval
Sets the interval to check if the in-memory Parquet cache needs to be pruned.
Default: 1s
- Returns:
- Sets the interval to check if the in-memory Parquet cache needs to be pruned.
Default: 1s
-
disableParquetMemCache
Disables the in-memory Parquet cache. By default, the cache is enabled.
- Returns:
- Disables the in-memory Parquet cache. By default, the cache is enabled.
-
parquetMemCacheQueryPathDuration
Specifies the time window for caching recent Parquet files in memory.
Default: 5h
- Returns:
- Specifies the time window for caching recent Parquet files in memory.
Default: 5h
-
lastCacheEvictionInterval
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
- Returns:
- 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
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
- Returns:
- 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
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 that the compactor in InfluxDB 3 Enterprise can merge into larger generations.
Default: 10m
- Returns:
- 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
that the compactor in InfluxDB 3 Enterprise can merge into larger generations.
Default: 10m
-
execMemPoolBytes
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%
- Returns:
- 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
Specifies the size of the in-memory Parquet cache in megabytes or percentage of total available memory.
Default: 20%
- Returns:
- Specifies the size of the in-memory Parquet cache in megabytes or percentage of total available
memory.
Default: 20%
-
walReplayFailOnError
Determines whether WAL replay should fail when encountering errors.
Default: false
- Returns:
- Determines whether WAL replay should fail when encountering errors.
Default: false
-
walReplayConcurrencyLimit
Concurrency limit during WAL replay. Setting this number too high can lead to OOM. The default is dynamically determined.
Default: max(num_cpus, 10)
- Returns:
- 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
Specifies the maximum number of entries in the table index cache.
Default: 1000
- Returns:
- Specifies the maximum number of entries in the table index cache.
Default: 1000
-
tableIndexCacheConcurrencyLimit
Limits the concurrency level for table index cache operations.
Default: 8
- Returns:
- Limits the concurrency level for table index cache operations.
Default: 8
-
gen1LookbackDuration
Specifies how far back to look when creating generation 1 Parquet files.
Default: 24h
- Returns:
- Specifies how far back to look when creating generation 1 Parquet files.
Default: 24h
-
retentionCheckInterval
The interval at which retention policies are checked and enforced. Enter as a human-readable time–for example: 30m or 1h.
Default: 30m
- Returns:
- The interval at which retention policies are checked and enforced. Enter as a human-readable time–for
example: 30m or 1h.
Default: 30m
-
deleteGracePeriod
Specifies the grace period before permanently deleting data.
Default: 24h
- Returns:
- Specifies the grace period before permanently deleting data.
Default: 24h
-
hardDeleteDefaultDuration
Sets the default duration for hard deletion of data.
Default: 90d
- Returns:
- Sets the default duration for hard deletion of data.
Default: 90d
-
toBuilder
Description copied from interface:ToCopyableBuilderTake this object and create a builder that contains all of the current property values of this object.- Specified by:
toBuilderin interfaceToCopyableBuilder<InfluxDBv3CoreParameters.Builder,InfluxDBv3CoreParameters> - Returns:
- a builder for type T
-
builder
-
serializableBuilderClass
-
hashCode
-
equals
-
equalsBySdkFields
Description copied from interface:SdkPojoIndicates whether some other object is "equal to" this one by SDK fields. An SDK field is a modeled, non-inherited field in anSdkPojoclass, and is generated based on a service model.If an
SdkPojoclass does not have any inherited fields,equalsBySdkFieldsandequalsare essentially the same.- Specified by:
equalsBySdkFieldsin interfaceSdkPojo- Parameters:
obj- the object to be compared with- Returns:
- true if the other object equals to this object by sdk fields, false otherwise.
-
toString
-
getValueForField
-
sdkFields
-
sdkFieldNameToField
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo- Returns:
- The mapping between the field name and its corresponding field.
-