# 为何我有 5.8G 空间，但重建时提示空间不足

**URL:** <https://meta.discourse.org/t/why-i-have-5-8g-space-but-when-rebuilding-space-is-not-enough/109881>\
**Category:** Self-hosting\
**Created:** [2019 年2 月 23 日 04:44 UTC](https://meta.discourse.org/t/why-i-have-5-8g-space-but-when-rebuilding-space-is-not-enough/109881 "2019-02-23T04:44:38Z")\
**Posts on this page:** 1\
**Showing post:** 11

<div class="post-metadata">

作者： ![Stephen](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/stephen/32/95011_2.png) [@Stephen](https://meta.discourse.org/u/Stephen)\
发布日期： [2019 年3 月 8 日 16:14 UTC](https://meta.discourse.org/t/why-i-have-5-8g-space-but-when-rebuilding-space-is-not-enough/109881/11 "2019-03-08T16:14:14Z")

</div>

The backup size is immaterial, please stop citing it as a factor here.

Backups are gzipped and include attachments, the smaller database could have 50Mb of attachments while the larger has 500Mb.

You’ve also not mentioned whether they’re at the same software levels. The amount of disk required is directly related to the operations which need to be performed. If either requires a postgres upgrade it will use significantly more disk.

Can you not upgrade the disk during your current contract? Most hosts allow this.

---

_[View the full topic](https://meta.discourse.org/t/why-i-have-5-8g-space-but-when-rebuilding-space-is-not-enough/109881)._
