X-Original-To: pgsql-performance-postgresql.org@postgresql.org Received: from localhost (mx1.hub.org [200.46.208.251]) by postgresql.org (Postfix) with ESMTP id 608479FA5CD for ; Tue, 27 Jun 2006 04:13:12 -0300 (ADT) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.208.251]) (amavisd-new, port 10024) with ESMTP id 21389-05 for ; Tue, 27 Jun 2006 04:13:01 -0300 (ADT) X-Greylist: from auto-whitelisted by SQLgrey- Received: from moutng.kundenserver.de (moutng.kundenserver.de [212.227.126.177]) by postgresql.org (Postfix) with ESMTP id BC0C79FA395 for ; Tue, 27 Jun 2006 04:13:01 -0300 (ADT) Received: from [84.12.170.54] (helo=[192.168.0.2]) by mrelayeu.kundenserver.de (node=mrelayeu3) with ESMTP (Nemesis), id 0MKxQS-1Fv7kp1exs-00005t; Tue, 27 Jun 2006 09:13:00 +0200 Subject: Re: Some performance numbers, with thoughts From: Simon Riggs To: Michael Stone Cc: pgsql-performance@postgresql.org In-Reply-To: <20060626212013.GD9742@mathom.us> References: <44973CC6.20309@janestcapital.com> <1151350415.2479.66.camel@localhost.localdomain> <20060626212013.GD9742@mathom.us> Content-Type: text/plain Date: Tue, 27 Jun 2006 08:12:50 +0100 Message-Id: <1151392370.2479.150.camel@localhost.localdomain> Mime-Version: 1.0 X-Mailer: Evolution 2.6.1 (2.6.1-1.fc5.2) Content-Transfer-Encoding: 7bit X-Provags-ID: kundenserver.de abuse@kundenserver.de login:726643fe08f41a451f0fe7fa43bce239 X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200606/478 X-Sequence-Number: 19835 On Mon, 2006-06-26 at 17:20 -0400, Michael Stone wrote: > On Mon, Jun 26, 2006 at 08:33:34PM +0100, Simon Riggs wrote: > >of the SQL standard, so being unaware of them when using SQL is strange > >to me. > > Welcome to the world of programs designed for mysql. You'll almost never > see them batch inserts, take advantage of referential integrity, etc. > You end up with lots of selects & inserts in loops that expect > autocommit-like behavior because it doesn't matter in that world. Yes, I suspected that was the case. I was interested in understanding why anybody thought it was acceptable, and in what conditions that might be the case. Brian's open approach has helped explain things for me. -- Simon Riggs EnterpriseDB http://www.enterprisedb.com