Firebird SQL Development
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsDatabasesFirebird SQL Development

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
  #1  
Old July 18th, 2004, 02:17 PM
flutlichtjunky flutlichtjunky is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jun 2004
Posts: 21 flutlichtjunky User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Can this be done? - Firebird master -> MySQL slave

Hi

This is more a theoretical question than a practical one.

If i had a firebird db setup to run business apps and a company wanted to create an outward facing site for online customers using up to date live information. Can firebird be setup with a mysql db running as a slave to process select queries from a website?

And what is the simple overview of how this is done?

Reply With Quote
  #2  
Old July 21st, 2004, 05:23 AM
flutlichtjunky flutlichtjunky is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jun 2004
Posts: 21 flutlichtjunky User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Hello Hello Hello Hello Hello

hmm hey its pretty spacious in here.

anywho to expand a little.

Im thinking on insert, update, delete request PHP sends a message to FB to produce a csv for particular rows? and then uses that ONLOAD function to load the file to the mysql db?

Am i close?

Reply With Quote
  #3  
Old July 21st, 2004, 05:54 AM
pabloj's Avatar
pabloj pabloj is offline
Modding: Oracle MsSQL Firebird
Dev Shed God 6th Plane (7500 - 7999 posts)
 
Join Date: Jun 2001
Location: Outside US
Posts: 7,905 pabloj User rank is Captain (20000 - 30000 Reputation Level)pabloj User rank is Captain (20000 - 30000 Reputation Level)pabloj User rank is Captain (20000 - 30000 Reputation Level)pabloj User rank is Captain (20000 - 30000 Reputation Level)pabloj User rank is Captain (20000 - 30000 Reputation Level)pabloj User rank is Captain (20000 - 30000 Reputation Level)pabloj User rank is Captain (20000 - 30000 Reputation Level)pabloj User rank is Captain (20000 - 30000 Reputation Level)pabloj User rank is Captain (20000 - 30000 Reputation Level) 
Time spent in forums: 2 Months 3 Weeks 3 Days 4 h 58 m 14 sec
Reputation Power: 279
You can do everything (more or less) if you really want to, but this is not always a good idea ...
Why can't you use the same db? Or another Firebird (there are free FBReplicator and commercial replication tools available and you can use external tables)? Or even (arghhh) two MySQLs?

Reply With Quote
  #4  
Old July 22nd, 2004, 06:15 AM
flutlichtjunky flutlichtjunky is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jun 2004
Posts: 21 flutlichtjunky User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
I do see you point, im not an expert in FB but throughout my db unit of my course, it will drilled into me all the date / codd principles ACID etc etc and although i do like mysql, it doesnt make me feel as secure when im using it. Innodb is better tho than myisam tho.

My theoretical Q can from the thought of using FB as a main company db and exporting any queries on FB to a companies web server, which is tailored for fast select queries.

I have seem many replication tools for intra db communication, but none for realtime inter db communication.

Reply With Quote
  #5  
Old July 22nd, 2004, 07:25 AM
pabloj's Avatar
pabloj pabloj is offline
Modding: Oracle MsSQL Firebird
Dev Shed God 6th Plane (7500 - 7999 posts)
 
Join Date: Jun 2001
Location: Outside US
Posts: 7,905 pabloj User rank is Captain (20000 - 30000 Reputation Level)pabloj User rank is Captain (20000 - 30000 Reputation Level)pabloj User rank is Captain (20000 - 30000 Reputation Level)pabloj User rank is Captain (20000 - 30000 Reputation Level)pabloj User rank is Captain (20000 - 30000 Reputation Level)pabloj User rank is Captain (20000 - 30000 Reputation Level)pabloj User rank is Captain (20000 - 30000 Reputation Level)pabloj User rank is Captain (20000 - 30000 Reputation Level)pabloj User rank is Captain (20000 - 30000 Reputation Level) 
Time spent in forums: 2 Months 3 Weeks 3 Days 4 h 58 m 14 sec
Reputation Power: 279
Quote:
but none for realtime inter db communication
two examples:
Oracle DBLinks and MSSQL's Linked servers.

Reply With Quote
  #6  
Old July 22nd, 2004, 11:16 AM
flutlichtjunky flutlichtjunky is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jun 2004
Posts: 21 flutlichtjunky User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
ah thanks. and these can dynamically sync two different databases from different manufacturers?

And is there anything like this for FB, Mysql systems?

Reply With Quote
  #7  
Old July 23rd, 2004, 02:51 AM
pabloj's Avatar
pabloj pabloj is offline
Modding: Oracle MsSQL Firebird
Dev Shed God 6th Plane (7500 - 7999 posts)
 
Join Date: Jun 2001
Location: Outside US
Posts: 7,905 pabloj User rank is Captain (20000 - 30000 Reputation Level)pabloj User rank is Captain (20000 - 30000 Reputation Level)pabloj User rank is Captain (20000 - 30000 Reputation Level)pabloj User rank is Captain (20000 - 30000 Reputation Level)pabloj User rank is Captain (20000 - 30000 Reputation Level)pabloj User rank is Captain (20000 - 30000 Reputation Level)pabloj User rank is Captain (20000 - 30000 Reputation Level)pabloj User rank is Captain (20000 - 30000 Reputation Level)pabloj User rank is Captain (20000 - 30000 Reputation Level) 
Time spent in forums: 2 Months 3 Weeks 3 Days 4 h 58 m 14 sec
Reputation Power: 279
Quote:
and these can dynamically sync two different databases from different manufacturers?
those are tools that can be used to sync different non ethrogeneous databases.
I'm not aware of something similar for MySQL or Firebird.

Reply With Quote
Reply

Viewing: Dev Shed ForumsDatabasesFirebird SQL Development > Can this be done? - Firebird master -> MySQL slave


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not 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
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 1 hosted by Hostway