[英]Replicate subset of tables from AWS RDS mysql to another RDS/external mysql instance
The MySQL database that I am using is in an Amazon AWS RDS 5.6. 我正在使用的MySQL数据库在Amazon AWS RDS 5.6中。 Only 1 of the tables needs to be replicated.
只需要复制一张表。 The slave can be another AWS RDS MySQL instance.
从服务器可以是另一个AWS RDS MySQL实例。 Read replica tables replicates the entire database.
只读副本表将复制整个数据库。
Can what I am describing be done manually or through other means? 我所描述的可以手动完成还是通过其他方式完成?
On RDS MySQL Engine the replication ignore/do table/db options cannot be set. 在RDS MySQL引擎上,无法设置复制忽略/执行表/数据库选项。 You could create a read replica, set read_only of the read replica to 0 and change the tables you dont need on the slave to BLACKHOLE.
您可以创建一个只读副本,将只读副本的read_only设置为0,然后将从属服务器上不需要的表更改为BLACKHOLE。
You could also install you own mysql on a EC2 instance where you would have control over all options. 您还可以在自己可以控制所有选项的EC2实例上安装自己的mysql。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.