| From: | shili <shi_li_1992(at)163(dot)com> |
|---|---|
| To: | pgsql-general(at)postgresql(dot)org |
| Subject: | how to import "where exists(subquery)" EXISTS CONDITION performance? |
| Date: | 2015-12-02 07:51:23 |
| Message-ID: | 1449042683403-5875801.post@n5.nabble.com |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-general |
I had saw this sentence: SQL statements that use the EXISTS condition in
PostgreSQL are very inefficient since the sub-query is RE-RUN for EVERY row
in the outer query's table. There are more efficient ways to write most
queries, that do not use the EXISTS condition. So,I want to know how
PostgreSQL to implement the EXISTS condition? Is that sentence true? and,if
that is true,are there any methods to import the performance of the EXISTS
condition?
--
View this message in context: http://postgresql.nabble.com/how-to-import-where-exists-subquery-EXISTS-CONDITION-performance-tp5875801.html
Sent from the PostgreSQL - general mailing list archive at Nabble.com.
| From | Date | Subject | |
|---|---|---|---|
| Next Message | David Rowley | 2015-12-02 10:51:13 | Re: [GENERAL] how to import "where exists(subquery)" EXISTS CONDITION performance? |
| Previous Message | Amit Langote | 2015-12-02 07:24:25 | Re: Exclusively locking parent tables while disinheriting children. |