Joinutility seperatorLogin utility separator Infobright.com
   
 
Migrate data from multi mysql to infobright automatically
Posted: 13 September 2009 11:21 AM   Ignore ]  
Newbie
Rank
Total Posts:  3
Joined  2009-09-13

I have four servers run mysql, the all the databases have the same schema. My question is, how can I merge all the data into one infobright on another server regularly( at 3 am everyday). Is there another method except export and import use csv.

Thanks for reply.

Profile
 
Posted: 13 September 2009 12:37 PM   Ignore ]   [ # 1 ]  
Member
RankRankRank
Total Posts:  220
Joined  2008-08-18

If they are in the same box you can transfer through pipe (export to pipe and import from pipe) in Linux based system.

Signature 

Mahib

Profile
 
Posted: 13 September 2009 12:51 PM   Ignore ]   [ # 2 ]  
Newbie
Rank
Total Posts:  3
Joined  2009-09-13

It’s on different server.

Profile
 
Posted: 13 September 2009 02:42 PM   Ignore ]   [ # 3 ]  
Member
Avatar
RankRankRank
Total Posts:  191
Joined  2008-10-20

The best way to manage this is with an open source ETL tool like CloverETL, Talend, Kettle, etc. If you want to manage this with shell scripts, look at the script I’ve contributed under the download button above under download contributed software. I have a script called ICE Breaker for MySQL that does this, takes a table from a remote MySQL schema and loads it into infobright. Feel free to take it in whole or in part to make it work for you. It assumes the table exists on the source and target systems.

http://www.infobright.org/Downloads/Contributed-Software/

Signature 
Profile
 
Posted: 13 September 2009 08:57 PM   Ignore ]   [ # 4 ]  
Newbie
Rank
Total Posts:  3
Joined  2009-09-13

Thanks, Mahib and CarlGelbart. I will try the script.

Profile