X-Original-To: pgsql-performance-postgresql.org@localhost.postgresql.org Received: from localhost (av.hub.org [200.46.204.144]) by postgresql.org (Postfix) with ESMTP id 2FC3D11F66B8 for ; Wed, 19 Apr 2006 09:08:30 -0300 (ADT) X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Score: 0.112 X-Spam-Level: X-Spam-Status: No, score=0.112 required=5 tests=[AWL=0.112] Received: from postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id d4Eh8fvTX6nN for ; Wed, 19 Apr 2006 09:08:23 -0300 (ADT) X-Greylist: from auto-whitelisted by SQLgrey- Received: from mail.logix-tt.com (unknown [212.211.145.186]) by postgresql.org (Postfix) with ESMTP id 0617911F6694 for ; Wed, 19 Apr 2006 09:08:25 -0300 (ADT) Received: from kingfisher.intern.logix-tt.com (T8ebe.t.pppool.de [89.55.142.190]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.logix-tt.com (Postfix) with ESMTP id 6749E656CB; Wed, 19 Apr 2006 14:09:24 +0200 (CEST) Received: from [127.0.0.1] (localhost [127.0.0.1]) by kingfisher.intern.logix-tt.com (Postfix) with ESMTP id 77720181C1F45; Wed, 19 Apr 2006 14:08:41 +0200 (CEST) Message-ID: <44462849.3070209@logix-tt.com> Date: Wed, 19 Apr 2006 14:08:41 +0200 From: Markus Schaber Organization: Logical Tracking and Tracing International AG, Switzerland User-Agent: Debian Thunderbird 1.0.7 (X11/20051017) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Magnus Hagander Cc: Pgsql performance Subject: Re: Inserts optimization? References: <6BCB9D8A16AC4241919521715F4D8BCEA352AE@algol.sollentuna.se> In-Reply-To: <6BCB9D8A16AC4241919521715F4D8BCEA352AE@algol.sollentuna.se> X-Enigmail-Version: 0.93.0.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Archive-Number: 200604/425 X-Sequence-Number: 18509 Hi, Magnus, Magnus Hagander wrote: > Bacula already serializes access to the database (they have to support > mysql/myisam), so this shouldn't help. Ouch, that hurts. To support mysql, they break performance for _every other_ database system? Now, I understand how the mysql people manage to spread the legend of mysql being fast. They convince software developers to thwart all others. Seriously: How can we convince developers to either fix MySQL or abandon and replace it with a database, instead of crippling client software? > Actually, it might well hurt by introducing extra delays. Well, if you read the documentation, you will see that it will only wait if there are at least commit_siblings other transactions active. So when Bacula serializes access, there will be no delays, as there is only a single transaction alive. HTH Markus -- Markus Schaber | Logical Tracking&Tracing International AG Dipl. Inf. | Software Development GIS Fight against software patents in EU! www.ffii.org www.nosoftwarepatents.org