Re: autoprewarm_dump_now - Mailing list pgsql-hackers

From Melanie Plageman
Subject Re: autoprewarm_dump_now
Date
Msg-id CAAKRu_YyuqbRaVO-zkoeRLFeNtF_jX-faGSGH4h3JB6ckORWMg@mail.gmail.com
Whole thread Raw
In response to Re: autoprewarm_dump_now  (Heikki Linnakangas <hlinnaka@iki.fi>)
Responses Re: autoprewarm_dump_now
List pgsql-hackers
On Fri, Apr 4, 2025 at 10:04 AM Heikki Linnakangas <hlinnaka@iki.fi> wrote:
>
> In apw_load_buffers(), we also load the file into (DSM) memory. There's
> no similar 1 GB limit in dsm_create(), but I think it's a bit
> unfortunate that the array needs to be allocated upfront upon loading.

Unrelated to this problem, but I wondered why autoprewarm doesn''t
launch background workers for each database simultaneously instead of
waiting for each one to finish a db before moving onto the next one.
Is it simply to limit the number of bgworkers taking up resources?

- Melanie



pgsql-hackers by date:

Previous
From: Robert Haas
Date:
Subject: Re: Exponential notation bug
Next
From: Tom Lane
Date:
Subject: Re: Exponential notation bug