Skip to content
Snippets Groups Projects
Commit 015ddb6e authored by Doug Szumski's avatar Doug Szumski
Browse files

Enable InfluxDB TSI by default

The TSI is recommended for all users. Some of the key benefits are
a reduction in memory requirements and an increase in the maximum
number of time series. For more information see this link:

https://docs.influxdata.com/influxdb/v1.7/concepts/tsi-details/

Change-Id: I4b29eb5a4ae82f6c39059d0b6de41debdfd75508
parent 8ce545e7
No related branches found
No related tags found
No related merge requests found
......@@ -25,6 +25,14 @@ influxdb_services:
external: false
port: "{{ influxdb_http_port }}"
####################
# InfluxDB
####################
# Enable the disk based time series index (recommended for all users). For
# more information see here:
# https://docs.influxdata.com/influxdb/v1.7/concepts/time-series-index/
influxdb_enable_tsi: True
####################
# Docker
......
......@@ -11,6 +11,11 @@ reporting-disabled = true
wal-dir = "/var/lib/influxdb/wal"
wal-logging-enabled = true
data-logging-enabled = true
{% if influxdb_enable_tsi | bool %}
index-version = "tsi1"
{% else %}
index-version = "inmem"
{% endif %}
[coordinator]
write-timeout = "10s"
max-concurrent-queries = 0
......
---
upgrade:
- InfluxDB TSI has been enabled by default. It is recommended for all
customers by InfluxData. If you do not want to enable it you can set
the variable 'influxdb_enable_tsi' to 'False' in 'globals.yml'.
Instructions to migrate existing data to the new, disk based format
can be found at
https://docs.influxdata.com/influxdb/v1.7/administration/upgrading/
If you do not follow the migration proceedure, InfluxDB should continue
to work, but this is not recommended.
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment