# Tools to estimate size per directory

**URL:** <https://forums.foundationdb.org/t/tools-to-estimate-size-per-directory/2216>\
**Category:** Using FoundationDB\
**Created:** [June 30, 2020, 1:13am UTC](https://forums.foundationdb.org/t/tools-to-estimate-size-per-directory/2216 "2020-06-30T01:13:00Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![jared2501](https://sea1.discourse-cdn.com/foundationdb/user_avatar/forums.foundationdb.org/jared2501/32/266_2.png) [@jared2501](https://forums.foundationdb.org/u/jared2501)\
**Post date:** [June 30, 2020, 1:13am UTC](https://forums.foundationdb.org/t/tools-to-estimate-size-per-directory/2216/1 "2020-06-30T01:13:00Z")

</div>

Hey FDB users,

Is there any tools that people have developed to get an estimate of the size of key/value pairs in each directory?

Use case here is that we have a shared FDB cluster where a bunch of different services use, with each service using a different directory. We’d like to get an estimate of the amount of space in the DB each service is using.

---

<div class="post-metadata">

**Author:** ![gaurav](https://avatars.discourse-cdn.com/v4/letter/g/b487fb/32.png) [@gaurav](https://forums.foundationdb.org/u/gaurav)\
**Post date:** [June 30, 2020, 2:08am UTC](https://forums.foundationdb.org/t/tools-to-estimate-size-per-directory/2216/2 "2020-06-30T02:08:49Z")

</div>

There is a [new api](https://github.com/apple/foundationdb/pull/2537) being introduced in 6.3 release that should help with that. Also, see the [release notes](https://github.com/apple/foundationdb/blob/master/documentation/sphinx/source/release-notes/release-notes-630.rst) for 6.3.

---

<div class="post-metadata">

**Author:** ![jared2501](https://sea1.discourse-cdn.com/foundationdb/user_avatar/forums.foundationdb.org/jared2501/32/266_2.png) [@jared2501](https://forums.foundationdb.org/u/jared2501)\
**Post date:** [June 30, 2020, 2:15am UTC](https://forums.foundationdb.org/t/tools-to-estimate-size-per-directory/2216/3 "2020-06-30T02:15:22Z")

</div>

Wow suuuuper cool! This is exactly what I’m looking for. Can’t wait for the 6.3 release 🙂
