home hardware prices news articles forums photos user reviews
Go Back   Tech Support Forums - TechIMO.com > PC Hardware and Tech > Webmastering and Programming
Join TechIMO for Free!
Register Blogs FAQ Members List Calendar Search Today's Posts Mark Forums Read
Reply Get bargains at  »  Dealighted.com
 
Thread Tools
Currently Active Users: 1694
Discussions: 188,402, Posts: 2,243,609, Members: 232,632
Old October 7th, 2005, 04:03 PM   Digg it!   #1 (permalink)
Member
 
Join Date: Sep 2004
Location: Your living room...
Posts: 412
Need assistance with data synchronization (not replication). . .

Hi all,

Briefly, is anyone familiar with efficient (preferably open source) data synchronization techniques for systems using Postgres, MySQL, etc. . . . Specificially the ability synchronize (not replicate) multiple databases across multiple machines regularly.

Thanks in advance!
__________________
I reserve the right to contradict myself. . .

gberz3 is offline   Reply With Quote
Old October 10th, 2005, 09:42 PM     #2 (permalink)
Member
 
Join Date: Sep 2002
Posts: 364
A quick google search for "Postgres Replication" turned up many hits. It seems like there is stuff, or at least was stuff out there. I'm not sure about MySQL. But using open source databases will probably lead to less mature products than enterprise databases which have this functionality built in.

Creosote is offline   Reply With Quote
Old October 11th, 2005, 01:18 PM     #3 (permalink)
Member
 
Join Date: Sep 2004
Location: Your living room...
Posts: 412
Quote:
Originally Posted by Creosote
A quick google search for "Postgres Replication" turned up many hits. It seems like there is stuff, or at least was stuff out there. I'm not sure about MySQL. But using open source databases will probably lead to less mature products than enterprise databases which have this functionality built in.

I appreciate your input. However, as I said, I'm looking for syncrhonization, not replication. I know some techniques involve doing "replication" both ways, and I suppose that's ok, but I need all that to be transparent (and 100% accurate). Currently I've considered doing something like diffing seperate binary logs then NOTing them and propagating the differences (via rsync, etc. . .), but this seems rather tedious and rsync despite some forum(s) claims is fundamentally one-way. I am interested in whether or not anyone else is familiar, and what techniques they recommend. Thanks again.


Last edited by gberz3 : October 11th, 2005 at 06:24 PM.
gberz3 is offline   Reply With Quote
Old October 11th, 2005, 10:27 PM     #4 (permalink)
Member
 
Join Date: Sep 2002
Posts: 364
LOL. I can't read I guess. I would suggest to ask over at Tek-Tips.com forums. They have forums for both postgres and mysql.
Creosote is offline   Reply With Quote
Old October 12th, 2005, 10:54 PM     #5 (permalink)
Real gangstas sip on Yacc
 
jkrohn's Avatar
 
Join Date: Oct 2001
Location: Suckas-ville
Posts: 4,549
Send a message via ICQ to jkrohn Send a message via AIM to jkrohn Send a message via Yahoo to jkrohn
If you want to keep sync, just write a wrapper for all SQL Executes which connects to and executes the command on both servers.

This would keep them in sync. Also you should be able to setup two way transactional replication which would do the same thing.

In either method you are going to need to watch out for record locking big time.

Jkrohn
__________________
Signatures blow hard
If your signature contains an ad of any kind, congratulations, you're on my ignore list.
jkrohn is offline   Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

Posting Rules
You may post new threads
You may post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Clock synchronization titan33 Distributed Computing 0 March 29th, 2005 12:37 PM
AD Replication question blubomber Networking and Internet 0 May 13th, 2004 02:19 PM
synchronization to server tboy Applications and Operating Systems 2 May 3rd, 2004 01:43 PM
Drive Replication in Win2K PeterGriffin General Tech Discussion 7 May 18th, 2003 10:38 PM
Win2k Server Domain Security Policy Replication Problems implexant Networking and Internet 20 November 24th, 2002 03:13 AM

Most Active Discussions
Is It Just Me? (2906)
3-days in and no threads about Gaza (161)
Misery Loves Company... (2144)
New Build ( Finally ) (7)
CPU wont boot (7)
Building a gaming computer advice (5)
I think I just killed my computer w.. (24)
RCA 52Inch HDTV wont turn on (5)
Folderchat Weekday thread (444)
Recent Discussions
Futronix has water features? (0)
Laptop proccesor to desktop mob.. (2)
Please help! multiple problems! (4)
RCA 52Inch HDTV wont turn on (5)
New Build ( Finally ) (7)
Common Spyware Solutions (97)
How do you move a hard-drive to.. (4)
What is the best external enclo.. (0)
Partition Magic 7.0 (Unallocate.. (17)
Blackberry Storm, Gears of War .. (1)
Core 2 Quad Q9550 system (3)
COWBOOM Ripoff! Used Laptop w/$.. (4)


All times are GMT -4. The time now is 04:46 AM.
TechIMO Copyright 2008 All Enthusiast, Inc.



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28