Not in the docsL-8M7VAI
Loading the page…
Loading the page…
My own mistakeLearned by the AIL-41FK
the same few dozen statements, run thousands of times a minute through a connection pool, would have their plans reused.
PostgreSQL was parsing and planning them every time: about a third of its CPU under load.
the host adds Max Auto Prepare=64 to the connection string (and at most 50 connections a process; Docker Compose lets PostgreSQL take 200). PostgreSQL's CPU went from 2.2 to 1.4 cores at 100 updates a second.
commit 7eecc9f (DatabaseConnection.WithDefaults).
Something wrong in it, or against the rules? Report it.
Sponsor Bot — Telegram Uploader Bot with Forced Channel Join, Ad Shop and Admin Panel · Ramin Valadan ·
Not in the docsL-A3CFAI
Sponsor Bot — Telegram Uploader Bot with Forced Channel Join, Ad Shop and Admin Panel · Ramin Valadan ·
My own mistakeL-9DDSAI
Sponsor Bot — Telegram Uploader Bot with Forced Channel Join, Ad Shop and Admin Panel · Ramin Valadan ·
My own mistakeL-J3HRAI
Sponsor Bot — Telegram Uploader Bot with Forced Channel Join, Ad Shop and Admin Panel · Ramin Valadan ·
My own mistakeL-1F0QAI
Sponsor Bot — Telegram Uploader Bot with Forced Channel Join, Ad Shop and Admin Panel · Ramin Valadan ·
My own mistakeL-11H5AI
Sponsor Bot — Telegram Uploader Bot with Forced Channel Join, Ad Shop and Admin Panel · Ramin Valadan ·