Re: Performance features the 4th

From: Kurt Roeckx <Q(at)ping(dot)be>
To: Jan Wieck <JanWieck(at)Yahoo(dot)com>
Cc: Andrew Dunstan <andrew(at)dunslane(dot)net>, PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Performance features the 4th
Date: 2003-11-05 21:16:11
Message-ID: 20031105211611.GB21364@ping.be
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Wed, Nov 05, 2003 at 03:49:54PM -0500, Jan Wieck wrote:
> Andrew Dunstan wrote:
>
> >Jan Wieck wrote:
> >
> >>
> >>How portable is getrusage()? Could the postmaster issue that
> >>frequently for RUSAGE_CHILDREN and leave the result somewhere in the
> >>shared memory for whoever is concerned?
> >>
> >SVr4, BSD4.3, SUS2 and POSIX1003.1, I believe.
> >
> >I also believe there is a M$ dll available that gives that functionality
> >(psapi.dll).
>
> Remains the question when it is updated, the manpage doesn't tell. If
> the RUSAGE_CHILDREN information is updated only when the child exits,
> each backend has to do it.

"If the value of the who argument is RUSAGE_CHILDREN,
information shall be returned about resources used by the
terminated and waited-for children of the current process"

Kurt

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Marc G. Fournier 2003-11-05 21:20:06 Re: Schema boggle...
Previous Message Roger Leigh 2003-11-05 21:15:44 New database access library, libpqxx-object