Jim C. Nasby wrote: > On Tue, Jun 13, 2006 at 02:10:15PM -0400, Bruce Momjian wrote: > > Jim C. Nasby wrote: > > > FWIW, getting turning off stats_command_string substantially reduced > > > this contention, so it appears the issue is somewhere in the stats code. > > > This code sends stats messages to a different process via a socket (or > > > is it UDP?), with the intention that if the system gets heavily loaded > > > we'll lose some stats in the interest of not bogging down all the > > > backends. It seems that doesn't work so hot on FreeBSD. :( > > > > I am working on a patch for 8.2 to fix that for all platforms. > > Excellent. Did I miss discussion of that or have you not mentioned it? > I'm curious as to how you're fixing it...
The patches are in the hold queue: http://momjian.postgresql.org/cgi-bin/pgpatches_hold Title is "Stats collector performance improvement". I need someone to test my patches on a non-BSD platform to move forward. -- Bruce Momjian http://candle.pha.pa.us EnterpriseDB http://www.enterprisedb.com + If your life is a hard drive, Christ can be your backup. + ---------------------------(end of broadcast)--------------------------- TIP 5: don't forget to increase your free space map settings