# Fly Postgres Connections Extremely Slow from Django

**URL:** <https://community.fly.io/t/fly-postgres-connections-extremely-slow-from-django/14325>\
**Category:** Questions / Help\
**Tags:** postgres, django, login-only\
**Created:** [July 21, 2023, 11:44pm UTC](https://community.fly.io/t/fly-postgres-connections-extremely-slow-from-django/14325 "2023-07-21T23:44:37Z")\
**Posts on this page:** 1\
**Showing post:** 7

<div class="post-metadata">

**Author:** ![catgirl](https://sea1.discourse-cdn.com/fly1/user_avatar/community.fly.io/catgirl/32/42134_2.png) [@catgirl](https://community.fly.io/u/catgirl)\
**Post date:** [July 25, 2023, 5:28pm UTC](https://community.fly.io/t/fly-postgres-connections-extremely-slow-from-django/14325/7 "2023-07-25T17:28:12Z")

</div>

I wasn’t sure what exactly I was supposed to do to rebuild objects and stuff, not very familiar with Postgres stuff. ☹ I was able to fix it with @smorimoto’s thread though.

> [@catgirl](#):
>
> I was able to increase the memory of each machine in my cluster though. I think I need to change configuration things but not sure how?

As for this, I ended up just doubling the shared-buffers config to `13056 * 8kB`. Tried looking around in flyctl to see how it’s configured for new clusters but couldn’t find it.

---

_[View the full topic](https://community.fly.io/t/fly-postgres-connections-extremely-slow-from-django/14325)._
