| From: | Bruce Momjian <bruce(at)momjian(dot)us> |
|---|---|
| To: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> |
| Cc: | Alvaro Herrera <alvherre(at)commandprompt(dot)com>, valiouk(at)yahoo(dot)co(dot)uk, pgsql-docs(at)postgresql(dot)org, dx k9 <bitsandbytes88(at)hotmail(dot)com> |
| Subject: | Re: [ADMIN] shared_buffers and shmmax |
| Date: | 2008-12-17 01:33:36 |
| Message-ID: | 200812170133.mBH1Xac23918@momjian.us |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-admin pgsql-docs pgsql-hackers |
Tom Lane wrote:
> Bruce Momjian <bruce(at)momjian(dot)us> writes:
> > OK, updated patch. I added item descriptions and removed Alvaro's
> > paragraph; I worked with Alvaro on this patch.
>
> This still seems pretty misleading, as for example
>
> > <tbody>
> > <row>
> > <entry><xref linkend="guc-max-connections"></>
> > ! <entry>1800 + 270 * <xref
> > ! linkend="guc-max-locks-per-transaction"> bytes per connection</entry>
> > </row>
>
> sounds like it might mean bytes per *active* connection, when of course
> the correct way to figure it is by multiplying by max_connections.
> If you're going to give a formula, why not just give a formula, eg
>
> (1800 + 270 * max_locks_per_transaction) * (max_connections + autovacuum_max_workers)
>
> regards, tom lane
You mean like this:
http://momjian.us/tmp/pgsql/kernel-resources.html
--
Bruce Momjian <bruce(at)momjian(dot)us> http://momjian.us
EnterpriseDB http://enterprisedb.com
+ If your life is a hard drive, Christ can be your backup. +
| Attachment | Content-Type | Size |
|---|---|---|
| unknown_filename | text/plain | 3.4 KB |
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Tom Lane | 2008-12-17 03:31:15 | Re: [ADMIN] shared_buffers and shmmax |
| Previous Message | Michael Monnerie | 2008-12-17 01:18:55 | Re: slow slow query log |
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Tom Lane | 2008-12-17 03:31:15 | Re: [ADMIN] shared_buffers and shmmax |
| Previous Message | Tom Lane | 2008-12-16 23:38:17 | Re: [ADMIN] shared_buffers and shmmax |
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Bruce Momjian | 2008-12-17 01:39:11 | Re: DTrace probes patch |
| Previous Message | Tom Lane | 2008-12-17 01:23:49 | Re: Variadic parameters vs parameter defaults |