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 BCB6411F6296 for ; Thu, 20 Apr 2006 11:16:31 -0300 (ADT) X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Score: 0.114 X-Spam-Level: X-Spam-Status: No, score=0.114 required=5 tests=[AWL=0.113, UNPARSEABLE_RELAY=0.001] Received: from postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id a7hMt44TmKoS for ; Thu, 20 Apr 2006 11:16:23 -0300 (ADT) X-Greylist: from auto-whitelisted by SQLgrey- Received: from exchange.g2switchworks.com (mail.g2switchworks.com [63.87.162.25]) by postgresql.org (Postfix) with ESMTP id 447B711F62F8 for ; Thu, 20 Apr 2006 11:16:27 -0300 (ADT) Received: from 10.10.1.37 ([10.10.1.37]) by exchange.g2switchworks.com ([10.10.1.2]) with Microsoft Exchange Server HTTP-DAV ; Thu, 20 Apr 2006 14:16:27 +0000 Received: from state.g2switchworks.com by mail.g2switchworks.com; 20 Apr 2006 09:16:27 -0500 Subject: Re: Inserts optimization? From: Scott Marlowe To: Christopher Kings-Lynne Cc: Tom Lane , Markus Schaber , Magnus Hagander , Pgsql performance In-Reply-To: <4446DED2.3040307@calorieking.com> References: <6BCB9D8A16AC4241919521715F4D8BCEA352AE@algol.sollentuna.se> <44462849.3070209@logix-tt.com> <1145460130.23538.119.camel@state.g2switchworks.com> <26519.1145460679@sss.pgh.pa.us> <4446DED2.3040307@calorieking.com> Content-Type: text/plain Content-Transfer-Encoding: 7bit Message-Id: <1145542587.23538.131.camel@state.g2switchworks.com> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.4.6 (1.4.6-2) Date: Thu, 20 Apr 2006 09:16:27 -0500 X-Archive-Number: 200604/447 X-Sequence-Number: 18531 On Wed, 2006-04-19 at 20:07, Christopher Kings-Lynne wrote: > > Scott Marlowe writes: > >> It's the refusal of people to stop using MyISAM table types that's the > >> real issue. > > > > Isn't MyISAM still the default over there? It's hardly likely that the > > average MySQL user would use anything but the default table type ... > > Since MySQL 5, InnoDB tables are default I recall. It gets built by default, but when you do a plain create table, it will still default to myisam tables. Note that there is a setting somewhere in my.cnf that will make the default table type anything you want. For Bacula though, what I was suggesting was that they simply declare that you need innodb table type support if you want decent performance, then coding to that, and if someone doesn't have innodb table support, then they have no right to complain about poor performance. Seems a fair compromise to me. The Bacula folks would get to program to a real database model with proper serlialization and all that, and the people who refuse to move up to a later model MySQL get crappy performance.