Subject | RE: [Firebird-Architect] WAL and JOURNAL |
---|---|
Author | Samofatov, Nickolay |
Post date | 2004-02-26T16:55:07Z |
Hi, Jim!
reading patterns in a number of places.
file.
platforms (Oracle, Firebird, MSSQL) and it is widely deployed now in
Russia and CIS. I can even send you a source of Java multi-master
replication server and clients if you want to look at it. Tricky part of
implementation was to read a list of active transactions and sequence
ID's when building replication delta in snapshot mode. That is doable
for Oracle and I added needed functionality into Firebird core too.
I did presentation on this subject a year ago on Firebird Conference.
Logical replication is generally a nice thing, but it is a way too slow
for a number of uses.
> Perhaps Nickolay's clever side shadow would help, but thepage
> shock to a long running readonly transation when a couple of hours
> changed suddenly appeared would be interesting.This one is expected and is interesting. I'll need to analyse page
reading patterns in a number of places.
> Another tricky problemcritical
> is how to handle the case where a batch update failed, which is
> case when mirroring is used for disaster recovery. I suppose a log ofanother
> page pre-images from the update would do the trick, but it adds
> piece of complexity and further complicates the problem of using theI address this problem in the code which does merge of off-side delta
> mirror for queries, reports, etc.
file.
> There are other ways address the problem. Netfrastructure has aclient
> whose application does four or five node cascading replication. Thevalues
> replication is at application level but eased by a number of features,
> including:
>
> 1. Multi-table triggers to maintain a local change log table
> 2. A sequence (generator) mechanism that produces network unique
> 3. A server to server service based on a exchange of serializedtraffic
> object clusters
> 4. An internal scheduler to kick off change propogation
>
> The way they use the system is a primary server that handles web
> (all clients are browsers), the second (belt) and third (suspenders)You may not believe me, but I had this stuff working on a number or
> servers are hot backups, and the fourth server is forty miles way to
> protect against any less than a 10 megaton blast. The belt and
> suspender servers, however, also do batch reporting and accounting
> wrapups that get replicated upstream as well.
platforms (Oracle, Firebird, MSSQL) and it is widely deployed now in
Russia and CIS. I can even send you a source of Java multi-master
replication server and clients if you want to look at it. Tricky part of
implementation was to read a list of active transactions and sequence
ID's when building replication delta in snapshot mode. That is doable
for Oracle and I added needed functionality into Firebird core too.
I did presentation on this subject a year ago on Firebird Conference.
Logical replication is generally a nice thing, but it is a way too slow
for a number of uses.
> Jim StarkeyNickolay