Re: pg_buffercache - A lot of "unnamed" relfilenodes? - Mailing list pgsql-general

From Tom Lane
Subject Re: pg_buffercache - A lot of "unnamed" relfilenodes?
Date
Msg-id 4027.1253991334@sss.pgh.pa.us
Whole thread Raw
In response to pg_buffercache - A lot of "unnamed" relfilenodes?  (Gerhard Wiesinger <lists@wiesinger.com>)
Responses Re: pg_buffercache - A lot of "unnamed" relfilenodes?  (Gerhard Wiesinger <lists@wiesinger.com>)
List pgsql-general
Gerhard Wiesinger <lists@wiesinger.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

pgsql-general by date:

Previous
From: Christophe Pettus
Date:
Subject: Re: Limiting a user to a single or subset of databases in a cluster?
Next
From: Adrian Klaver
Date:
Subject: Re: INSERT... RETURNING with a function