From 36aec23cac1b3991d208755e2aaf35d6511f94d2 Mon Sep 17 00:00:00 2001 From: Isaac Prior Date: Thu, 6 Jun 2019 10:49:54 +0100 Subject: [PATCH] Enables InfluxDB TSI data storage as default See https://docs.influxdata.com/influxdb/v1.7/concepts/time-series-index/ and https://docs.influxdata.com/influxdb/v1.7/concepts/tsi-details/ for details. Change-Id: Id0daa331378473cb2629228f323d5bc01cb80750 --- devstack/files/influxdb/influxdb.conf | 1 + doc/source/admin/index.rst | 10 ++++++++++ .../notes/enable-disk-tsi-40f29262a0301531.yaml | 8 ++++++++ 3 files changed, 19 insertions(+) create mode 100644 releasenotes/notes/enable-disk-tsi-40f29262a0301531.yaml diff --git a/devstack/files/influxdb/influxdb.conf b/devstack/files/influxdb/influxdb.conf index 5da8a4215..1d2ee917a 100644 --- a/devstack/files/influxdb/influxdb.conf +++ b/devstack/files/influxdb/influxdb.conf @@ -58,6 +58,7 @@ # recreated at startup. A value of "tsi1" will use a disk based index that supports higher # cardinality datasets. # index-version = "inmem" + index-version = "tsi1" # Trace logging provides more verbose output around the tsm engine. Turning # this on can provide more useful output for debugging tsm engine issues. diff --git a/doc/source/admin/index.rst b/doc/source/admin/index.rst index 5f6c07a15..5499d9f44 100644 --- a/doc/source/admin/index.rst +++ b/doc/source/admin/index.rst @@ -62,3 +62,13 @@ Provide the following alongside the story: 2. The fingerprint shown in the error message. 3. The output of ``monasca_db fingerprint --raw``. + +Time Series Databases Setup +~~~~~~~~~~~~~~~~~~~~~~~~~~~ + +Enabling InfluxDB Time Series Index in existing deployments +----------------------------------------------------------- + +If enabling TSI on an existing InfluxDB install please follow the instructions +for migrating existing data here: +https://docs.influxdata.com/influxdb/v1.7/administration/upgrading/#upgrading-influxdb-1-3-1-4-no-tsi-preview-to-1-7-x-tsi-enabled diff --git a/releasenotes/notes/enable-disk-tsi-40f29262a0301531.yaml b/releasenotes/notes/enable-disk-tsi-40f29262a0301531.yaml new file mode 100644 index 000000000..1fa3fb480 --- /dev/null +++ b/releasenotes/notes/enable-disk-tsi-40f29262a0301531.yaml @@ -0,0 +1,8 @@ +--- +upgrade: + - | + Changes InfluxDB data from in-memory to disk storage + (see https://docs.influxdata.com/influxdb/v1.7/concepts/time-series-index/). + If upgrading an existing InfluxDB install please follow the instructions + for migrating existing data here: + https://docs.influxdata.com/influxdb/v1.7/administration/upgrading/#upgrading-influxdb-1-3-1-4-no-tsi-preview-to-1-7-x-tsi-enabled