Skip to content

[OSPP 2025] Tracking issues: Support time series data structure and commands #3048

Open
@yezhizi

Description

@yezhizi

Search before asking

  • I had searched in the issues and found no similar issues.

Motivation

Part of OSPP 2025.
This task is to implement the time series data structure and its commands on Kvrocks.

We have broken down the task into multiple subtasks and will track them in this issue.

  • Initialize metadata.

  • Write Operations(TS.CREATE/TS.ADD/TS.MADD): Support uncompressed chunk storage.

  • Query Operations(TS.GET/TS.RANGE): Implement time-range scans with chunk iteration.

  • Multi-Series Queries(TS.MGET/TS.MRANGE): Support label-based indexing and filter expressions.

  • Downsampling Rules(TS.CREATERULE): Implement downstream_key metadata and aggregation logic.

  • Retention: Implement retention policy with compaction filters.

  • Out-of-Order Writes & Deletion(TS.DEL, TS.INCRBY/DECRBY): Handle non-append writes.

  • (Optional) Compressed Chunk Support: Integrate Gorilla compression for timestamps/values.

Solution

No response

Are you willing to submit a PR?

  • I'm willing to submit a PR!

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions