Re: why so many open files?

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: depesz(at)depesz(dot)com
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: why so many open files?
Date: 2008-06-02 13:38:29
Message-ID: 17272.1212413909@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

hubert depesz lubaczewski <depesz(at)depesz(dot)com> writes:
> why backend process from one database has opened files from other databases?

That's not very surprising at all: a backend might have to write out a
dirty buffer in order to reclaim the buffer for re-use, and which
database the page is from doesn't enter into that.

What does seem surprising is that it's had to do that quite a lot.
Is this an old PG version without a bgwriter process? In a properly
functioning recent release, I'd expect only the bgwriter to have a
really eclectic mix of open files.

regards, tom lane

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Brian A. Seklecki 2008-06-02 13:41:19 Re: [Xen-users] SNMP AgentX subagent for Xen
Previous Message Brian A. Seklecki 2008-06-02 13:34:10 Re: [Xen-users] SNMP AgentX subagent for Xen