Re: Performance tips

Поиск
Список
Период
Сортировка
От Jeff Eckermann
Тема Re: Performance tips
Дата
Msg-id 20020110150424.42798.qmail@web20810.mail.yahoo.com
обсуждение исходный текст
Ответ на Re: Performance tips  (Andrew Perrin <andrew_perrin@unc.edu>)
Ответы Re: Performance tips  ("Peter Darley" <pdarley@Kinesis-CEM.com>)
Список pgsql-general
One way to improve performance with queries like yours
is to select the subquery results into a temporary
table, and join against that (perhaps with an index
created on the temp table, if you get a lot of rows).
Ugly and messy, but can result in massive performance
improvements on a system with limited resources, even
compared with the "EXISTS" solution.

--- Andrew Perrin <andrew_perrin@unc.edu> wrote:
> Never mind - while I was writing the last message
> the vacuum analyze
> ended. No messages from vacuum analyze (just the
> VACUUM
> acknowledgement). I'm recreating the one
> user-created index (the rest are
> based on serials) now and will re-test queries.
>
> Thanks for everyone's help.
>
>
----------------------------------------------------------------------
> Andrew J Perrin - andrew_perrin@unc.edu -
> http://www.unc.edu/~aperrin
>  Assistant Professor of Sociology, U of North
> Carolina, Chapel Hill
>       269 Hamilton Hall, CB#3210, Chapel Hill, NC
> 27599-3210 USA
>
>
>
>
> ---------------------------(end of
> broadcast)---------------------------
> TIP 2: you can get off all lists at once with the
> unregister command
>     (send "unregister YourEmailAddressHere" to
majordomo@postgresql.org)


__________________________________________________
Do You Yahoo!?
Send FREE video emails in Yahoo! Mail!
http://promo.yahoo.com/videomail/

В списке pgsql-general по дате отправления:

Предыдущее
От: "Johnson, Shaunn"
Дата:
Сообщение: duplicating table
Следующее
От: Tom Lane
Дата:
Сообщение: Re: caching subtotals: update vs sum -- aaugh!