Re: Help tuning a large table off disk and into RAM

From: "Scott Marlowe" <scott(dot)marlowe(at)gmail(dot)com>
To: "James Williams" <james(dot)wlms(at)googlemail(dot)com>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: Help tuning a large table off disk and into RAM
Date: 2007-09-26 19:18:21
Message-ID: dcc563d10709261218n13caf5f0t33cda7eef26c16c2@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On 9/26/07, James Williams <james(dot)wlms(at)googlemail(dot)com> wrote:

> The last is based mostly on the observation that another tiddly
> unrelated mysql db which normally runs fast, grinds to a halt when
> we're querying the postgres db (and cpu, memory appear to have spare
> capacity).

Just a quick observation here.

When the drives are thrashing, is it straight db-storage thrashing, or
is the system swapping out a lot?

Run vmstat 10 while running this query when this happens and pay
attentino to bi bo and si so

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Oleg Bartunov 2007-09-26 19:41:44 Re: DAGs and recursive queries
Previous Message Gowrishankar 2007-09-26 18:58:38 Data cube in PostgreSQL