Skip to content

Slow performace when using ORDER BY #430

Closed
@Ryiski

Description

@Ryiski

I've noticed queries are running extremely slow when I try and ORDER BY on the logs

You can give it a test on Postman

Slow query:

{
    "query": "SELECT * FROM frontend ORDER BY p_timestamp LIMIT 30 OFFSET 0",
    "startTime": "2022-03-01T00:00:00Z",
    "endTime": "2023-06-03T23:59:59.999Z"
}

Fast query:

{
    "query": "SELECT * FROM frontend LIMIT 30 OFFSET 0",
    "startTime": "2022-03-01T00:00:00Z",
    "endTime": "2023-06-03T23:59:59.999Z"
}

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions