Re: max_prepared_transactions default ... why 5?

Поиск
Список
Период
Сортировка
От Josh Berkus
Тема Re: max_prepared_transactions default ... why 5?
Дата
Msg-id 200710172149.01326.josh@agliodbs.com
обсуждение исходный текст
Ответ на Re: max_prepared_transactions default ... why 5?  (Tom Lane <tgl@sss.pgh.pa.us>)
Ответы Re: max_prepared_transactions default ... why 5?  (Tom Lane <tgl@sss.pgh.pa.us>)
Re: max_prepared_transactions default ... why 5?  (Bruce Momjian <bruce@momjian.us>)
Список pgsql-hackers
On Wednesday 17 October 2007 21:35, Tom Lane wrote:
> Josh Berkus <josh@agliodbs.com> writes:
> > I'm writing up the new GUCs, and noticed that max_prepared_transactions
> > defaults to 5.  This is too many for most applications (which don't use
> > them at all) and far too few for applications which use them regularly.
>
> I think the intention was to have enough so you could test 'em (in
> particular, run the regression tests) without eating resources for
> the majority of installations that aren't using them.
>
> Certainly an installation that *is* using 'em would want a higher
> setting.

Yeah, given the amount of memory per xact, I guess we can't actually set the 
default higher.  I just hate to see a setting that is liable to bite someone 
on the tuchas so easily.

-- 
Josh Berkus
PostgreSQL @ Sun
San Francisco


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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: max_prepared_transactions default ... why 5?
Следующее
От: Tom Lane
Дата:
Сообщение: Re: max_prepared_transactions default ... why 5?