pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Radu-Adrian Popescu <radu.popescu@aldratech.com>
To: hugo_rousse@club-internet.fr
To: pgsql-admin@postgresql.org
Subject: Re: IMPORTANT:migration de mysql =>postgresql
Date: Thu, 19 Jun 2003 19:53:12 +0300
Message-ID: <5.2.1.1.0.20030619194537.02c97b78@192.168.0.1> (raw)
In-Reply-To: <mnet2.1056033166.4155.hugo_rousse@club-internet.fr>

At  6/19/2003 16:32, hugo_rousse@club-internet.fr wrote:

>BOnjour,
>
>Je dois améliorer les temps de réponses de requete d'une base de donnée, 
>notament celles qui permettent de générer un rapport.
>Cette base de données est actuellement sous mysql.

Basically you don't _need_ to move to postgresql only because a report is 
running slowly.
You can do from horrible to divine database design with anything from mysql 
to oracle. :-)
The reasons for moving to postgresql are far more complex that bad 
performing queries, as those queries
can be cached, rewritten, combined, tweaked, tables re-normalized and so 
on. Reasons for moving to postgresql
are things such as ACID compliance, stored procedures, better scalability 
under heavy load, and standing out from the crowd :^)

>SI je fais une migration vers postgresql mes temps de réponse seront-ils 
>réellement améliorés?

MySQL is rumoured to be somewhat faster than PostgreSQL on "single-user, a 
lot of reads" scenarious.

>Sachant que quand je crée 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 query 
re-writing and combining, using an external program
(say a perl script) that connects thru an unix socket (probably faster that 
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éponses de vos part.

Cheers.
--

Radu-Adrian Popescu
CSA, DBA, Developer
Aldratech Ltd. 





view thread (6+ messages)  latest in thread

Message-ID: <5.2.1.1.0.20030619194537.02c97b78@192.168.0.1>
Permalink:  ../5.2.1.1.0.20030619194537.02c97b78@192.168.0.1/
Also on:    postgresql.org/message-id/5.2.1.1.0.20030619194537.02c97b78@192.168.0.1

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-admin@postgresql.org
  Cc: radu.popescu@aldratech.com, hugo_rousse@club-internet.fr
  Subject: Re: IMPORTANT:migration de mysql =>postgresql
  In-Reply-To: <5.2.1.1.0.20030619194537.02c97b78@192.168.0.1>
  References: <mnet2.1056033166.4155.hugo_rousse@club-internet.fr> <5.2.1.1.0.20030619194537.02c97b78@192.168.0.1>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox