Re: Performance monitor signal handler
Alfred Perlstein <bright@wintelcom.net>
From: Alfred Perlstein <bright@wintelcom.net>
To: Philip Warner <pjw@rhyme.com.au>
Cc: Jan Wieck <janwieck@Yahoo.com>, Bruce Momjian <pgman@candle.pha.pa.us>, PostgreSQL-development <pgsql-hackers@postgresql.org>
Date: 2001-03-16T00:17:10Z
Lists: pgsql-hackers
* Philip Warner <pjw@rhyme.com.au> [010315 16:14] wrote: > At 06:57 15/03/01 -0500, Jan Wieck wrote: > > > > And shared memory has all the interlocking problems we want > > to avoid. > > I suspect that if we keep per-backend data in a separate area, then we > don;t need locking since there is only one writer. It does not matter if a > reader gets an inconsistent view, the same as if you drop a few UDP packets. No, this is completely different. Lost data is probably better than incorrect data. Either use locks or a copying mechanism. People will depend on the data returned making sense. -- -Alfred Perlstein - [bright@wintelcom.net|alfred@freebsd.org]