Re: Performance in subconsult

Поиск
Список
Период
Сортировка
От postgresql@fruru.com
Тема Re: Performance in subconsult
Дата
Msg-id Pine.LNX.4.44.0203261829150.6011-100000@perycles.unix.be.EU.org
обсуждение исходный текст
Ответ на Performance in subconsult  (Sonia Sanchez Diaz <sonny@piaget.dgsca.unam.mx>)
Ответы Re: Performance in subconsult  (Sonia Sanchez Diaz <sonny@piaget.dgsca.unam.mx>)
Список pgsql-general
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.fruru@conostix.com
Users' impressions of different operating systems, expressed as emoticons:
Linux:   :)
Windows: XP



В списке pgsql-general по дате отправления:

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: Altering a CHAR(4) column CHAR(5) changing pg_attribute
Следующее
От: Sonia Sanchez Diaz
Дата:
Сообщение: Re: Performance in subconsult