influxdata / influxdata/influxdb

count() is very slow

Open
#21,641 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Rust
Stars
31.7k
Forks
3.7k
Avg merge
13h 37m
Merged PRs (30d)
8

Description

i have about one Billion series, and i need get specific rows size

query sql --> select count(*) from softTest where id = 'softId'

it's has execute one hour ,but has not result

it's me use error? influxdb oss version is 1.8.6

Contributor guide

Open the contributing guide

Research direction

Start by reproducing the reported `select count(*) from softTest where id = 'softId'` query against InfluxDB OSS 1.8.6 with a comparable series count. Investigate whether the hour-long execution is expected for this query and identify the relevant performance limitation or behavior. Done means explaining the cause and documenting or addressing a verified fix.

Written by the indexing model from the issue text.

Assessment

Tech stack
sql
Domain
databases
Issue type
Bug
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
20/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.