# Having a hard time optimising

**URL:** <https://meta.discourse.org/t/having-a-hard-time-optimising/359446>\
**Category:** Product Support\
**Created:** [March 29, 2025, 4:45pm UTC](https://meta.discourse.org/t/having-a-hard-time-optimising/359446 "2025-03-29T16:45:41Z")\
**Posts on this page:** 1\
**Showing post:** 9

<div class="post-metadata">

**Author:** ![pfaffman](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/pfaffman/32/120154_2.png) [@pfaffman](https://meta.discourse.org/u/pfaffman)\
**Post date:** [March 29, 2025, 9:39pm UTC](https://meta.discourse.org/t/having-a-hard-time-optimising/359446/9 "2025-03-29T21:39:30Z")

</div>

> [@Eviepayne](#):
>
> I also re-deployed the discourse with a smaller vm but still enough resources to handle the load.

But it sounds like your postgres server isn’t enough to handle the load? How big is your database? How much ram does your postgres server have?

> [@Eviepayne](#):
>
> I also re-deployed the discourse with a smaller vm but still enough resources to handle the load.

Maybe you should have waited to see if your postgres server worked first?

> [@Eviepayne](#):
>
> Why is this unsupported?

Well, it’s mostly the case that only the [standard install](https://meta.discourse.org/t/142537?silent=true), is “supported.” The external database should work, but you add a bunch of variables that it’s hard to guess about.

> [@Eviepayne](#):
>
> I’m trying to scale a large server.

That’s less supported, how large? And then how large are a bunch of things? The database, the database server, the droplet you’re running on, the bandwidth between the droplet and the database. . . .

> [@Eviepayne](#):
>
> right now im going to do a bone-stock install with the supported guide and import the database

That’s a good place to start, and then you can start checking things off.

> [@Eviepayne](#):
>
> Is there a way to manually run those database migrations?

> [@Eviepayne](#):
>
> Is there a way to manually run those database migrations?

Usually it’ll happen when you bootstrap the container, but you can enter the container and

```plaintext
cd /var/www/discourse
bin/rails db:migrate

```

---

_[View the full topic](https://meta.discourse.org/t/having-a-hard-time-optimising/359446)._
