yugabyte/yugabyte-db

Include tablet size in yb_tablet_metadata

Offen

#29.665 geöffnet am 11.12.2025

 (1 Kommentar) (0 Reaktionen) (1 zugewiesene Person)C (1.003 Forks)batch import
good first issuejira-originatedkind/new-featurepriority/low

Repository-Metriken

Stars
 (8.229 Sterne)
PR-Merge-Metriken
 (Durchschn. Merge 17T 21h) (92 gemergte PRs in 30 T)

Beschreibung

Jira Link: DB-19492

Via yb_tablet_metadata view, it might be easy/helpful to expose information about tablet sizes for each replica.

(Much like Timur added support for it in the yb-master UI:

https://github.com/yugabyte/yugabyte-db/issues/29407#issuecomment-3552687883

in the "Raft Config/Replica" Info column).

(Customers would find it helpful to have this in a queryable manner rather than just in the UI).

Just like you show replica IP addresses as an array in yb_tablet_metadata view (see screenshot), we could add the active_ssts_size and wals_size as two additional array columns.

Issue created in Slack from a message.

Contributor Guide