Attached is a corrected version that solves the query cancel problem by not napping any more and going full speed as soon as any signal is pending. If nobody objects, I'm going to commit this tomorrow.


Jan


Jan Wieck wrote:

The attached patch applies to CVS tip as of 02/05/2004 and implements the cost based vacuum delay feature.

A detailed description with charts of different configuration settings can be found here:

http://developer.postgresql.org/~wieck/vacuum_cost/

There is a problem left that seems to be related to Toms observations in the shutdown behaviour of the postmaster. My current guess is that the napping done via select(2) somehow prevents responding to the query abort signal.


Jan



--
#======================================================================#
# It's easier to get forgiveness for being wrong than for being right. #
# Let's break this rule - forgive me.                                  #
#================================================== [EMAIL PROTECTED] #

Attachment: vacuum_cost.75devel.diff.gz
Description: GNU Zip compressed data

---------------------------(end of broadcast)---------------------------
TIP 8: explain analyze is your friend

Reply via email to