From: | Sonia Sanchez Diaz <sonny(at)piaget(dot)dgsca(dot)unam(dot)mx> |
---|---|
To: | postgresql(at)fruru(dot)com |
Cc: | pgsql-general(at)postgresql(dot)org |
Subject: | Re: Performance in subconsult |
Date: | 2002-03-26 19:38:22 |
Message-ID: | Pine.SGI.4.10.10203261136160.83712-100000@piaget.dgsca.unam.mx |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-general |
Hello again...
Not, I don't use indexes in the tables, table1 has 1748 records, and
table2 has 41101.
Regards!
Sonny
On Tue, 26 Mar 2002 postgresql(at)fruru(dot)com wrote:
> On Tue, 26 Mar 2002, Sonia Sanchez Diaz wrote:
>
> > psql# select * from table1 t1 where not exists (select * from table2 t2
> > where t2.id = t1.id);
> >
> > The execution of this uses more than 90% of my CPU performance and the
> > answer is slow...
>
> Hi,
>
> do you use any indexes on these tables (especially table2.t2) ?
>
> How large are these tables ?
>
> Cheers
> Tycho
>
> --
> Tycho Fruru tycho(dot)fruru(at)conostix(dot)com
> Users' impressions of different operating systems, expressed as emoticons:
> Linux: :)
> Windows: XP
>
>
>
From | Date | Subject | |
---|---|---|---|
Next Message | power2themacs | 2002-03-26 19:42:39 | Re: ISOLATION LEVEL SERIALIZABLE |
Previous Message | Darren Ferguson | 2002-03-26 19:29:01 | Re: ISOLATION LEVEL SERIALIZABLE |