mirror of
https://github.com/hasura/graphql-engine.git
synced 2024-09-11 10:46:25 +03:00
Add max connections to production checklist
Adds a section on configuring max_connections to production checklist docs: https://hasura.io/docs/latest/deployment/production-checklist/ PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9776 Co-authored-by: Rob Dominguez <24390149+robertjdominguez@users.noreply.github.com> GitOrigin-RevId: 6481e760f46fc2d958728aad0c1248982660fde5
This commit is contained in:
parent
31af5d6ab8
commit
281a6b45c9
@ -65,9 +65,16 @@ get a bird's eye view on all the permissions set across all tables and roles. Pa
|
||||
|
||||
### Limit number of rows returned
|
||||
|
||||
You should [limit the number of rows](/auth/authorization/permissions/row-fetch-limit.mdx) that can be accessed
|
||||
in one request, by setting the number in the select permission. This will prevent someone from accidentally or
|
||||
otherwise querying the entire table in one shot, thus adding load on Postgres.
|
||||
You should [limit the number of rows](/auth/authorization/permissions/row-fetch-limit.mdx) that can be accessed in one
|
||||
request, by setting the number in the select permission. This will prevent someone from accidentally or otherwise
|
||||
querying the entire table in one shot, thus adding load on Postgres.
|
||||
|
||||
## Configure max connections
|
||||
|
||||
Hasura utilizes [connection pooling](https://hasura.io/docs/latest/databases/database-config/cloud-connection-pooling/)
|
||||
for Postgres and MS SQL Server databases. You should set an appropriate
|
||||
[`total_max_connections`](/api-reference/syntax-defs.mdx#pgpoolsettings) (on Cloud) or
|
||||
[`max_connections`](/api-reference/syntax-defs.mdx#pgpoolsettings) (on Self-hosted) to use the database efficiently.
|
||||
|
||||
## Disable APIs
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user