MySQL Forums
Forum List  »  Custom Storage Engines

Database Links As Custom Storage Engine
Posted by: Alex Wollangk
Date: October 17, 2009 08:43PM

I'm currently working on a system where I would like to have link certain tables so that instead of selecting the data from the local store mysql would connect to a remote database. One way I thought this could be implemented would be by setting up a custom storage engine similar to the Federated engine, except that instead of connecting specifically to a remote mysql database that you could connect to an ODBC data source (or other database abstraction layer, I'm not picky.)

Ideally you would somehow specify the connection parameters in the CREATE TABLE statement, but it seems that this might be difficult if not impossible to implement.

At this point since the system I'm working on consolidates the database access code in one location I am probably doing to break out access to the multiple databases there, but I don't have to like it... :)

Options: ReplyQuote


Subject
Views
Written By
Posted
Database Links As Custom Storage Engine
6383
October 17, 2009 08:43PM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.