Received: from candle.pha.pa.us (candle.navpoint.com [162.33.245.46]) by mail.postgresql.org (8.11.1/8.11.1) with ESMTP id f1H3hbx05428 for ; Fri, 16 Feb 2001 22:43:37 -0500 (EST) (envelope-from pgman@candle.pha.pa.us) Received: (from pgman@localhost) by candle.pha.pa.us (8.9.0/8.9.0) id WAA27926; Fri, 16 Feb 2001 22:43:17 -0500 (EST) From: Bruce Momjian Message-Id: <200102170343.WAA27926@candle.pha.pa.us> Subject: Re: v7.1b4 bad performance In-Reply-To: "from Schmidt, Peter at Feb 16, 2001 07:04:27 pm" To: "Schmidt, Peter" Date: Fri, 16 Feb 2001 22:43:17 -0500 (EST) CC: "'Tom Lane'" , "'Michael Ansley'" , "'pgsql-admin@postgresql.org'" , "Vadim B. Mikheev" X-Mailer: ELM [version 2.4ME+ PL77 (25)] MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=US-ASCII X-Archive-Number: 200102/122 X-Sequence-Number: 724 > The COMMIT_DELAY parameter defines for how long > the backend will be forced to sleep after writing a commit record > to the log with LogInsert call but before > performing a LogFlush. This delay allows other > backends to add their commit records to the log so as to have all > of them flushed with a single log sync. Unfortunately, this > mechanism is not fully implemented at release 7.1, so there is at > present no point in changing this parameter from its default value > of 5 microseconds. Yes, I see Vadim mentioned the 5 microsecond default, and that was after we already talked about it, so I guess he still wants the 5 to be there. My idea was to see if another backend was near a commit, and only wait in those cases. We certainly can't keep the code as it is for 7.1 final. -- Bruce Momjian | http://candle.pha.pa.us pgman@candle.pha.pa.us | (610) 853-3000 + If your life is a hard drive, | 830 Blythe Avenue + Christ can be your backup. | Drexel Hill, Pennsylvania 19026