Upgrading to InfluxDB 1.7.x
This page documents an earlier version of InfluxDB. InfluxDB v2.4 is the latest stable version.
We recommend enabling Time Series Index (TSI) (step 3 of Upgrade to InfluxDB 1.7.x). To learn more about TSI, see:
Note: The default InfluxDB configuration continues to use in-memory indexes (
inmem) (as in earlier versions).
Upgrade to InfluxDB Enterprise
Upgrade to InfluxDB 1.7.x
Migrate configuration file customizations from your existing configuration file to the InfluxDB 1.7.x configuration file. Add or modify your environment variables as needed.
To enable TSI in InfluxDB 1.7.x, complete the following steps:
a. If using the InfluxDB configuration file, find the
index-version = "inmem"and change the value to
b. If using environment variables, set
c. Delete shard
indexdirectories (by default, located at
d. Build TSI by running the influx_inspect buildtsi command.
Note Run the buildtsi command using the user account that you are going to run the database as, or ensure that the permissions match afterward.
Switch index types
Switch index types at any time by doing one of the following:
- To switch from to
tsi1, complete steps 3 and 4 above in Upgrade to InfluxDB 1.7.x.
- To switch from to
inmemby completing steps 3a-3c and 4 above in Upgrade to InfluxDB 1.7.x.
To downgrade to an earlier version, complete the procedures above in Upgrade to InfluxDB 1.7.x, replacing the version numbers with the version that you want to downgrade to. After downloading the release, migrating your configuration settings, and enabling TSI or TSM, make sure to rebuild your index.
Note: Some versions of InfluxDB may have breaking changes that impact your ability to upgrade and downgrade. For example, you cannot downgrade from InfluxDB 1.3 or later to an earlier version. Please review the applicable version of release notes to check for compatibility issues between releases.
Upgrade InfluxDB Enterprise clusters
Was this page helpful?
Thank you for your feedback!
Support and feedback
Thank you for being part of our community! We welcome and encourage your feedback and bug reports for InfluxDB and this documentation. To find support, use the following resources:
InfluxDB Cloud and InfluxDB Enterprise customers can contact InfluxData Support.