X-Original-To: pgsql-admin-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [64.117.224.193]) by svr1.postgresql.org (Postfix) with ESMTP id 6DAD030E9EA for ; Thu, 19 Jun 2003 17:20:20 +0000 (GMT) Received: from svr1.postgresql.org ([64.117.224.193]) by localhost (svr1.postgresql.org [64.117.224.193]) (amavisd-new, port 10024) with ESMTP id 92496-03 for ; Thu, 19 Jun 2003 14:20:10 -0300 (ADT) Received: from aldratech.com (unknown [213.154.158.58]) by svr1.postgresql.org (Postfix) with ESMTP id 43F1630EA1A for ; Thu, 19 Jun 2003 14:20:09 -0300 (ADT) Received: from rpopescu.aldratech.com ([192.168.0.6]) by aldratech.com for with eXtremail; Thu, 19 Jun 2003 20:20:08 +3GMT Message-Id: <5.2.1.1.0.20030619201801.01f94d10@192.168.0.1> X-Sender: radu.popescu@aldratech.com@192.168.0.1 X-Mailer: QUALCOMM Windows Eudora Version 5.2.1 Date: Thu, 19 Jun 2003 20:20:08 +0300 To: "scott.marlowe" From: Radu-Adrian Popescu Subject: Re: IMPORTANT:migration de mysql =>postgresql Cc: , In-Reply-To: References: <5.2.1.1.0.20030619194537.02c97b78@192.168.0.1> Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1"; format=flowed Content-Transfer-Encoding: quoted-printable X-Archive-Number: 200306/264 X-Sequence-Number: 9255 At 6/19/2003 11:14, scott.marlowe wrote: >On Thu, 19 Jun 2003, Radu-Adrian Popescu wrote: > > > >Sachant que quand je cr=E9e un rapport j'ai entre 100 et 600 requetes > > > > That sounds a bit strange; you mean the report comprises between 100 and > > 600 requests to the database ? Queries ? > > Then perhaps you should look into some other way of doing this, like qu= ery > > re-writing and combining, using an external program > > (say a perl script) that connects thru an unix socket (probably faster= =20 > that > > tcp/ip, if that's the case), .... it depends. > > If those are rows, on the other hand, something is _really_ wrong. > >He may well be doing something in MySQL that you can only do with 600 >queries, that would be one big query in postgresql. That would be one of >the reasons I didn't choose mysql at the beginning was I needed to do >stuff that would have required way too many queries in MySQL. I guess that's a good point too. I hear mysql has some real problems with= =20 subqueries. (never used the damn thing for anything more than toying around, thought). But it's still pretty exagerated to think you can do 600 mysql queries in= =20 one postgresql query. My 2c sit on something being wrong in the way the whole reports is thought= =20 of and designed. Cheers, -- Radu-Adrian Popescu CSA, DBA, Developer Aldratech Ltd.=20