Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[DocDB] Decouple table schema from tablet metadata #14221

Open
lingamsandeep opened this issue Sep 28, 2022 · 0 comments
Open

[DocDB] Decouple table schema from tablet metadata #14221

lingamsandeep opened this issue Sep 28, 2022 · 0 comments
Assignees
Labels
area/docdb YugabyteDB core features kind/enhancement This is an enhancement of an existing feature priority/medium Medium priority issue

Comments

@lingamsandeep
Copy link
Contributor

lingamsandeep commented Sep 28, 2022

Jira Link: DB-3681

Description

Currently TableInfo for all tables in a colocated database are stored in the superblock of the parent tablet. This is a serialized proto file where the entire file is read/written as a single unit.
As a result of this, as the number of tables increases, the size of the file increases and therefore the latency of the operation also increases.

Proposal is to decouple the table schema from tablet metadata so that adding/removing tables results in a incremental update to the metadata as opposed to a full file update.

@lingamsandeep lingamsandeep added area/docdb YugabyteDB core features status/awaiting-triage Issue awaiting triage labels Sep 28, 2022
@yugabyte-ci yugabyte-ci added kind/bug This issue is a bug priority/medium Medium priority issue labels Sep 28, 2022
@yugabyte-ci yugabyte-ci removed the status/awaiting-triage Issue awaiting triage label Sep 28, 2022
arpang added a commit to arpang/yugabyte-db that referenced this issue Oct 3, 2022
…blet metadata

Test Plan: na

Reviewers: skumar

Subscribers: bogdan

Differential Revision: https://phabricator.dev.yugabyte.com/D19938
@yugabyte-ci yugabyte-ci added kind/enhancement This is an enhancement of an existing feature and removed kind/bug This issue is a bug labels Mar 4, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/docdb YugabyteDB core features kind/enhancement This is an enhancement of an existing feature priority/medium Medium priority issue
Projects
None yet
Development

No branches or pull requests

3 participants