# Error database connection

**URL:** <https://forum.inductiveautomation.com/t/error-database-connection/82085>\
**Category:** Ignition\
**Tags:** ignition81\
**Created:** [November 18, 2023, 9:48am UTC](https://forum.inductiveautomation.com/t/error-database-connection/82085 "2023-11-18T09:48:41Z")\
**Posts on this page:** 1\
**Showing post:** 5

<div class="post-metadata">

**Author:** ![pturmel](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/pturmel/32/3295_2.png) [@pturmel](https://forum.inductiveautomation.com/u/pturmel)\
**Post date:** [November 18, 2023, 1:40pm UTC](https://forum.inductiveautomation.com/t/error-database-connection/82085/5 "2023-11-18T13:40:50Z")

</div>

Right at the top:

```auto
Cannot get a connection, pool error Timeout waiting for idle object

```

This isn't an error on the database side, strictly speaking. Ignition makes multiple internal connections to your DB and recycles them as each query completes. The number and behavior of this "connection pool" is part of the advance settings on a database connection.

Not getting a connection for this timeout means you are running more **simultaneous long queries** than your DB can handle. Either your queries are not properly optimized, or your DB is simply not powerful enough to keep up.

This error doesn't give enough information to tell which of those cases apply.

---

_[View the full topic](https://forum.inductiveautomation.com/t/error-database-connection/82085)._
