[ale] database conversion

James P. Kinney III jkinney at localnetsolutions.com
Thu Feb 10 10:14:13 EST 2005


More brainstorming (after a mail crash yesterday!)

Postgresql 8 has a pretty good Write Ahead Logging. A seperate project I
am looking at is to use the WAL as a way to syncronize two databases
that are not in a mirror mode of any type.

The scenario: Main DB has the _real_ web transactions, user list,
products, etc.  Second machine gats a clone of the main machine at a
point in time. Second machine is hauled to a trade show where the net
access is (or lack) prevents a direct line to the main db.

Second machine runs the transaction locally after a checkpoint in the
WAL is set. After the show, the WAL is replayed back into the main
machine to merge in the transactions from the satellite unit.

Other than the obvious issues of duplicated transactions (not likely
except for possibly adding a new user) and the sequence id's for the
transactions (I will have to double check that the sequencing id's are
only used as record counters), are there any "gotcha's" that others have
run across in anything similar?
-- 
James P. Kinney III          \Changing the mobile computing world/
CEO & Director of Engineering \          one Linux user         /
Local Net Solutions,LLC        \           at a time.          /
770-493-8244                    \.___________________________./
http://www.localnetsolutions.com

GPG ID: 829C6CA7 James P. Kinney III (M.S. Physics)
<jkinney at localnetsolutions.com>
Fingerprint = 3C9E 6366 54FC A3FE BA4D 0659 6190 ADC3 829C 6CA7
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part




More information about the Ale mailing list