From: Josh Berkus <josh@agliodbs.com>
To: Adam Sherman <adam@tritus.ca>
To: pgsql-sql@postgresql.org
Subject: Re: Locating all Children given Set of Parents
Date: Tue, 13 May 2003 12:30:17 -0700
Message-ID: <200305131230.17724.josh@agliodbs.com> (raw)
In-Reply-To: <202340000.1052853543@saturn>
References: <184690000.1052842782@saturn>
<200305131201.45493.josh@agliodbs.com>
<202340000.1052853543@saturn>
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@agliodbs.com
and data management solutions (415) 565-7293
for law firms, small businesses fax 621-2533
and non-profit organizations. San Francisco
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: pgsql-sql@postgresql.org
Cc: josh@agliodbs.com, adam@tritus.ca
Subject: Re: Locating all Children given Set of Parents
In-Reply-To: <200305131230.17724.josh@agliodbs.com>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox