Received: from news.tht.net (news.hub.org [216.126.91.242]) by postgresql.org (8.11.3/8.11.4) with ESMTP id fACN80m36749 for ; Mon, 12 Nov 2001 18:08:00 -0500 (EST) (envelope-from news@news.tht.net) Received: (from news@localhost) by news.tht.net (8.11.4/8.11.4) id fACMxB720868 for pgsql-admin@postgresql.org; Mon, 12 Nov 2001 17:59:11 -0500 (EST) (envelope-from news) From: "Jeff Boes" X-Newsgroups: comp.databases.postgresql.admin Subject: Re: Very long COMMIT times? Date: Mon, 12 Nov 2001 18:00:48 -0500 Organization: Nexcerpt, Inc. Lines: 22 Message-ID: <9spk7v$kc1$1@news.tht.net> References: <9sphq7$k0h$1@news.tht.net> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Complaints-To: scrappy@hub.org User-Agent: Pan/0.9.90 (Unix) To: pgsql-admin@postgresql.org X-Archive-Number: 200111/54 X-Sequence-Number: 2579 In article <9sphq7$k0h$1@news.tht.net>, "Jeff Boes" wrote: > and 2) very long COMMIT times for some long transactions: I'm talking > about upwards of 10-20 MINUTES to commit after doing hundreds of > inserts, updates and deletes in one transaction. The table involved has > some 20K rows, and is read and updated a few rows at a time by many > processes, but only one (the one doing large numbers of rows) has the > lengthy COMMIT times. > > Did this come about because of the increase in WAL count? Oops. This turns out not to be a COMMIT time, but instead it's happening in a NOTIFY operation just after the COMMIT. What would cause a previously-quick NOTIFY step to become many minutes long? -- Jeff Boes vox 616.226.9550 Database Engineer fax 616.349.9076 Nexcerpt, Inc. jboes@nexcerpt.com