Slowness when doing basic queries #23690
Unanswered
jeremyaouad
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I was testing with Influx 2.3 container.
I have a set of 80 metrics, emitted every 10 seconds, for about 500 processes => cardinality of 500*80 = 40000.
I didn't put any limits on the influxdb container cpu and memory.
The machine I'm testing on has 28 cores and 500GB ram. I'm using the ram as storage for influxdb (bbolt mounted on a tmpfs volume), with a read/write speed of 3 GB/sec.
I wrote 12 very basic queries of the sort "select * from x where y = z" in a file and launched them periodically, every 10 sec, and timed the duration of the execution. In the query, I set the range for the past 10 seconds. The returned data set would be between 200 and 400 records.
I observed the following:
I also launched the queries with the profiler output. The execution time was taking all of the time. Specifically this:
influxdb.readWindowAggregateSource,ReadWindowAggregateByTime11
Is there something I'm missing?
Thanks.
Beta Was this translation helpful? Give feedback.
All reactions