# Ratel predicate capactiy

**URL:** <https://discuss.dgraph.io/t/ratel-predicate-capactiy/6655>\
**Category:** Ratel\
**Created:** [May 8, 2020, 9:20am UTC](https://discuss.dgraph.io/t/ratel-predicate-capactiy/6655 "2020-05-08T09:20:56Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![Willem520](https://yyz1.discourse-cdn.com/flex007/user_avatar/discuss.dgraph.io/willem520/32/2503_2.png) [@Willem520](https://discuss.dgraph.io/u/Willem520)\
**Post date:** [May 8, 2020, 9:20am UTC](https://discuss.dgraph.io/t/ratel-predicate-capactiy/6655/1 "2020-05-08T09:20:56Z")

</div>

Hi, my dgraph was installed at machine,and got the disk capactiy  
 ![image](https://canada1.discourse-cdn.com/flex007/uploads/dgraph/original/2X/5/542c9654d85c62dba3f145877116aaef07cdb24b.png)  
from the ratel, I got the predicate capactiy

 ![image](https://canada1.discourse-cdn.com/flex007/uploads/dgraph/original/2X/5/57ade8a21c36269a30cbfccb6d86084a66e0df2e.png)  
3.3T+1.5T\>2.9T, How did dgraph calculate the capacity

---

<div class="post-metadata">

**Author:** ![MichelDiz](https://yyz1.discourse-cdn.com/flex007/user_avatar/discuss.dgraph.io/micheldiz/32/11873_2.png) [@MichelDiz](https://discuss.dgraph.io/u/MichelDiz)\
**Post date:** [May 8, 2020, 4:25pm UTC](https://discuss.dgraph.io/t/ratel-predicate-capactiy/6655/2 "2020-05-08T16:25:15Z")

</div>

Hey @Willem520, would you mind to share the values you have at `<alphaurl:8080>/state`? Just to confirm if its a bug in Ratel or not.

Cheers.

---

<div class="post-metadata">

**Author:** ![Willem520](https://yyz1.discourse-cdn.com/flex007/user_avatar/discuss.dgraph.io/willem520/32/2503_2.png) [@Willem520](https://discuss.dgraph.io/u/Willem520)\
**Post date:** [May 9, 2020, 3:48am UTC](https://discuss.dgraph.io/t/ratel-predicate-capactiy/6655/3 "2020-05-09T03:48:30Z")

</div>

Hi @MichelDiz,this is the newest info  
the machine  
 ![image](https://canada1.discourse-cdn.com/flex007/uploads/dgraph/original/2X/6/6a1b9e615b1add0dfbcb533606386c047613c8c4.png)  
the ratel

 ![image](https://canada1.discourse-cdn.com/flex007/uploads/dgraph/original/2X/a/ae2c7778171a2e93c40f5ab048095ecbe28a44ea.png)  
/state endpoint  
 ![image](https://canada1.discourse-cdn.com/flex007/uploads/dgraph/original/2X/b/bbba487bb119c5291ba632af99fd04f0e84336b5.png)

---

<div class="post-metadata">

**Author:** ![MichelDiz](https://yyz1.discourse-cdn.com/flex007/user_avatar/discuss.dgraph.io/micheldiz/32/11873_2.png) [@MichelDiz](https://discuss.dgraph.io/u/MichelDiz)\
**Post date:** [May 9, 2020, 4:49am UTC](https://discuss.dgraph.io/t/ratel-predicate-capactiy/6655/4 "2020-05-09T04:49:46Z")

</div>

Thanks for the info @Willem520

Yep, that feels like a bug.  
It is not in Ratel tho.

Maybe this is the “available space” instead? @paulftw @Paras. @ibrahim

---

<div class="post-metadata">

**Author:** ![ibrahim](https://yyz1.discourse-cdn.com/flex007/user_avatar/discuss.dgraph.io/ibrahim/32/6387_2.png) [@ibrahim](https://discuss.dgraph.io/u/ibrahim)\
**Post date:** [May 9, 2020, 6:55am UTC](https://discuss.dgraph.io/t/ratel-predicate-capactiy/6655/5 "2020-05-09T06:55:21Z")

</div>

This looks like a bug. @Willem520 can you check how big are the `.sst` files in your `p` directory (this is the directory used while starting alpha `dgraph alpha -p $dir`). What’s the biggest SST file you have in your `p` directory?

---

<div class="post-metadata">

**Author:** ![Willem520](https://yyz1.discourse-cdn.com/flex007/user_avatar/discuss.dgraph.io/willem520/32/2503_2.png) [@Willem520](https://discuss.dgraph.io/u/Willem520)\
**Post date:** [May 9, 2020, 7:07am UTC](https://discuss.dgraph.io/t/ratel-predicate-capactiy/6655/6 "2020-05-09T07:07:13Z")

</div>

gid and md5id belong to group 2. the p directory is  
 ![image](https://canada1.discourse-cdn.com/flex007/uploads/dgraph/original/2X/0/096c9eaee6394f01e8f818a58141293a20ff8cc3.png)

---

<div class="post-metadata">

**Author:** ![ibrahim](https://yyz1.discourse-cdn.com/flex007/user_avatar/discuss.dgraph.io/ibrahim/32/6387_2.png) [@ibrahim](https://discuss.dgraph.io/u/ibrahim)\
**Post date:** [May 9, 2020, 7:16am UTC](https://discuss.dgraph.io/t/ratel-predicate-capactiy/6655/7 "2020-05-09T07:16:22Z")

</div>

There’s something wrong with the tablet size calculation. @Willem520 can you please create an issue on [Issues · dgraph-io/dgraph · GitHub](https://github.com/dgraph-io/dgraph/issues) with all the information you have? I’ll investigate this issue.

---

<div class="post-metadata">

**Author:** ![Willem520](https://yyz1.discourse-cdn.com/flex007/user_avatar/discuss.dgraph.io/willem520/32/2503_2.png) [@Willem520](https://discuss.dgraph.io/u/Willem520)\
**Post date:** [May 9, 2020, 7:17am UTC](https://discuss.dgraph.io/t/ratel-predicate-capactiy/6655/8 "2020-05-09T07:17:39Z")

</div>

Ok,this is the issue [something wrong with tablet size calculation · Issue #5408 · dgraph-io/dgraph · GitHub](https://github.com/dgraph-io/dgraph/issues/5408)
