Re: Synch Replication

From: Fujii Masao <masao(dot)fujii(at)gmail(dot)com>
To: "K, Niranjan (NSN - IN/Bangalore)" <niranjan(dot)k(at)nsn(dot)com>
Cc: PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Synch Replication
Date: 2009-02-12 05:08:03
Message-ID: 3f0b79eb0902112108m34e89701m848243c9391b6f31@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Hi Niranjan,

Sorry for this late reply.

On Tue, Feb 10, 2009 at 3:25 PM, K, Niranjan (NSN - IN/Bangalore)
<niranjan(dot)k(at)nsn(dot)com> wrote:
> Thanks. Now it works.

Good news :)

> Few questions:
> 1) Do you have an idea by when the Hot standby patch and Sync
> replication patch will be integrated?

I think (hope) that they will be integrated in v8.5.

> 2) I have used 1 physical machine to try current patch of synchronous
> replication. Is it OK for me to try with 2 separate machines for Primary
> & Standby servers

Of course. The basic procedure to construct the synch rep environment
is described in the attached document (log-shipping-record.html).
If you want the more detailed information, please refer to the following link
and build the documentation of synch rep.

http://www.postgresql.org/docs/current/interactive/docguide-build.html

> 3) Do you have test programs that can used for synchronous replication
> testing?

No, I've not used the automated test program. Yeah, since it's very useful,
I'll make it before long.

> 4) I'am thinking of trying load/performance tests as well. What do you
> feel? Will it be too early to do this test?

Any kinds of testing welcome!

I attached the patch which fixed the problem which you reported.
The source code which I uploaded before outputs many logs,
which would harm the performance, so please try this new patch.

Regards,

--
Fujii Masao
NIPPON TELEGRAPH AND TELEPHONE CORPORATION
NTT Open Source Software Center

Attachment Content-Type Size
log-shipping-record.html text/html 11.3 KB
synch_rep_0212.tgz application/x-gzip 180.1 KB

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Peter Eisentraut 2009-02-12 06:15:36 Re: temporarily stop autovacuum
Previous Message KaiGai Kohei 2009-02-12 04:47:49 Re: SE-PostgreSQL and row level security