Skip to content

Performance #78

Closed
Closed
@JSchnepp

Description

@JSchnepp

Hello everybody,

In the current beta release of Influxdb 2, I have built a time series database for 11 zones (tag). Each zone contains a float load value (field) over the period from 01-2006 to 02-2020 in 5 minute intervals. Each zone therefore contains 1489536 load values.
With the Influx Data Explorer, the following query of the data within "Zone 1" including the time for printing the curve takes less than 3 seconds.

query = 'from (bucket: "my_bucket")'
                                    '|> range (start: -13mo, stop: -1mo)'
                                    '|> filter (fn: (r) => r._measurement == "my_measurement")'
                                    '|> filter (fn: (r) => r.Zone == "Zone1")'

For the identical query via the python influxdb interface the following program line

result = client.query_api (). query (org = org, query = query)

requires 63 seconds.

According to your experience what measures have to be taken to bring the response time to the order of 3 seconds?

best regards JS

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingquestionFurther information is requested

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions