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 AB43D30E980 for ; Thu, 19 Jun 2003 16:53:25 +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 90067-10 for ; Thu, 19 Jun 2003 13:53:14 -0300 (ADT) Received: from aldratech.com (unknown [213.154.158.58]) by svr1.postgresql.org (Postfix) with ESMTP id 3F55330E9C4 for ; Thu, 19 Jun 2003 13:53:14 -0300 (ADT) Received: from rpopescu.aldratech.com ([192.168.0.6]) by aldratech.com for with eXtremail; Thu, 19 Jun 2003 19:53:13 +3GMT Message-Id: <5.2.1.1.0.20030619194537.02c97b78@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 19:53:12 +0300 To: hugo_rousse@club-internet.fr, pgsql-admin@postgresql.org From: Radu-Adrian Popescu Subject: Re: IMPORTANT:migration de mysql =>postgresql In-Reply-To: Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1"; format=flowed Content-Transfer-Encoding: quoted-printable X-Archive-Number: 200306/262 X-Sequence-Number: 9253 At 6/19/2003 16:32, hugo_rousse@club-internet.fr wrote: >BOnjour, > >Je dois am=E9liorer les temps de r=E9ponses de requete d'une base de donn= =E9e,=20 >notament celles qui permettent de g=E9n=E9rer un rapport. >Cette base de donn=E9es est actuellement sous mysql. Basically you don't _need_ to move to postgresql only because a report is= =20 running slowly. You can do from horrible to divine database design with anything from mysql= =20 to oracle. :-) The reasons for moving to postgresql are far more complex that bad=20 performing queries, as those queries can be cached, rewritten, combined, tweaked, tables re-normalized and so=20 on. Reasons for moving to postgresql are things such as ACID compliance, stored procedures, better scalability= =20 under heavy load, and standing out from the crowd :^) >SI je fais une migration vers postgresql mes temps de r=E9ponse seront-ils= =20 >r=E9ellement am=E9lior=E9s? MySQL is rumoured to be somewhat faster than PostgreSQL on "single-user, a= =20 lot of reads" scenarious. >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=20 600 requests to the database ? Queries ? Then perhaps you should look into some other way of doing this, like query= =20 re-writing and combining, using an external program (say a perl script) that connects thru an unix socket (probably faster that= =20 tcp/ip, if that's the case), .... it depends. If those are rows, on the other hand, something is _really_ wrong. >Merci pour toute r=E9ponses de vos part. Cheers. -- Radu-Adrian Popescu CSA, DBA, Developer Aldratech Ltd.=20