Hello,

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).

SELECT
  relname IS NULL AS relame_is_null,
  isdirty,
  COUNT(*) AS count
FROM
  pg_buffercache b
LEFT OUTER JOIN pg_class c ON b.relfilenode=c.relfilenode
GROUP BY
  relame_is_null,
  isdirty
;

relame_is_null isdirty count
false          false   8914
true           false   7347
true           true    123

Any ideas of this behavior because inserts should have assigned relnames, shouldn't they?

Thnx.

Ciao,
Gerhard

--
http://www.wiesinger.com/


--
Sent via pgsql-general mailing list (pgsql-general@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-general

Reply via email to