Re: Streaming replica hangs periodically for ~ 1 second - how to diagnose/debug
От | Adrian Klaver |
---|---|
Тема | Re: Streaming replica hangs periodically for ~ 1 second - how to diagnose/debug |
Дата | |
Msg-id | fc1e4f47-b479-40ae-914b-6acf323388ad@aklaver.com обсуждение исходный текст |
Ответ на | Re: Streaming replica hangs periodically for ~ 1 second - how to diagnose/debug (hubert depesz lubaczewski <depesz@depesz.com>) |
Ответы |
Re: Streaming replica hangs periodically for ~ 1 second - how to diagnose/debug
|
Список | pgsql-general |
On 8/22/25 05:37, hubert depesz lubaczewski wrote: > On Thu, Aug 21, 2025 at 11:17:27AM -0700, Adrian Klaver wrote: >> Have you looked at?: >> https://www.pgbouncer.org/changelog.html#pgbouncer-124x >> To see if anything stands out. >> Then there is: >> https://www.pgbouncer.org/config.html#max_prepared_statements >> The below may also be worth looking at: >> https://github.com/pgbouncer/pgbouncer/pull/1144 >> I can't help thinking that there is a caching issue at stake, though that is >> just a guess. > > Will check, but we don't use prepared statements, so this doesn't seem > to be part-of-the-problem. In your OP there is: "Every now and then (usually every 3-5 minutes, but not through the whole day), we see situations where every query suddently takes ~ 1 second. I'm talkign about "prepare" for preparing statements. binds. also "discard all". " Is that referring to something else? > > Best regards, > > depesz > -- Adrian Klaver adrian.klaver@aklaver.com
В списке pgsql-general по дате отправления: