Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                

Re: caching written values? - Mailing list pgsql-performance

From Robert Haas
Subject Re: caching written values?
Date
Msg-id 603c8f070901220736h3b1136d2n99df01b954e284a0@mail.gmail.com
Whole thread Raw
In response to Re: caching written values?  (Thomas Finneid <tfinneid@fcon.no>)
List pgsql-performance
> Is that how it works for an index as well? I just found out that I have  an
> index that is 35GB, and the table is 85GB.  ( I will look into the index, it
> works fine, but an index that is almost one third of the size of the table,
> seems a little bit strange. )
> So if it works the same way and the index uses a B-tree, I assume it only
> loads the pages that contains the subpart of the index that are relevant, is
> this correct?

Yes.

See shared_buffers:

http://www.postgresql.org/docs/8.3/static/runtime-config-resource.html

...Robert

pgsql-performance by date:

Previous
From: Robert Haas
Date:
Subject: Re: caching indexes and pages?
Next
From: Bruno Baguette
Date:
Subject: Slow HashAggregate : How to optimize ?