Skip to content

DISTINCT query is very slow when compression is enabled #70

@freol35241

Description

@freol35241

Related to this: https://github.com/MO-RISE/pontos-hub/blob/main/database/always-initdb.d/010-pontos-api-setup.sql#L5 (Which should be changed to ... DISTINCT ON (vessel_id) vessel_id ...)

But the main problem is this: timescale/timescaledb#3070

Where the current skip-scan functionality in TimescaleDB does not work together with compressed chunks.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions