Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Low query performance of 0.9.6 dealing with high res time series #5351

Closed
xrl opened this issue Jan 13, 2016 · 6 comments
Closed

Low query performance of 0.9.6 dealing with high res time series #5351

xrl opened this issue Jan 13, 2016 · 6 comments

Comments

@xrl
Copy link

xrl commented Jan 13, 2016

I am using telegraf to instrument 15 or so servers with a 10s sampling interval. The influxdb host started off very responsive and able to return results for large timespans. Now it is very slow and I am forced to change my time range down to 30 minutes to get a reasonable response time. I am using Grafana 2.5 to query influxdb.

You can see the influx and telegraf configs here: https://gist.github.com/xrl/4dddb71eabd606304065

@johnseekins
Copy link

I know they recommend not having the WAL on the same disk as the data.

dir = "/var/lib/influxdb/data"
wal-dir = "/var/lib/influxdb/wal"

You could try moving that.

@beckettsean
Copy link
Contributor

@xrl what are the machine specs of the InfluxDB server, and how many points per second are the telegraf sources writing?

What are some actual queries and their response times from the logs?

@jwilder jwilder added the bz1 label Jan 15, 2016
@steverweber
Copy link

if viewing a large timespan of data that is granular 10s interval, you might want to create a continuous query.
https://influxdb.com/docs/v0.9/query_language/continuous_queries.html

another fix, Perhaps try tweaking auto in the "GROUP BY time(auto)"

I wish grafana's group by time(auto) was 1/2 as granular by default,
grafana/grafana#3763

@jwilder jwilder changed the title Low performance of 0.9.6 dealing with high res time series Low query performance of 0.9.6 dealing with high res time series Feb 8, 2016
@jwilder
Copy link
Contributor

jwilder commented Feb 8, 2016

This should be fixed after #5196 is merged.

@steverweber
Copy link

wow that's A pull request.

@jwilder
Copy link
Contributor

jwilder commented Mar 18, 2016

Closing since the new query engine has been merged and there are no steps to reproduce this issue.

@jwilder jwilder closed this as completed Mar 18, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

5 participants