This is archived documentation for InfluxData product versions that are no longer maintained. For newer documentation, see the latest InfluxData documentation.
This page aims to ease the transition from InfluxDB 0.13 to InfluxDB 1.0. It is not intended to be a comprehensive list of the differences between the versions. See InfluxDB’s Changelog for detailed release notes.
- Breaking Changes
SHOW FIELD KEYSreturns fields’ data types
- Modified name for the auto-generated retention policy
- New InfluxQL syntax introduces casting and differentiating between identical field and tag keys
- InfluxQL function updates
- Logging change
- Add support for JWT token authentication
- Add tsm file export to influx_inspect tool
max-series-per-databasewas added with a default of 1M but can be disabled by setting it to
0. Existing databases with series that exceed this limit will continue to load but writes that would create new series will fail.
- Config section
[cluster]has been replaced with
- Config sections
[opentsdb]have been renamed
- Config option
[data]has been renamed to
trace-logging-enabledand defaults to
- The keywords
NOTwhere removed for this release. This means you no longer can or need to specify
IF NOT EXISTSfor
CREATE DATABASE. If these are specified, a query parse error is returned.
SHOW STATSShard stat
writePointsFailhas been renamed to
writePointsErrfor consistency with other stats.
SHOW FIELD KEYS returns fields’ data types
Starting with InfluxDB version 1.0, the
SHOW FIELD KEYS query also returns the
field’s data type.
> SHOW FIELD KEYS FROM all_the_types
Version 0.13 output: Version 1.0 output:
name: all_the_types name: all_the_types ------------------- ------------------- fieldKey fieldKey fieldType blue blue string green green boolean orange orange integer yellow yellow float
See Schema Exploration for further documentation.
Modified name for the auto-generated retention policy
Starting with version 1.0, the auto-generated retention policy on a new database will be named
autogen rather than
New InfluxQL syntax introduces casting and differentiating between identical field and tag keys
In versions prior to 1.0, users
were unable to query data
that had matching tag keys and field keys.
<identifier>::<field,tag> syntax allows users to differentiate between
tag keys and field keys with the same name.
See Data Exploration
for an example query.
:: syntax also offers new casting functionality; users can cast field
values from integers to floats or from floats to integers.
Check out Data Exploration for more information.
InfluxQL function Updates
Using a wildcard with aggregation functions
InfluxDB 1.0 supports using a wildcard (
aggregation functions to specify all
fields in the targeted measurement.
> SELECT COUNT(*) FROM "web" name: web --------- time count_click count_ratings count_user 0 37 9 17
See Functions for more examples.
InfluxDB 1.0 offers a new InfluxQL predictor function.
HOLT_WINTERS() returns a user-specified number of predicted values for a
single field using the Holt-Winters seasonal
See Functions for an
explanation of the
HOLT_WINTERS() syntax and an example query.
Mode has also been added. See Functions for an
explanation of the
MODE() syntax and an example query.
InfluxDB logging change
Starting with version 1.0, InfluxDB on systemd systems will no longer
write files to
/var/log/influxdb by default, and will now use the
system configured default for logging (usually journald). On most
systems, the logs will be directed to the systemd journal and can be
accessed with the command:
sudo journalctl -u influxdb.service
Please consult the systemd journald documentation for configuring journald.
See Logs for more information.
JWT Token Authentication
JWT Token Authentication support has been added to the query api. See Set Up Authentication
Influx Inspect Export
The influx inspect tool now supports the ability to export data directly from a shard. See Influx Inspect for more information.