Re: effective_cache_size vs units

Поиск
Список
Период
Сортировка
От Joshua D. Drake
Тема Re: effective_cache_size vs units
Дата
Msg-id 1166504182.22487.36.camel@localhost.localdomain
обсуждение исходный текст
Ответ на Re: effective_cache_size vs units  (Tom Lane <tgl@sss.pgh.pa.us>)
Ответы Re: effective_cache_size vs units  (Magnus Hagander <magnus@hagander.net>)
Список pgsql-hackers
On Mon, 2006-12-18 at 23:46 -0500, Tom Lane wrote:
> Magnus Hagander <magnus@hagander.net> writes:
> > Oh, you mean MB vs Mb. Man, it had to be that simple :)
> 
> ISTM we had discussed whether guc.c should accept units strings in
> a case-insensitive manner, and the forces of pedantry won the first
> round.  Shall we reopen that argument?

I don't think that anyone is going to think, oh I am using 1000 Mega Bit
of ram. Mb == MB in this case. That being said, it is documented and I
don't know that it makes that much difference as long as the
documentation is clear.

Hmm perhaps perhaps a quick statement to the effect of what is legal in
the postgresql.conf? E.g;

#
# When setting memory parameters you may used a shortened sytanx e.g.,
# 1024MB or 1GB is 1 Gigabyte of ram. Note that MB/GB is capitalized.
#


Sincerely,

Joshua D. Drake

> 
>             regards, tom lane
> 
> ---------------------------(end of broadcast)---------------------------
> TIP 5: don't forget to increase your free space map settings
> 
-- 
     === The PostgreSQL Company: Command Prompt, Inc. ===
Sales/Support: +1.503.667.4564 || 24x7/Emergency: +1.800.492.2240
Providing the most comprehensive  PostgreSQL solutions since 1997            http://www.commandprompt.com/

Donate to the PostgreSQL Project: http://www.postgresql.org/about/donate





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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: effective_cache_size vs units
Следующее
От: Zoltan Boszormenyi
Дата:
Сообщение: Re: 8.2.0 Tarball vs. REL8_2_0 vs. REL8_2_STABLE