Skip to content

[Feature] Paimon dynamic bucket supports adding buckets based on storage size. #1816

Open

Description

@newsuperchao

Search before asking

  • I searched in the issues and found nothing similar.

Motivation

The existing dynamic bucket solution is based on the data volume within each bucket to determine whether to add a new one. Due to the need to cache primary keys, when the table's data volume is large, more memory is required to support the dynamic bucket feature. It is hoped that the addition of buckets can be determined based on the storage size of the buckets, reducing the additional memory overhead.

Solution

By detecting whether the written bucket capacity reaches a threshold before adding new ones, it's also necessary to consider the scenario where the bucket capacity might decrease after bucket compaction.

Anything else?

No response

Are you willing to submit a PR?

  • I'm willing to submit a PR!

Activity

  1. FireFreedomK commented on Aug 17, 2023

    @FireFreedomK

    I am interested in this issue, where should I go to view the existing dynamic bucket solution。I don't have a good idea at the moment, but it feels very feasible。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions