Received: from maia.hub.org (unknown [200.46.208.211]) by mail.postgresql.org (Postfix) with ESMTP id 98C226335FA for ; Mon, 22 Mar 2010 12:32:16 -0300 (ADT) Received: from mail.postgresql.org ([200.46.204.86]) by maia.hub.org (mx1.hub.org [200.46.208.211]) (amavisd-maia, port 10024) with ESMTP id 91396-07 for ; Mon, 22 Mar 2010 15:32:02 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mail-bw0-f216.google.com (mail-bw0-f216.google.com [209.85.218.216]) by mail.postgresql.org (Postfix) with ESMTP id 724C3633460 for ; Mon, 22 Mar 2010 12:32:02 -0300 (ADT) Received: by bwz8 with SMTP id 8so264718bwz.3 for ; Mon, 22 Mar 2010 08:32:01 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:cc:content-type; bh=82wQC5Kh+hTADXBOToKVZrkEfOWP3aIKS3JDbX8PyHM=; b=Iarqf43W+/sLOYY3Enx/pMOYonZCLBHPCinLd+9bZXTBHRFQ1y60bfkmb6YfCCsmTQ HrRZPFXaoUi48YewsvKnv6uMLcCZAXBq+VfQjAQExLfUo+GVq9mYAuS721ieDIHWe2Mk SHsXq8Mt+jDEXOtdXNxF27VGrBI3kpBwW4mRI= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=vSCpOs9lS7fCHsJ4LUSK9nJNaVIIGmHOAiIglIKKDEHDwH+FsayWTfLm3VyAm2g/5X 6BjtIT8OoGaQCkZXYxP8plvSQKUypOlQdwSR3Ay9ywcAh3QNx5eQVJrbEcjPNIEYdM+t ElvaORDU1KbkbKe13QaN9W95g9HCTWceTd0eQ= MIME-Version: 1.0 Received: by 10.204.134.211 with SMTP id k19mr4105879bkt.48.1269271921216; Mon, 22 Mar 2010 08:32:01 -0700 (PDT) In-Reply-To: References: <4BA23936.2030507@gmail.com> <4BA596D2.4050406@squeakycode.net> Date: Mon, 22 Mar 2010 10:32:01 -0500 Message-ID: Subject: Re: mysql to postgresql, performance questions From: Dave Crooke To: Pierre C Cc: Merlin Moncure , pgsql-performance@postgresql.org, Corin , Andy Colson Content-Type: multipart/alternative; boundary=0015174c3e84fcccb604826565b3 X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=-2.442 tagged_above=-10 required=5 tests=AWL=0.156, BAYES_00=-2.599, HTML_MESSAGE=0.001 X-Spam-Level: X-Archive-Number: 201003/274 X-Sequence-Number: 38099 --0015174c3e84fcccb604826565b3 Content-Type: text/plain; charset=ISO-8859-1 Absolutely ... - for fixed size rows with a lot of small updates, Oracle wins. BTW, as of Oracle 9 they're called "UNDO tablesapces" - for lots of transactions and feely mixing transactions of all sizes, MVCC tables (Postgres) wins - if you just want a structured filesystem and don't have integrity requirements or a lot of updates, MyISAM wins For our app, Oracle would be the best, but it isn't strictly necessary so Postgres wins on price ;-) Cheers Dave On Mon, Mar 22, 2010 at 6:15 AM, Pierre C wrote: > On Mon, 22 Mar 2010 12:14:51 +0100, Merlin Moncure > wrote: > > On Sun, Mar 21, 2010 at 9:14 PM, Dave Crooke wrote: >> >>> Note however that Oracle offeres full transactionality and does in place >>> row >>> updates. There is more than one way to do it. >>> >> >> There's no free lunch. >> > > MVCC : VACUUM > Oracle : Rollback Segments > MyISAM : no concurrency/transactions > > It's all about which compromise suits you ;) > --0015174c3e84fcccb604826565b3 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Absolutely ...

- for fixed size rows with a lot of small updates, O= racle wins. BTW, as of Oracle 9 they're called "UNDO tablesapces&q= uot;
- for lots of transactions and feely mixing transactions of all siz= es, MVCC tables (Postgres) wins
- if you just want a structured filesystem and don't have integrity req= uirements or a lot of updates, MyISAM wins

For our app, Oracle would= be the best, but it isn't strictly necessary so Postgres wins on price= ;-)

Cheers
Dave

On Mon, Mar 22, 2010 a= t 6:15 AM, Pierre C <lists@peufeu.com> wrote:
On Mon, 22 Mar 2010 12:14:51 +0100, Merlin Moncure <mmoncure@gmail.com> wrote:

On Sun, Mar 21, 2010 at 9:14 PM, Dave Crooke <dcrooke@gmail.com> wrote:
Note however that Oracle offeres full transactionality and does in place ro= w
updates. There is more than one way to do it.

There's no free lunch.

MVCC : VACUUM
Oracle : Rollback Segments
MyISAM : no concurrency/transactions

It's all about which compromise suits you ;)

--0015174c3e84fcccb604826565b3--