Skip to content

Commit 6d7ac79

Browse files
authored
Merge pull request #5913 from influxdata/jts-5911-fix-enterprise-cli-ref
fix(influxdb3): Enterprise: update options in CLI reference:
2 parents ee9ba66 + 13e3f73 commit 6d7ac79

File tree

2 files changed

+179
-144
lines changed

2 files changed

+179
-144
lines changed

content/influxdb3/enterprise/reference/config-options.md

Lines changed: 62 additions & 78 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,7 @@ influxdb3 serve
5454
- [object-store](#object-store)
5555
- [data-dir](#data-dir)
5656
- [node-id](#node-id)
57+
- [cluster-id](#cluster-id)
5758
- [mode](#mode)
5859
- [license-email](#license-email)
5960
- [query-file-limit](#query-file-limit)
@@ -112,7 +113,6 @@ influxdb3 serve
112113
- [Memory](#memory)
113114
- [ram-pool-data-bytes](#ram-pool-data-bytes)
114115
- [exec-mem-pool-bytes](#exec-mem-pool-bytes)
115-
- [buffer-mem-limit-mb](#buffer-mem-limit-mb)
116116
- [force-snapshot-mem-threshold](#force-snapshot-mem-threshold)
117117
- [Write-Ahead Log (WAL)](#write-ahead-log-wal)
118118
- [wal-flush-interval](#wal-flush-interval)
@@ -123,17 +123,14 @@ influxdb3 serve
123123
- [read-from-node-ids](#read-from-node-ids)
124124
- [replication-interval](#replication-interval)
125125
- [Compaction](#compaction)
126-
- [compactor-id](#compactor-id)
127-
- [compact-from-node-ids](#compact-from-node-ids)
128-
- [run-compactions](#run-compactions)
129126
- [compaction-row-limit](#compaction-row-limit)
130127
- [compaction-max-num-files-per-plan](#compaction-max-num-files-per-plan)
131128
- [compaction-gen2-duration](#compaction-gen2-duration)
132129
- [compaction-multipliers](#compaction-multipliers)
133130
- [gen1-duration](#gen1-duration)
134131
- [Caching](#caching)
135132
- [preemptive-cache-age](#preemptive-cache-age)
136-
- [parquet-mem-cache-size-mb](#parquet-mem-cache-size-mb)
133+
- [parquet-mem-cache-size](#parquet-mem-cache-size)
137134
- [parquet-mem-cache-prune-percentage](#parquet-mem-cache-prune-percentage)
138135
- [parquet-mem-cache-prune-interval](#parquet-mem-cache-prune-interval)
139136
- [disable-parquet-mem-cache](#disable-parquet-mem-cache)
@@ -153,6 +150,7 @@ influxdb3 serve
153150
- [bucket](#bucket)
154151
- [data-dir](#data-dir)
155152
- [node-id](#node-id)
153+
- [cluster-id](#cluster-id)
156154
- [mode](#mode)
157155
- [license-email](#license-email)
158156
- [query-file-limit](#query-file-limit)
@@ -162,12 +160,12 @@ influxdb3 serve
162160
Specifies which object storage to use to store Parquet files.
163161
This option supports the following values:
164162

165-
- `memory` _(default)_
166-
- `memory-throttled`
167-
- `file`
168-
- `s3`
169-
- `google`
170-
- `azure`
163+
- `memory` _(default)_: Effectively no object persistence
164+
- `memory-throttled`: Like `memory` but with latency and throughput that somewhat resembles a cloud object store
165+
- `file`: Stores objects in the local filesystem (must also set `--data-dir`)
166+
- `s3`: Amazon S3 (must also set `--bucket`, `--aws-access-key-id`, `--aws-secret-access-key`, and possibly `--aws-default-region`)
167+
- `google`: Google Cloud Storage (must also set `--bucket` and `--google-service-account`)
168+
- `azure`: Microsoft Azure blob storage (must also set `--bucket`, `--azure-storage-account`, and `--azure-storage-access-key`)
171169

172170
| influxdb3 serve option | Environment variable |
173171
| :--------------------- | :----------------------- |
@@ -197,17 +195,30 @@ configuration--for example, the same bucket.
197195

198196
---
199197

198+
#### cluster-id
199+
200+
Specifies the cluster identifier that prefixes the object store path for the Enterprise Catalog.
201+
This value must be different than the [`--node-id`](#node-id) value.
202+
203+
| influxdb3 serve option | Environment variable |
204+
| :--------------------- | :--------------------------------- |
205+
| `--cluster-id` | `INFLUXDB3_ENTERPRISE_CLUSTER_ID` |
206+
207+
---
208+
200209
#### mode
201210

202211
Sets the mode to start the server in.
203212

204213
This option supports the following values:
205214

206-
- `read`
207-
- `read_write` _(default)_
208-
- `compactor`
215+
- `all` _(default)_
216+
- `ingest`
217+
- `query`
218+
- `compact`
219+
- `process`
209220

210-
**Default:** `read_write`
221+
**Default:** `all`
211222

212223
| influxdb3 serve option | Environment variable |
213224
| :--------------------- | :-------------------------- |
@@ -844,36 +855,25 @@ Specifies the size of the RAM cache used to store data, in bytes.
844855

845856
#### exec-mem-pool-bytes
846857

847-
Specifies the size of the memory pool used during query execution, in bytes.
858+
Specifies the size of memory pool used during query execution.
859+
Can be given as absolute value in bytes or as a percentage of the total available memory--for
860+
example: `8000000000` or `10%`).
848861

849-
**Default:** `8589934592`
862+
**Default:** `20%`
850863

851864
| influxdb3 serve option | Environment variable |
852865
| :---------------------- | :------------------------------ |
853866
| `--exec-mem-pool-bytes` | `INFLUXDB3_EXEC_MEM_POOL_BYTES` |
854867

855868
---
856869

857-
#### buffer-mem-limit-mb
858-
859-
Specifies the size limit of the buffered data in MB. If this limit is exceeded,
860-
the server forces a snapshot.
861-
862-
**Default:** `5000`
863-
864-
| influxdb3 serve option | Environment variable |
865-
| :---------------------- | :------------------------------ |
866-
| `--buffer-mem-limit-mb` | `INFLUXDB3_BUFFER_MEM_LIMIT_MB` |
867-
868-
---
869-
870870
#### force-snapshot-mem-threshold
871+
<span id="buffer-mem-limit-mb" />
871872

872873
Specifies the threshold for the internal memory buffer. Supports either a
873-
percentage (portion of available memory)of or absolute value
874-
(total bytes)--for example: `70%` or `100000`.
874+
percentage (portion of available memory) or absolute value in MB--for example: `70%` or `1000`.
875875

876-
**Default:** `70%`
876+
**Default:** `50%`
877877

878878
| influxdb3 serve option | Environment variable |
879879
| :------------------------------- | :--------------------------------------- |
@@ -972,49 +972,15 @@ Defines the interval at which each replica specified in the
972972

973973
### Compaction
974974

975-
- [compactor-id](#compactor-id)
976-
- [compact-from-node-ids](#compact-from-node-ids)
977-
- [run-compactions](#run-compactions)
978975
- [compaction-row-limit](#compaction-row-limit)
979976
- [compaction-max-num-files-per-plan](#compaction-max-num-files-per-plan)
980977
- [compaction-gen2-duration](#compaction-gen2-duration)
981978
- [compaction-multipliers](#compaction-multipliers)
979+
- [compaction-cleanup-wait](#compaction-cleanup-wait)
982980
- [gen1-duration](#gen1-duration)
983981

984-
#### compactor-id
985-
986-
Specifies the prefix in the object store where all compacted data is written.
987-
Provide this option only if this server should handle compaction for its own
988-
write buffer and any replicas it manages.
989-
990-
| influxdb3 serve option | Environment variable |
991-
| :--------------------- | :---------------------------------- |
992-
| `--compactor-id` | `INFLUXDB3_ENTERPRISE_COMPACTOR_ID` |
993-
994-
---
995-
996-
#### compact-from-node-ids
997-
998-
Defines a comma-separated list of writer identifier prefixes from which data is
999-
compacted.
1000-
1001-
| influxdb3 serve option | Environment variable |
1002-
| :-------------------------- | :--------------------------------------------- |
1003-
| `--compact-from-node-ids` | `INFLUXDB3_ENTERPRISE_COMPACT_FROM_WRITER_IDS` |
1004982

1005-
---
1006983

1007-
#### run-compactions
1008-
1009-
Indicates that the server should run compactions. Only a single server should
1010-
run compactions for a given `compactor-id`. This option is only applicable if a
1011-
`compactor-id` is set.
1012-
1013-
| influxdb3 serve option | Environment variable |
1014-
| :--------------------- | :------------------------------------- |
1015-
| `--run-compactions` | `INFLUXDB3_ENTERPRISE_RUN_COMPACTIONS` |
1016-
1017-
---
1018984

1019985
#### compaction-row-limit
1020986

@@ -1070,6 +1036,19 @@ compaction levels. The first element specifies the duration of the first level
10701036

10711037
---
10721038

1039+
#### compaction-cleanup-wait
1040+
1041+
Specifies the amount of time that the compactor waits after finishing a compaction run
1042+
to delete files marked as needing deletion during that compaction run.
1043+
1044+
**Default:** `10m`
1045+
1046+
| influxdb3 serve option | Environment variable |
1047+
| :-------------------------- | :--------------------------------------------- |
1048+
| `--compaction-cleanup-wait` | `INFLUXDB3_ENTERPRISE_COMPACTION_CLEANUP_WAIT` |
1049+
1050+
---
1051+
10731052
#### gen1-duration
10741053

10751054
Specifies the duration that Parquet files are arranged into. Data timestamps
@@ -1088,7 +1067,7 @@ compactor can merge into larger generations.
10881067
### Caching
10891068

10901069
- [preemptive-cache-age](#preemptive-cache-age)
1091-
- [parquet-mem-cache-size-mb](#parquet-mem-cache-size-mb)
1070+
- [parquet-mem-cache-size](#parquet-mem-cache-size)
10921071
- [parquet-mem-cache-prune-percentage](#parquet-mem-cache-prune-percentage)
10931072
- [parquet-mem-cache-prune-interval](#parquet-mem-cache-prune-interval)
10941073
- [disable-parquet-mem-cache](#disable-parquet-mem-cache)
@@ -1108,17 +1087,16 @@ Specifies the interval to prefetch into the Parquet cache during compaction.
11081087

11091088
---
11101089

1111-
#### parquet-mem-cache-size-mb
1112-
1113-
Defines the size of the in-memory Parquet cache in megabytes (MB).
1090+
#### parquet-mem-cache-size
1091+
<span id="parquet-mem-cache-size-mb" />
11141092

1115-
**Default:** `1000`
1093+
Specifies the size of the in-memory Parquet cache in megabytes or percentage of total available memory.
11161094

1117-
| influxdb3 serve option | Environment variable |
1118-
| :---------------------------- | :------------------------------------ |
1119-
| `--parquet-mem-cache-size-mb` | `INFLUXDB3_PARQUET_MEM_CACHE_SIZE_MB` |
1095+
**Default:** `20%`
11201096

1121-
---
1097+
| influxdb3 serve option | Environment variable |
1098+
| :-------------------------- | :---------------------------------- |
1099+
| `--parquet-mem-cache-size` | `INFLUXDB3_PARQUET_MEM_CACHE_SIZE` |
11221100

11231101
#### parquet-mem-cache-prune-percentage
11241102

@@ -1225,7 +1203,13 @@ engine uses.
12251203

12261204
Specifies the Python package manager that the processing engine uses.
12271205

1228-
**Default:** `10s`
1206+
This option supports the following values:
1207+
1208+
- `discover` _(default)_: Automatically discover available package manager
1209+
- `pip`: Use pip package manager
1210+
- `uv`: Use uv package manager
1211+
1212+
**Default:** `discover`
12291213

12301214
| influxdb3 serve option | Environment variable |
12311215
| :--------------------- | :------------------- |

0 commit comments

Comments
 (0)