Re: postgresql shared buffers

From: Gregory Stark <stark(at)enterprisedb(dot)com>
To: Praveen Kumar N <praveen_n(at)students(dot)iiit(dot)net>
Cc: pgsql-hackers(at)postgresql(dot)org
Subject: Re: postgresql shared buffers
Date: 2006-09-08 13:32:21
Message-ID: 87bqpqa3h6.fsf@enterprisedb.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Praveen Kumar N <praveen_n(at)students(dot)iiit(dot)net> writes:

> hai...
>
> I have installed postgresql from sourcecode.I would like to know
> how pages are replaced in the bufferpool when we join two relations.I tried to
> trace it by editing files
> pgsql/src/backend/storage/buffer/(bufmgr.c,freelist.c).But i feel still I
> am missing some information after observing extracted information abt buffer
> replacement.

Try

explain select ...

The output may be enlightening.

--
Gregory Stark
EnterpriseDB http://www.enterprisedb.com

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message mark 2006-09-08 13:33:58 Re: Fixed length data types issue
Previous Message Heikki Linnakangas 2006-09-08 13:30:01 Re: postgresql shared buffers