From: Andres Freund <andres@2ndquadrant.com>
To: guettliml@thomas-guettler.de
Cc: pgsql-bugs@postgresql.org
Subject: Re: BUG #12086: docs: prewarm: When does prewarm happen?
Date: Fri, 28 Nov 2014 19:10:11 +0100
Message-ID: <20141128181011.GF5164@alap3.anarazel.de> (raw)
In-Reply-To: <20141128074818.741.8401@wrigleys.postgresql.org>
References: <20141128074818.741.8401@wrigleys.postgresql.org>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-bugs>
Hi,
On 2014-11-28 07:48:18 +0000, guettliml@thomas-guettler.de wrote:
> The following bug has been logged on the website:
>
> Bug reference: 12086
> Logged by: Thomas Güttler
> Email address: guettliml@thomas-guettler.de
> PostgreSQL version: 9.4beta2
> Operating system: none
> Description:
>
> The docs of prewarm could be improved:
That's not really a bug.
> http://www.postgresql.org/docs/9.4/static/pgprewarm.html
>
> I am missing: When does the prewarm happen?
When you call the function.
> I guess it happens at server
> start. But that's just a guess. Or does postgres do prewarm every N
> minutes?
There's no automatisms running in the background or anything like that.
> Second thing I am missing: How to use this method? Please provide an
> example.
It's a function. You call it like
SELECT pg_prewarm('your_relation'); The only required parameter is the
relation, the rest is optional.
Greetings,
Andres Freund
--
Andres Freund http://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Training & Services
--
Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-bugs
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-bugs@postgresql.org
Cc: andres@2ndquadrant.com, guettliml@thomas-guettler.de
Subject: Re: BUG #12086: docs: prewarm: When does prewarm happen?
In-Reply-To: <20141128181011.GF5164@alap3.anarazel.de>
References: <20141128074818.741.8401@wrigleys.postgresql.org> <20141128181011.GF5164@alap3.anarazel.de>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox