You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by "Ray Mattingly (Jira)" <ji...@apache.org> on 2025/03/19 12:47:00 UTC

[jira] [Created] (HBASE-29203) There should be a StorefileSize equivalent to the TableSkewCost

Ray Mattingly created HBASE-29203:
-------------------------------------

             Summary: There should be a StorefileSize equivalent to the TableSkewCost
                 Key: HBASE-29203
                 URL: https://issues.apache.org/jira/browse/HBASE-29203
             Project: HBase
          Issue Type: Bug
          Components: Balancer
    Affects Versions: 2.7.0
            Reporter: Ray Mattingly
            Assignee: Ray Mattingly


We don't want to rely on per-table balancing, but we do want tables to be balanced effectively based on their data size. This is because regions are variably sized, but 1gb is always 1gb, so, in a well distributed schema, data size is a better metric for a region's load than just counting every region identically.

Right now the TableSkewCostFunction is the balancer's mechanism for balancing each table somewhat independently within a cluster-wide plan, but it only looks at region counts. We could balance more effectively if we had a StoreFileTableSkewCost.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)