Skip site navigation (1) Skip section navigation (2)

replacing shmem

From: "Valter Mazzola" <txian(at)hotmail(dot)com>
To: pgsql-hackers(at)postgresql(dot)org
Subject: replacing shmem
Date: 2001-01-06 03:01:58
Message-ID: F12SkleUBUhr3ukkwu1000004e3@hotmail.com (view raw or flat)
Thread:
Lists: pgsql-hackers
Excuse my ignorance.
Is there a way to replace the shmem and sem (ipc.c) to use files. In this 
way we can have a sort of a parallel server using GFS.
1.Starting a postmaster on ONE machine creates the shared structures, 2.then 
start on other cluster-machines, the variuos machines share the same 
datafiles and shared memory (on-file) structures
3.cliets connects (for example) round-robin to the clustered-postgres-nodes.
4.a problem is proper destroy and create of the shared structures

thanks,
valter


>From http://sistina.com/gfs/:

he Global File System (GFS [now in beta4]) is a shared disk cluster file 
system for Linux. GFS supports journaling and recovery from client failures. 
GFS cluster
                                      nodes physically share the same 
storage by means of Fibre Channel or shared SCSI devices. The file system 
appears to be local on each node and GFS
                                      synchronizes file access across the 
cluster. GFS is fully symmetric, that is, all nodes are equal and there is 
no server which may be a bottleneck or
                                      single point of failure. GFS uses read 
and write caching while maintaining full UNIX file system semantics.

_________________________________________________________________________
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.


Responses

pgsql-hackers by date

Next:From: Tom LaneDate: 2001-01-06 03:49:40
Subject: Re: RE: SHM ids (was running pgsql 7 under Jail'ed virtual machine on FreeBSD 4.2)
Previous:From: Dave VanAukenDate: 2001-01-06 02:58:33
Subject: RE: SHM ids (was running pgsql 7 under Jail'ed virtual machine on FreeBSD 4.2)

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group