X-Original-To: pgsql-interfaces-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [200.46.204.144]) by svr1.postgresql.org (Postfix) with ESMTP id 2426B52864 for ; Sun, 5 Jun 2005 01:41:01 -0300 (ADT) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 56823-03 for ; Sun, 5 Jun 2005 04:40:50 +0000 (GMT) Received: from sss.pgh.pa.us (sss.pgh.pa.us [66.207.139.130]) by svr1.postgresql.org (Postfix) with ESMTP id 0862E52805 for ; Sun, 5 Jun 2005 01:40:49 -0300 (ADT) Received: from sss2.sss.pgh.pa.us (tgl@localhost [127.0.0.1]) by sss.pgh.pa.us (8.13.1/8.13.1) with ESMTP id j554ehtL000816; Sun, 5 Jun 2005 00:40:43 -0400 (EDT) To: Greg Stark Cc: pgsql-interfaces@postgresql.org Subject: Re: DBD::Pg performance bites compared to DBD::mysql? In-reply-to: <87ekbhk05w.fsf@stark.xeocode.com> References: <1015.1117775836@sss.pgh.pa.us> <87ekbhk05w.fsf@stark.xeocode.com> Comments: In-reply-to Greg Stark message dated "04 Jun 2005 22:27:55 -0400" Date: Sun, 05 Jun 2005 00:40:43 -0400 Message-ID: <815.1117946443@sss.pgh.pa.us> From: Tom Lane X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=0.006 tagged_above=0 required=5 tests=AWL X-Spam-Level: X-Archive-Number: 200506/24 X-Sequence-Number: 5592 Greg Stark writes: > Tom Lane writes: >> ... There is no way that a client-side driver should be taking >> several times longer than the backend to process a SQL command :-( > What version of DBD::Pg did you test with? DBD::Pg 1.40, also perl-DBI-1.40 and perl-5.8.5. Greg Mullane promised he'd take a closer look after he gets done moving to Florida... in the meantime, I have a self-contained test case if someone else wants to dig into it. (Greg indicated that he thought the coding style in the Perl test script pretty well sucked, which I don't doubt, but the question remains why we are so much slower than MySQL on the same code.) regards, tom lane