Re: Re-Reason of Slowness of Query
От
Adarsh Sharma
Тема
Re: Re-Reason of Slowness of Query
Дата
Msg-id
4D89C926.8050009@orkash.com
Ответ на
Re: Re-Reason of Slowness of Query (Vitalii Tymchyshyn)
Список
Дерево обсуждения
Re-Reason of Slowness of Query Adarsh Sharma <adarsh.sharma@orkash.com>
Re: Re-Reason of Slowness of Query Vitalii Tymchyshyn <tivv00@gmail.com>
Re: Re-Reason of Slowness of Query Adarsh Sharma <adarsh.sharma@orkash.com>
Re: Re-Reason of Slowness of Query Vitalii Tymchyshyn <tivv00@gmail.com>
Re: Re-Reason of Slowness of Query Adarsh Sharma <adarsh.sharma@orkash.com>
Re: Re-Reason of Slowness of Query Vitalii Tymchyshyn <tivv00@gmail.com>
Re: Re-Reason of Slowness of Query Chetan Suttraway <chetan.suttraway@enterprisedb.com>
Re: Re-Reason of Slowness of Query tv@fuzzy.cz
Re: Re-Reason of Slowness of Query Chetan Suttraway <chetan.suttraway@enterprisedb.com>
Re: Re-Reason of Slowness of Query Adarsh Sharma <adarsh.sharma@orkash.com>
Re: Re-Reason of Slowness of Query Vitalii Tymchyshyn <tivv00@gmail.com>
Re: Re-Reason of Slowness of Query Adarsh Sharma <adarsh.sharma@orkash.com>
Re: Re-Reason of Slowness of Query Chetan Suttraway <chetan.suttraway@enterprisedb.com>
Re: Re-Reason of Slowness of Query Adarsh Sharma <adarsh.sharma@orkash.com>
Re: Re-Reason of Slowness of Query tv@fuzzy.cz
Re: Re-Reason of Slowness of Query Shaun Thomas <sthomas@peak6.com>
Re: Re-Reason of Slowness of Query tv@fuzzy.cz
Re: Re-Reason of Slowness of Query Shaun Thomas <sthomas@peak6.com>
Re: Re-Reason of Slowness of Query Adarsh Sharma <adarsh.sharma@orkash.com>
Vitalii Tymchyshyn wrote:
I can't understand how select 1 from clause2 c where c.source_id = p.crawled_page_id works too, i get my output .
What is the significance of 1 here.
Thanks , Adarsh
23.03.11 12:10, Adarsh Sharma написав(ла):I just want to retrieve that id 's from page_content which do not have any entry in clause2 table.Then
select distinct(p.crawled_page_id) from page_content p
where NOT EXISTS (select 1 from clause2 c where c.source_id = p.crawled_page_id);
is correct query.
I can't understand how select 1 from clause2 c where c.source_id = p.crawled_page_id works too, i get my output .
What is the significance of 1 here.
Thanks , Adarsh
Best regards, Vitalii Tymchyshyn.
В списке pgsql-performance по дате отправления