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

Re: Where Can I Find The Code Segment For WAL Control?

From: 王宝兵 <wangbaobing(at)gmail(dot)com>
To: <pgsql-novice(at)postgresql(dot)org>
Subject: Re: Where Can I Find The Code Segment For WAL Control?
Date: 2006-03-10 06:39:36
Message-ID: 44111F28.00000E.02120@WANGBAOBING (view raw or flat)
Thread:
Lists: pgsql-novice
 

I am now trying to develop the PG to support real-time backup.My 

Architecture is somehow similar to the "Database Mirroring" technology of 

SQL Server 2005.The server end of the system is consisted of two DB servers 

One is the Principal server,the other is the Mirror server.whenever the 

Principal flushes its log buffer to the local log file,it must send the 

Content of its buffer to the Mirror simultaneously.After the mirror receives


The buffer,it write to its own log file and send a response message to the 

Principal,then the Mirror redo/undo its log.By this way, we can guarantee 

The database instances of the two servers identical. 

But now I encounter a problem.I don't know where the functions to control 

Log buffer are.Which code segment may I refer to? 

I have just participated the PG project for a short time,and I will 

Appreciate your help very much! 

Look forward to you all! 

 

Charlie Wang

pgsql-novice by date

Next:From: Christoph Della ValleDate: 2006-03-10 06:51:12
Subject: Re: Function to convert numeric string to number in version
Previous:From: Bruno Wolff IIIDate: 2006-03-09 22:35:04
Subject: Re: Function to convert numeric string to number in version 8.0

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