Re: pg_buffercache - A lot of "unnamed" relfilenodes?

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Gerhard Wiesinger <lists(at)wiesinger(dot)com>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: pg_buffercache - A lot of "unnamed" relfilenodes?
Date: 2009-09-26 18:55:34
Message-ID: 4027.1253991334@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Gerhard Wiesinger <lists(at)wiesinger(dot)com> writes:
> Research on the pg_bufferache showed that a lot of pages don't have any
> assigned relfilenodesin pg_class, even when they are dirty (in this case
> inserts are done).

There should never be any buffered pages for nonexistent tables. The
method you are using will only show relnames for pages belonging to
tables of the current database ... maybe there are a lot of dirty pages
for other databases in the cluster? Or maybe the tables are newly
created (not committed) and so you can't see their pg_class rows yet?

regards, tom lane

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Adrian Klaver 2009-09-26 18:56:11 Re: INSERT... RETURNING with a function
Previous Message Christophe Pettus 2009-09-26 18:31:33 Re: Limiting a user to a single or subset of databases in a cluster?