Re: PG as in-memory db? How to warm up and re-populate buffers? How to read in all tuples into memory?

From: Andy Colson <andy(at)squeakycode(dot)net>
To: Stefan Keller <sfkeller(at)gmail(dot)com>
Cc: pgsql-performance(at)postgresql(dot)org, Stephen Frost <sfrost(at)snowman(dot)net>
Subject: Re: PG as in-memory db? How to warm up and re-populate buffers? How to read in all tuples into memory?
Date: 2012-02-26 15:20:54
Message-ID: 4F4A4DD6.6090904@squeakycode.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-performance

On 02/25/2012 06:16 PM, Stefan Keller wrote:
>
> 1. How can I warm up or re-populate shared buffers of Postgres?
> 2. Are there any hints on how to tell Postgres to read in all table
> contents into memory?
>
> Yours, Stefan
>

How about after you load the data, vacuum freeze it, then do something like:

SELECT count(*) FROM osm_point WHERE tags @> 'tourism=>junk'

-Andy

In response to

Responses

Browse pgsql-performance by date

  From Date Subject
Next Message Venkat Balaji 2012-02-26 17:14:51 Re: : Cost calculation for EXPLAIN output
Previous Message Mark Hills 2012-02-26 14:16:47 Index condition in a Nested Loop