# Table reorganization during ledger pruning?

**URL:** <https://forum.canton.network/t/table-reorganization-during-ledger-pruning/3458>\
**Category:** App Development\
**Created:** [November 16, 2021, 2:13am UTC](https://forum.canton.network/t/table-reorganization-during-ledger-pruning/3458 "2021-11-16T02:13:15Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![meet](https://yyz2.discourse-cdn.com/flex034/user_avatar/forum.canton.network/meet/32/198_2.png) [@meet](https://forum.canton.network/u/meet)\
**Post date:** [November 16, 2021, 2:13am UTC](https://forum.canton.network/t/table-reorganization-during-ledger-pruning/3458/1 "2021-11-16T02:13:15Z")

</div>

Pruning involves removing archived contracts from the ledger and clearing space from the database and thus the storage on the server. Is any table reorganization needed for releasing space from the database? If yes, which tables and how often does it need to be done?

---

<div class="post-metadata">

**Author:** ![meet](https://yyz2.discourse-cdn.com/flex034/user_avatar/forum.canton.network/meet/32/198_2.png) [@meet](https://forum.canton.network/u/meet)\
**Post date:** [November 16, 2021, 2:17am UTC](https://forum.canton.network/t/table-reorganization-during-ledger-pruning/3458/2 "2021-11-16T02:17:47Z")

</div>

From @oliverse:  
This is correct, any database vacuuming (Postgres) or defragmentation (Oracle) would have to be performed separately.
