# Database Connection Limits vs. Hosting Bandwidth

https://ferkesh.net/knowledgebase/article/database-connections-vs-bandwidth

![Diagram linking Read both definitions, Find the failing request, Inspect usage and logs and Fix the correct limit.](https://ferkesh.net/kb-media/ferkesh-guide-diagrams-batch-06.svg#database-connections-vs-bandwidth)

A database connection limit controls how many sessions can be open at once. Bandwidth measures network traffic or its rate over a reporting period. A burst of small requests can exhaust database connections while using almost no bandwidth.

| Resource | What to check |
| --- | --- |
| Database connections | Concurrent database sessions, open connection counts and a matching “Too many connections” error. |
| Bandwidth or data transfer | Bytes transferred over the reporting period or a throughput limit, depending on the plan. Check the provider’s reporting definition. |

## Identify the pressure signal

1. Compare the observed error against the application and database logs. An explicit “Too many connections” message is stronger evidence than a generic 500 response.
2. Review concurrent traffic and connection usage at the same timestamps. A slow query or forgotten connection can hold capacity even while request volume stays ordinary.
3. Confirm the exact provider metric and whether it applies to a database user, pool or instance. Fix connection leaks, slow queries or over-sized pools before raising limits.

For example, a large file download can use substantial transfer with no database connection at all. Use a separate measure for each resource and confirm the real bottleneck after the change.

When choosing a plan, [compare the published hosting resources](https://ferkesh.net/?fh_page=web-hosting&fh_ref=kb%3Adatabase-connections-vs-bandwidth#hosting-comparison) and ask the host about database connection limits if your workload needs them.

## Related guides

- [How to Diagnose a Website Database Connection Error](https://ferkesh.net/knowledgebase/article/website-database-connection-error)
- [How Hosting Process Limits Affect Concurrent Requests](https://ferkesh.net/knowledgebase/article/shared-hosting-process-limits)
- [How to Find the Correct Website Logs in Plesk](https://ferkesh.net/knowledgebase/article/plesk-site-log-viewer)
- [Web Hosting Fundamentals category](https://ferkesh.net/knowledgebase/category/web-hosting-fundamentals)

## Official references

- [MySQL handling of too many connections](https://dev.mysql.com/doc/refman/8.4/en/too-many-connections.html)
- [Plesk viewing statistics](https://docs.plesk.com/en-US/obsidian/administrator-guide/website-management/customer-account-administration/viewing-statistics.65154/)

Ferkesh Hosting. Last reviewed November 26, 2026.
