# Why predicate not reblance

**URL:** <https://discuss.dgraph.io/t/why-predicate-not-reblance/14522>\
**Category:** Dgraph\
**Created:** [June 9, 2021, 2:16am UTC](https://discuss.dgraph.io/t/why-predicate-not-reblance/14522 "2021-06-09T02:16:03Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![tss](https://yyz1.discourse-cdn.com/flex007/user_avatar/discuss.dgraph.io/tss/32/4409_2.png) [@tss](https://discuss.dgraph.io/u/tss)\
**Post date:** [June 9, 2021, 2:16am UTC](https://discuss.dgraph.io/t/why-predicate-not-reblance/14522/1 "2021-06-09T02:16:03Z")

</div>

why predicate not rebance!

## What I want to do

 ![企业咚咚20210609101250](https://canada1.discourse-cdn.com/flex007/uploads/dgraph/original/2X/e/efb55fe5ec750e06dd8728b2fe9291f80d5eae57.png)  
group2 has one predicate

## What I did

Please list the things you have tried.

## Dgraph metadata

> **dgraph version**
>
> 20.11

---

<div class="post-metadata">

**Author:** ![iluminae](https://yyz1.discourse-cdn.com/flex007/user_avatar/discuss.dgraph.io/iluminae/32/7367_2.png) [@iluminae](https://discuss.dgraph.io/u/iluminae)\
**Post date:** [June 9, 2021, 3:16am UTC](https://discuss.dgraph.io/t/why-predicate-not-reblance/14522/2 "2021-06-09T03:16:40Z")

</div>

It looks like a size may not be calculated for any of your tablets, do you have any data stored, or just the schema? The automatic rebalace routine will only move a tablet if the group size (in bytes) is different enough ([see here](https://github.com/dgraph-io/dgraph/blob/8d3eb766cf95cda47bc227605d96c948ecafd5d4/dgraph/cmd/zero/tablet.go#L182)).

---

<div class="post-metadata">

**Author:** ![tss](https://yyz1.discourse-cdn.com/flex007/user_avatar/discuss.dgraph.io/tss/32/4409_2.png) [@tss](https://discuss.dgraph.io/u/tss)\
**Post date:** [June 9, 2021, 4:48am UTC](https://discuss.dgraph.io/t/why-predicate-not-reblance/14522/3 "2021-06-09T04:48:35Z")

</div>

The data is stored, the amount of data is quite large, the cpu usage rate of each request for group1 will be very high.

---

<div class="post-metadata">

**Author:** ![tss](https://yyz1.discourse-cdn.com/flex007/user_avatar/discuss.dgraph.io/tss/32/4409_2.png) [@tss](https://discuss.dgraph.io/u/tss)\
**Post date:** [June 9, 2021, 4:49am UTC](https://discuss.dgraph.io/t/why-predicate-not-reblance/14522/4 "2021-06-09T04:49:27Z")

</div>

How to check the data size of each group？

---

<div class="post-metadata">

**Author:** ![iluminae](https://yyz1.discourse-cdn.com/flex007/user_avatar/discuss.dgraph.io/iluminae/32/7367_2.png) [@iluminae](https://discuss.dgraph.io/u/iluminae)\
**Post date:** [June 9, 2021, 5:53am UTC](https://discuss.dgraph.io/t/why-predicate-not-reblance/14522/5 "2021-06-09T05:53:55Z")

</div>

The size of the group is determined by adding up the OnDiskBytes member of each tablet in the group - this is what is shown to you on the cluster management page, but you can calculate it yourself by adding up the result of the `/state` endpoint.
