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