From: | Jan Wieck <JanWieck(at)Yahoo(dot)com> |
---|---|
To: | Andrew Dunstan <andrew(at)dunslane(dot)net> |
Cc: | PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org> |
Subject: | Re: Performance features the 4th |
Date: | 2003-11-05 20:49:54 |
Message-ID: | 3FA96272.40804@Yahoo.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
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.
Jan
--
#======================================================================#
# It's easier to get forgiveness for being wrong than for being right. #
# Let's break this rule - forgive me. #
#================================================== JanWieck(at)Yahoo(dot)com #
From | Date | Subject | |
---|---|---|---|
Next Message | Chris Bowlby | 2003-11-05 20:54:38 | Schema boggle... |
Previous Message | Larry Rosenman | 2003-11-05 20:47:17 | Re: \xDD patch for 7.5devel |