Re: Page Miss Hits

From: "Scott Marlowe" <smarlowe(at)qwest(dot)net>
To: "Ioannis Theoharis" <theohari(at)ics(dot)forth(dot)gr>
Cc: pgsql-performance(at)postgresql(dot)org
Subject: Re: Page Miss Hits
Date: 2004-08-02 16:19:27
Message-ID: 1091463567.27166.44.camel@localhost.localdomain
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-performance

On Mon, 2004-08-02 at 02:11, Ioannis Theoharis wrote:
> Hi, i would like to answer if there is any way in postgres to find the
> page miss hits caused during a query execution.
>
>
> Is there something like explain analyze with the page miss hits???

You're making a basic assumption that is (at least currently) untrue,
and that is that PostgreSQL has it's own cache. It doesn't. It has a
buffer that drops buffer back into the free pool when the last
referencing backend concludes and shuts down. So, PostgreSQL currently
relies on the kernel to cache for it. So, what you need is a tool that
monitors the kernel cache usage and its hit rate. I'm not familiar with
any, but I'm sure something out there likely does that.

In response to

Responses

Browse pgsql-performance by date

  From Date Subject
Next Message Gaetano Mendola 2004-08-02 16:43:32 Re: Page Miss Hits
Previous Message Scott Marlowe 2004-08-02 16:11:46 Re: What kind of performace can I expect and how to