Re: Locating all Children given Set of Parents - Mailing list pgsql-sql

From Josh Berkus
Subject Re: Locating all Children given Set of Parents
Date
Msg-id 200305131230.17724.josh@agliodbs.com
Whole thread Raw
In response to Re: Locating all Children given Set of Parents  (Adam Sherman <adam@tritus.ca>)
List 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
informationtechnology     josh@agliodbs.com   and data management solutions     (415) 565-7293  for law firms, small
businesses     fax 621-2533   and non-profit organizations.     San Francisco 



pgsql-sql by date:

Previous
From: Larry Rosenman
Date:
Subject: Ok, how do I debug THIS?
Next
From: Josh Berkus
Date:
Subject: Re: Ok, how do I debug THIS?