Re: Locating all Children given Set of Parents

From: Josh Berkus <josh(at)agliodbs(dot)com>
To: Adam Sherman <adam(at)tritus(dot)ca>, pgsql-sql(at)postgresql(dot)org
Subject: Re: Locating all Children given Set of Parents
Date: 2003-05-13 19:30:17
Message-ID: 200305131230.17724.josh@agliodbs.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-sql

Adam,

> Oh? I just did, and it worked fine. I take it this is a performance issue?

Yes. If you use "SELECT *" in a WHERE EXISTS clause, you may cause the system
to use more sort resources than are really necessary, especially if you have
TOASTed or LO columns in the table.

--
-Josh Berkus

______AGLIO DATABASE SOLUTIONS___________________________
Josh Berkus
Complete information technology josh(at)agliodbs(dot)com
and data management solutions (415) 565-7293
for law firms, small businesses fax 621-2533
and non-profit organizations. San Francisco

In response to

Browse pgsql-sql by date

  From Date Subject
Next Message Josh Berkus 2003-05-13 19:31:34 Re: Ok, how do I debug THIS?
Previous Message Larry Rosenman 2003-05-13 19:24:28 Ok, how do I debug THIS?