Re: [PERFORM] optimizing query

Поиск
Список
Период
Сортировка
От Bruce Momjian
Тема Re: [PERFORM] optimizing query
Дата
Msg-id 200301270054.h0R0sP721325@candle.pha.pa.us
обсуждение исходный текст
Ответ на Re: [PERFORM] optimizing query  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-general
Tom Lane wrote:
> > postgresql.conf:
> > shared_buffers: 121600
> > max_connections: 64
> > max_fsm_relations = 200
> > max_fsm_pages = 40000
> > effective_cache_size = 8000
>
> Try increasing sort_mem.
>
> Also, I'd back off on shared_buffers if I were you.  There's no evidence
> that values above a few thousand buy anything.

Increasing shared_buffers above several thousand will only be a win if
your entire working set will fit in the larger buffer pool, but didn't
in the previous size.  If you working set is smaller or larger than
that, pushing it above several thousand isn't a win.  Is that a more
definitive answer?

--
  Bruce Momjian                        |  http://candle.pha.pa.us
  pgman@candle.pha.pa.us               |  (610) 359-1001
  +  If your life is a hard drive,     |  13 Roberts Road
  +  Christ can be your backup.        |  Newtown Square, Pennsylvania 19073

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

Предыдущее
От: jerome
Дата:
Сообщение: getting weekly total based on daily...
Следующее
От: Bruce Momjian
Дата:
Сообщение: Re: 7.2.1 clients + 7.2.3 server?