postgresql/src
Tom Lane ebfc56d3fb Handle impending sinval queue overflow by means of a separate signal
(SIGUSR1, which we have not been using recently) instead of piggybacking
on SIGUSR2-driven NOTIFY processing.  This has several good results:
the processing needed to drain the sinval queue is a lot less than the
processing needed to answer a NOTIFY; there's less contention since we
don't have a bunch of backends all trying to acquire exclusive lock on
pg_listener; backends that are sitting inside a transaction block can
still drain the queue, whereas NOTIFY processing can't run if there's
an open transaction block.  (This last is a fairly serious issue that
I don't think we ever recognized before --- with clients like JDBC that
tend to sit with open transaction blocks, the sinval queue draining
mechanism never really worked as intended, probably resulting in a lot
of useless cache-reset overhead.)  This is the last of several proposed
changes in response to Philip Warner's recent report of sinval-induced
performance problems.
2004-05-23 03:50:45 +00:00
..
backend Handle impending sinval queue overflow by means of a separate signal 2004-05-23 03:50:45 +00:00
bin Clean up failure to remove exec.o on 'make clean'. 2004-05-22 02:14:28 +00:00
corba make sure the $Id tags are converted to $PostgreSQL as well ... 2003-11-29 22:41:33 +00:00
include Handle impending sinval queue overflow by means of a separate signal 2004-05-23 03:50:45 +00:00
interfaces Handle inclusion of port modules 'correctly', viz the same way libpq 2004-05-21 21:56:02 +00:00
makefiles Rename irix5 port to irix. 2004-05-19 21:37:43 +00:00
pl Promote row expressions to full-fledged citizens of the expression syntax, 2004-05-10 22:44:49 +00:00
port Fix for vpath builds. 2004-05-22 02:15:08 +00:00
template Rename irix5 port to irix. 2004-05-19 21:37:43 +00:00
test Integrate src/timezone library for all platforms. There is more we can 2004-05-21 05:08:06 +00:00
timezone Fix to install correctly in vpath build case. 2004-05-22 21:02:32 +00:00
tools Do thread testing from configure in a much cleaner fashion. 2004-04-27 19:51:12 +00:00
tutorial Replace TupleTableSlot convention for whole-row variables and function 2004-04-01 21:28:47 +00:00
utils For application to HEAD, following community review. 2004-02-25 19:41:23 +00:00
DEVELOPERS just testing a script... 1999-07-30 03:45:57 +00:00
Makefile Integrate timezone library to be called only from Win32. 2004-04-30 04:31:52 +00:00
Makefile.global.in Use wide-character library routines, if available, for upper/lower/initcap 2004-05-22 00:34:51 +00:00
Makefile.shlib Rename irix5 port to irix. 2004-05-19 21:37:43 +00:00
bcc32.mak $Header: -> $PostgreSQL Changes ... 2003-11-29 19:52:15 +00:00
nls-global.mk $Header: -> $PostgreSQL Changes ... 2003-11-29 19:52:15 +00:00
win32.mak $Header: -> $PostgreSQL Changes ... 2003-11-29 19:52:15 +00:00