Pooling connections on postgres #18672
Unanswered
aseques
asked this question in
Help Wanted!
Replies: 1 comment 1 reply
-
NetBox is built on the Django framework, which provides reasonable default database connection settings for most use cases. However, if you need to configure connection pooling, you can refer to the Django documentation, as mentioned in the comments of Keep in mind that the Django version used by your NetBox installation matters. For example, NetBox 4.2 uses Django 5.1, which introduces built-in support for database connection pooling: For reference, you can check:
Hope this helps! 🚀 |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
NetBox version
v4.2.3
Feature type
Data model extension
Proposed functionality
I would like to configure connection pooling to the database server (currently there usually around 10 connections always open minimum even if no one is using netbox at the moment)
I haven't been able to find any documentation so far in the docs
https://netboxlabs.com/docs/netbox/en/stable/configuration/required-parameters/#database
Use case
Since postgres has a default connection limit of around 100 connections, having connection pooling would prevent hitting that limit in many cases.
Database changes
No response
External dependencies
No response
Beta Was this translation helpful? Give feedback.
All reactions