Yeah, this is one of the more annoying things working with db_connection, the lack of visibility. If you browse the Github repo there is even an issue where connections are created and maybe dropped. It’s even harder to debug by looking at the code.
Do you have a lot of test that talks to the database with expensive queries?


















