Skip to content

Timestamp Sorting for Faster Data Access #65

@EnoRage

Description

@EnoRage

Current Problem

When we fetch mempool data (transactions), we don't sort transactions by timestamp. This makes it slow to find transactions within specific time ranges.

Why This Matters

  • Searching for transactions in a time range is much slower than it could be
  • Each search has to scan through unsorted data
  • This affects performance of time-based queries

Simple Solution

Sort the data by timestamp when saving it. This will make time-based searches much faster. Also we could split it with smaller equal row_group_size like 5000

Expected Benefits

  • Much faster time-range searches

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