# Warum ist mein discourse postgres\_data zu groß?

**URL:** <https://meta.discourse.org/t/why-my-discourse-postgres-data-is-too-big/91657>\
**Category:** Self-hosting\
**Created:** [5. Juli 2018 um 20:54 UTC](https://meta.discourse.org/t/why-my-discourse-postgres-data-is-too-big/91657 "2018-07-05T20:54:31Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![Steven](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/steven/32/187890_2.png) [@Steven](https://meta.discourse.org/u/Steven)\
**Post date:** [5. Juli 2018 um 21:28 UTC](https://meta.discourse.org/t/why-my-discourse-postgres-data-is-too-big/91657/2 "2018-07-05T21:28:38Z")

</div>

There was a postgres update recently, there is a old folder in case something went wrong.

If your forum works fine, you can execute this command

```
cd /var/discourse
./launcher cleanup app

```

It should clean the old postgres data folder.

For the memory, DIscourse works this way, it uses the most memory it can, you don’t have to worry about that.

If you want it to use less memory, you can change the `db_shared_buffers` in the app.yml (command : `nano containers/app.yml`)

---

_[View the full topic](https://meta.discourse.org/t/why-my-discourse-postgres-data-is-too-big/91657)._
