| From: | Magnus Hagander <magnus(at)hagander(dot)net> |
|---|---|
| To: | Lee Keel <lee(dot)keel(at)uai(dot)com> |
| Cc: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, Kevin Neufeld <kneufeld(at)refractions(dot)net>, pgsql-general(at)postgresql(dot)org |
| Subject: | Re: System V IPC on Windows |
| Date: | 2007-11-08 19:28:40 |
| Message-ID: | 47336368.3010905@hagander.net |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-general |
Lee Keel wrote:
>> -----Original Message-----
>> From: pgsql-general-owner(at)postgresql(dot)org [mailto:pgsql-general-
>> owner(at)postgresql(dot)org] On Behalf Of Magnus Hagander
>> Sent: Thursday, November 08, 2007 12:47 AM
>> To: Tom Lane
>> Cc: Kevin Neufeld; pgsql-general(at)postgresql(dot)org
>> Subject: Re: [GENERAL] System V IPC on Windows
>>
>> > > Does anyone know how to adjust the IPC settings in Windows?
>>> There aren't any such settings in Windows, AFAIK.
>> Correct. The only real adjustable limit is the size of the Windows
>> pagefile, but that one is normally dynamic. But there must be room for all
>> the shared memory in it. It's not going to be there, but the space is
>> reserved.
>>
>> That said, if you need to increase the pagefile size to accomodate your
>> shared buffers, you likely have way too large value for shared buffers.
>>
>> /Magnus
>>
>>
>> ---------------------------(end of broadcast)---------------------------
>> TIP 5: don't forget to increase your free space map settings
> [Lee Keel]
>
> What if the page file exceeds the shared_buffers, but you can't increase the
> shared buffers to a larger amount? For example, page file is set to be
> between 500MB and 10GB, but you can't set the shared_buffers to more than
> 1200MB. If set to 1300MB or higher then service will not start.
Have you measured any performance at all on this? The general
recommendation is to have a *small* shared_buffers on Widnows. >1Gb is
likely way too large - try something much smaller unless you have
benchmarks showing that this is helping you.
//Magnus
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Magnus Hagander | 2007-11-08 19:30:29 | Re: System V IPC on Windows |
| Previous Message | Bill Moran | 2007-11-08 18:37:27 | Re: INSERT performance deteriorates quickly during a large import |