Skip to content

query_api.query using only one core 100%, makes query too slow #484

@YellaGoya

Description

@YellaGoya

I`m tyring to use Python client for my project but it loads only one core 100%

test code querying COUNT() of 1 day ( 864,000 row, every 0.1sec ) error_code

query = ' from(bucket: "samsung")
|> range(start: 2022-04-20T00:00:00Z, stop: 2022-04-21T00:00:00Z)
|> filter(fn: (r) => r["_measurement"] == "*****ng")
|> filter(fn: (r) => r["_field"] == "Error_Code")
|> count()'
temp = query_api.query(org=org, query=query)

is there any way to load all-core for querying?

Expected behavior:
load all cores

Actual behavior:
load only one core 100%

Specifications:

  • InfluxDB Version:2.3.0
  • Platform:Ubuntu 20.04 LTS
  • Ryzen threadripper 24-core

Metadata

Metadata

Assignees

No one assigned

    Labels

    questionFurther information is requestedwontfixThis will not be worked on

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions