MySQL Forums
Forum List  »  Replication

Replication of partial table content to another database?
Posted by: Ian Hayes
Date: February 25, 2013 01:07PM

I have a beginners question on MySQL replication.

I have a table in database 'x' that I want to replicate to database 'y'. However, I only want to replicate part of the contents of the database 'x' table to the equivalent table on database 'y'.

My use case is for a SaaS software product where all the identity related info for all tenants is kept in a 'principals' table inside database 'x', i.e. a list of all the users and groups for all tenants. Database 'y' holds all the application related data for a particular tenant. I want to replicate a 'principals' table inside database 'y' but have the replicated data only include the users and groups associated with that particular tenant. Is this possible?

I suppose this means implementing a filtered replication from database 'x' to database 'y'

The databases might be on separate database servers, but not necessarily do.

Options: ReplyQuote


Subject
Views
Written By
Posted
Replication of partial table content to another database?
3412
February 25, 2013 01:07PM


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.