Re: effective_cache_size vs units - Mailing list pgsql-hackers

From Joshua D. Drake
Subject Re: effective_cache_size vs units
Date
Msg-id 1166504182.22487.36.camel@localhost.localdomain
Whole thread Raw
In response to Re: effective_cache_size vs units  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: effective_cache_size vs units
List 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 by date:

Previous
From: Tom Lane
Date:
Subject: Re: effective_cache_size vs units
Next
From: Zoltan Boszormenyi
Date:
Subject: Re: 8.2.0 Tarball vs. REL8_2_0 vs. REL8_2_STABLE