Re: Locating all Children given Set of Parents

Поиск
Список
Период
Сортировка
От Josh Berkus
Тема Re: Locating all Children given Set of Parents
Дата
Msg-id 200305131230.17724.josh@agliodbs.com
обсуждение исходный текст
Ответ на Re: Locating all Children given Set of Parents  (Adam Sherman <adam@tritus.ca>)
Список 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 по дате отправления:

Предыдущее
От: Larry Rosenman
Дата:
Сообщение: Ok, how do I debug THIS?
Следующее
От: Josh Berkus
Дата:
Сообщение: Re: Ok, how do I debug THIS?