On Fri, Jan 2, 2026, 08:55 Babak Ghadiri <[email protected]> wrote:
> Hello, > I hope you are doing well. > > In PostgreSQL 16, startup appears to initialize databases sequentially and > primarily uses a single CPU core. In clusters with a very large number of > databases (around 5,000 in our case), this results in noticeably long > startup times after restarts or crash recovery. > You probably want to consider setting: recovery_init_sync_method=syncfs I'm 99% certain that that will solve your problem. https://www.postgresql.org/docs/current/runtime-config-error-handling.html https://www.postgresql.org/message-id/flat/[email protected] PS It took me way to long to find that setting. I think we should move it from the error handling docs page to the page with all of the other recovery settings. https://www.postgresql.org/docs/current/runtime-config-wal.html#RUNTIME-CONFIG-WAL-RECOVERY >
