Quantcast
Channel: MySQL Forums - Replication
Viewing all articles
Browse latest Browse all 1561

Replication of partial table content to another database? (no replies)

$
0
0
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.

Viewing all articles
Browse latest Browse all 1561

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>