Re: Help with rewriting query

Поиск
Список
Период
Сортировка
От Tobias Brox
Тема Re: Help with rewriting query
Дата
Msg-id 20050610084925.GA8451@tobias.nordicbet.com
обсуждение исходный текст
Ответ на Re: Help with rewriting query  (Junaili Lie <junaili@gmail.com>)
Список pgsql-performance
[Junaili Lie - Thu at 06:26:09PM -0700]
> Hi Bruno,
> I followed your suggestion.
> The query plan shows that it uses the index (id, person_id). However,
> the execution time is still slow. I have to do ctl-C to stop it.

What is the estimate planner cost?

> Maybe something is wrong with my postgresql config.
> It's running Solaris on dual Opteron, 4GB.
> I allocated around 128MB for sorting and more than 80% for
> effective_cache_size and shared_buffers = 32768.
> Any further ideas is much appreciated.

Sounds a bit excessive.  Compare with the vanilla configuration, and see
what is faster.

--
Tobias Brox, +47-91700050

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

Предыдущее
От: Richard Huxton
Дата:
Сообщение: Re: postgresql.conf runtime statistics default
Следующее
От: Michal Taborsky
Дата:
Сообщение: Cleaning bloated pg_attribute