pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: David Gilbert <dgilbert@velocet.ca>
Cc: Thomas O'Connell <tfo@monsterlabs.com>
Cc: pgsql-admin@postgresql.org
Subject: Re: performance tuning: shared_buffers, sort_mem; swap
Date: Tue, 13 Aug 2002 23:35:49 -0400
Message-ID: <4195.1029296149@sss.pgh.pa.us> (raw)
In-Reply-To: <15705.36038.645823.820155@canoe.velocet.net>
References: <27214.1029257785@sss.pgh.pa.us>
	<tfo-549650.13201613082002@news.hub.org>
	<tfo-345314.14322213082002@news.hub.org>
	<1372.1029274016@sss.pgh.pa.us>
	<15705.36038.645823.820155@canoe.velocet.net>

David Gilbert <dgilbert@velocet.ca> writes:
> I don't often ask a question, but it's been bugging me for some time:
> is there any reason why PostgreSQL must use SysV shared memory?
> Coming from the BSD camp, I've often pondered why it doesn't use
> BSD-style shared memory (which is often easier to allocate in the BSD
> world).

Well, I must say this is the first time I've heard of "BSD-style shared
memory".  What are the syscalls?  How portable is it?  Does it have the
semantics we need (specifically, the ability to associate an ID with a
shmem segment, and the ability to discover whether any other processes
are attached to an existing shmem segment)?

			regards, tom lane



view thread (23+ messages)  latest in thread

Message-ID: <4195.1029296149@sss.pgh.pa.us>
Permalink:  ../4195.1029296149@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/4195.1029296149@sss.pgh.pa.us

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-admin@postgresql.org
  Cc: tgl@sss.pgh.pa.us, dgilbert@velocet.ca, tfo@monsterlabs.com
  Subject: Re: performance tuning: shared_buffers, sort_mem; swap
  In-Reply-To: <4195.1029296149@sss.pgh.pa.us>
  References: <27214.1029257785@sss.pgh.pa.us> <tfo-549650.13201613082002@news.hub.org> <tfo-345314.14322213082002@news.hub.org> <1372.1029274016@sss.pgh.pa.us> <15705.36038.645823.820155@canoe.velocet.net> <4195.1029296149@sss.pgh.pa.us>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox