robertngo(at)perridot(dot)com (Robert Ngo) writes:
> Robert Ngo wrote:
>> Chris Browne wrote:
>>> robertngo(at)perridot(dot)com (Robert Ngo) writes:
>>>> Can i create create a cluster of postgresql server by sharing the
>>>> database file on a SAN? I am also looking into slony but slony
>>>> data to each server and my database will potentially have terabytes of
>>>> data. I am thinking about a solution where a cluster of database server
>>>> will share database files on SAN, can this be done? I am also looking
>>>> for a load balancing salution for the postgresql database. Any
>>> What you wish can NOT be done.
>>> There can only be ONE postmaster for each database cluster; you can
>>> NOT have multiple servers sharing a single cluster.
>> so there is no ways for the file storage to be shared between
>> postgres cluster? Then i will need to add a huge amount of storage
>> every time new server is added.
> Is there any way i can reduce the storage requirement of the database
> server cluster?
Well, the base amount of storage for each instance is only about 26MB.
sh-3.00$ /opt/OXRS/dbs/pgsql8/bin/initdb -D .
Success. You can now start the database server using:
/opt/OXRS/dbs/pgsql8/bin/postmaster -D .
/opt/OXRS/dbs/pgsql8/bin/pg_ctl -D . -l logfile start
For any sort of interesting-sized database, this bit of overhead,
which is mostly WAL files, doesn't strike me as being terribly
material. I can't see 26MB being considered "huge" in a SAN context.
You only need additional storage (beyond that) when your applications
are actually requesting to store data. There is no magical way to
avoid that need for additional storage.
let name="cbbrowne" and tld="acm.org" in name ^ "@" ^ tld;;
"The newsreader abuse likely stems from more fundamental, than merely
just the UI, design disagreements. Requests from Unix programmers to
replicate Free Agent rightfully so should trigger the throwing of
sharp heavy objects at the requesting party."
-- jedi(at)dementia(dot)mishnet (jedi)
In response to
pgsql-admin by date
|Next:||From: Peter Eisentraut||Date: 2005-09-21 14:15:21|
|Subject: Re: Converting from LATIN1 to UNICODE encoding?|
|Previous:||From: Robert Treat||Date: 2005-09-21 11:48:31|
|Subject: Re: Disk Access Question|