pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Radu-Adrian Popescu <radu.popescu@aldratech.com>
To: scott.marlowe <scott.marlowe@ihs.com>
Cc: hugo_rousse@club-internet.fr
Cc: pgsql-admin@postgresql.org
Subject: Re: IMPORTANT:migration de mysql =>postgresql
Date: Thu, 19 Jun 2003 20:20:08 +0300
Message-ID: <5.2.1.1.0.20030619201801.01f94d10@192.168.0.1> (raw)
In-Reply-To: <Pine.LNX.4.33.0306191113430.7760-100000@css120.ihs.com>
References: <5.2.1.1.0.20030619194537.02c97b78@192.168.0.1>

At  6/19/2003 11:14, scott.marlowe wrote:

>On Thu, 19 Jun 2003, Radu-Adrian Popescu wrote:
>
> > >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.
>
>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 
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 
one postgresql query.
My 2c sit on something being wrong in the way the whole reports is thought 
of and designed.

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





view thread (6+ messages)  latest in thread

Message-ID: <5.2.1.1.0.20030619201801.01f94d10@192.168.0.1>
Permalink:  ../5.2.1.1.0.20030619201801.01f94d10@192.168.0.1/
Also on:    postgresql.org/message-id/5.2.1.1.0.20030619201801.01f94d10@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, scott.marlowe@ihs.com, hugo_rousse@club-internet.fr
  Subject: Re: IMPORTANT:migration de mysql =>postgresql
  In-Reply-To: <5.2.1.1.0.20030619201801.01f94d10@192.168.0.1>
  References: <5.2.1.1.0.20030619194537.02c97b78@192.168.0.1> <5.2.1.1.0.20030619201801.01f94d10@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