From: Tom Lane <tgl@sss.pgh.pa.us>
To: Bhartendu Maheshwari <bhartendum@jataayusoft.com>
Cc: pgsql-admin@postgresql.org
Subject: Re: Running Postgres Daemons with same data files
Date: Thu, 11 Dec 2003 10:01:08 -0500
Message-ID: <13258.1071154868@sss.pgh.pa.us> (raw)
In-Reply-To: <1071119035.4503.2.camel@bharat>
References: <1071030083.16487.55.camel@bharat>
<200312092108.12854.uwe@oss4u.com>
<1071049881.2741.12.camel@bharat>
<3FD77127.4060401@edgate.com>
<1071119035.4503.2.camel@bharat>
Bhartendu Maheshwari <bhartendum@jataayusoft.com> writes:
> I got all your points, thanks for such a great discussion, Now the last
> thing I want is how can I close the data files and flush the cache into
> the data files. How can I do this in postgresql????
Shut down the postmaster.
> I will also try with RAID and other suggested way you all suggested.
I don't think what people have been telling you has penetrated at all.
You CAN NOT run multiple postmasters concurrently on the same set of
database files. It will not work. It will corrupt your data. There
is no hack that will make it work.
regards, tom lane
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, bhartendum@jataayusoft.com
Subject: Re: Running Postgres Daemons with same data files
In-Reply-To: <13258.1071154868@sss.pgh.pa.us>
References: <1071030083.16487.55.camel@bharat> <200312092108.12854.uwe@oss4u.com> <1071049881.2741.12.camel@bharat> <3FD77127.4060401@edgate.com> <1071119035.4503.2.camel@bharat> <13258.1071154868@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