i have a cluster structure on RDS (master/slave)...and all the temporary tables created on the master are replicated on the slave. I don't want that....
I want that statements like:
create temporary table tmp as (select * from tb);
...do not gets replicated.
I would want that NO temporary table were replicated. I realize now that i must user the option "replicate-ignore-table=name" ...
But any one knows how t do that on RDS? I think i have to user the client tool right?
Someone has an example?
You can also use mysql. rds_stop_replication to stop replication between two Amazon RDS DB instances. You typically stop replication to perform a long running operation on the read replica, such as creating a large index on the read replica. You can restart any replication process that you stopped by calling mysql.
You can now create a second-tier Read Replica from an existing first-tier Read Replica. By creating a second-tier Read Replica, you may be able to move some of the replication load from the master database instance to a first-tier Read Replica.
Indeed, RDS contains a section call Parameter Groups
.
(UPDATE)
For RDS Mysql, there is no such options. Although SHOW SLAVE STATUS\G
or SHOW MASTER STATUS\G
will show those parameter.
For Mariadb 10, you can select those allowed custom RDS parameter e.g. replicate_ignore_db
and create a parameter group, then attach to RDS instance DB Parameter Group
.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With