Andrew Dunstan <[EMAIL PROTECTED]> writes: > Tom Lane wrote: >> Well, you tried to "scale" into a domain where the performance is going >> to be disk-I/O-limited, so I'm not sure it proves anything.
> Good point. I took a 5% random extract from the lineitems table and saw > the expected improvement. Sounds better. Certainly there are cases where CHECK_FOR_INTERRUPTS isn't going to be a meaningful drag on performance, but there are others where it will be. BTW, looking at the code some more, I am thinking that checking pgwin32_signal_event should be completely unnecessary in pgwin32_check_queued_signals; that is, if UNBLOCKED_SIGNAL_QUEUE() is nonzero we might as well just enter pgwin32_dispatch_queued_signals unconditionally. The only usefulness of calling WaitForSingleObjectEx is to allow any pending APCs to be dispatched. Are there any other APCs queued against the main thread besides the timer.c one? regards, tom lane ---------------------------(end of broadcast)--------------------------- TIP 9: In versions below 8.0, the planner will ignore your desire to choose an index scan if your joining column's datatypes do not match