On Fri, Oct 28, 2016 at 1:45 AM, Jim Nasby <jim.na...@bluetreble.com> wrote:
> On 10/27/16 6:39 AM, Mithun Cy wrote:
>> # pg_autoprewarm.
> IMO it would be better to add this functionality to pg_prewarm instead of
> creating another contrib module.

There is not much common functionality between the two.  The main job
of this feature is to dump the contents of shared buffers and reload
them at startup and it takes care for not over ridding the existing
shared buffer contents while reloading the dump file.  This is
somewhat different to what prewarm provides which is to load the
relation blocks in memory or buffers, it has nothing to do with prior
shared buffer contents.  So, I am not sure if it is good idea to add
it as a functionality with prewarm module.  OTOH, if more people want
that way, then as such there is no harm in doing that way.

One point that seems to be worth discussing is when should the buffer
information be dumped to a file?  Shall we dump at each checkpoint or
at regular intervals via auto prewarm worker or at some other time?

With Regards,
Amit Kapila.
EnterpriseDB: http://www.enterprisedb.com

Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org)
To make changes to your subscription:

Reply via email to