Re: More buffers used than a relation's relpages

From: Andres Freund <andres(at)2ndquadrant(dot)com>
To: Amit Langote <amitlangote09(at)gmail(dot)com>
Cc: Postgres General <pgsql-general(at)postgresql(dot)org>
Subject: Re: More buffers used than a relation's relpages
Date: 2013-06-04 13:04:06
Message-ID: 20130604130406.GA2854@alap2.anarazel.de
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On 2013-06-04 11:29:44 +0900, Amit Langote wrote:
> In what cases can a relation use more buffers (in shared memory) than
> its pg_class.relpages?

relpages is primarily updated by (auto-)vacuum, (auto-)analyze, so it
frequently lags behind reality in a growing relation. Why do you need an
exact value?

Greetings,

Andres Freund

--
Andres Freund http://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Training & Services

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Melvin Call 2013-06-04 13:09:23 Re: Passing a WHERE clause by trigger to a function
Previous Message David Johnston 2013-06-04 12:47:12 Re: Passing a WHERE clause by trigger to a function