Re: pg_prewarm

From: Joshua Drake <jd(at)commandprompt(dot)com>
To: Robert Haas <robertmhaas(at)gmail(dot)com>
Cc: pgsql-hackers(at)postgresql(dot)org
Subject: Re: pg_prewarm
Date: 2012-03-09 08:52:28
Message-ID: 4F59C4CC.2090408@commandprompt.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

So I wrote a prewarming utility. Patch is attached. You can prewarm
either the OS cache or PostgreSQL's cache, and there are two options for
prewarming the OS cache to meet different needs. By passing the correct
arguments to the function, you can prewarm an entire relation or just
the blocks you choose; prewarming of blocks from alternate relation
forks is also supported, for completeness. Hope you like it.
>
>
+1

In response to

  • pg_prewarm at 2012-03-09 04:13:02 from Robert Haas

Browse pgsql-hackers by date

  From Date Subject
Next Message Devrim GÜNDÜZ 2012-03-09 09:18:47 Re: pg_prewarm
Previous Message Jaime Casanova 2012-03-09 07:18:02 Re: Measuring relation free space