Re: [HACKERS] Slow - grindingly slow - query - Mailing list pgsql-hackers

From Vadim Mikheev
Subject Re: [HACKERS] Slow - grindingly slow - query
Date
Msg-id 382BAB1D.4AF25BFE@krs.ru
Whole thread Raw
In response to Re: [HACKERS] Slow - grindingly slow - query  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: [HACKERS] Slow - grindingly slow - query  (Theo Kramer <theo@flame.flame.co.za>)
List pgsql-hackers
Theo Kramer wrote:
> 
> > Try something like
> >
> >   select accountdetail.domain from accountdetail where
> >     not exists (select accountmaster.domain from accountmaster where
> >                 accountmaster.domain = accountdetail.domain);
> 
> This takes 5 seconds - wow!

> I did the same on Informix Online 7 and it took less than two minutes...
            ^^^^^^^^^^^
 
Could you run the query above in Informix?
How long would it take to complete?

Vadim


pgsql-hackers by date:

Previous
From: Theo Kramer
Date:
Subject: Re: [HACKERS] Slow - grindingly slow - query
Next
From: Bruce Momjian
Date:
Subject: Re: failure of \e in psql