SQL Statements for Controlling Replica Servers Option Maximum Length MASTER_COMPRESSION_ALGORITHMS 99 NETWORK_NAMESPACE 64 13.4.2.2 CHANGE REPLICATION FILTER Statement CHANGE REPLICATION FILTER  filter [,  filter ]  [, ...] [FOR CHANNEL  channel ] filter : { REPLICATE_DO_DB = ( db_list ) | REPLICATE_IGNORE_DB = ( db_list ) | REPLICATE_DO_TABLE = ( tbl_list ) | REPLICATE_IGNORE_TABLE = ( tbl_list ) | REPLICATE_WILD_DO_TABLE = ( wild_tbl_list ) | REPLICATE_WILD_IGNORE_TABLE = ( wild_tbl_list ) | REPLICATE_REWRITE_DB = ( db_pair_list ) } db_list : db_name [,  db_name ][, ...] tbl_list : db_name.table_name [,  db_name.table_name ][, ...] wild_tbl_list : ’ db_pattern.table_pattern ’[, ’ db_pattern.table_pattern ’][, ...] db_pair_list : ( db_pair )[, ( db_pair )][, ...] db_pair : from_db ,  to_db CHANGE REPLICATION FILTER  sets one or more replication filtering rules on the replica in the same way as starting the replica  mysqld  with replication filtering options such as  --replicate-do-db  or  -- replicate-wild-ignore-table . Unlike the case with the server options, this statement does not require restarting the server to take effect, only that the replication SQL thread be stopped using  STOP REPLICA | SLAVE SQL_THREAD  first (and restarted with  START REPLICA | SLAVE SQL_THREAD afterwards).  CHANGE REPLICATION FILTER  requires the  REPLICATION_SLAVE_ADMIN  privilege (or the deprecated  SUPER  privilege). Use the  FOR CHANNEL  channel  clause to make a replication filter specific to a replication channel, for example on a multi-source replica. Filters applied without a specific  FOR CHANNEL  clause are considered global filters, meaning that they are applied to all replication channels. Note Global replication filters cannot be set on a MySQL server instance that is configured for Group Replication, because filtering transactions on some servers would make the group unable to reach agreement on a consistent state. Channel specific replication filters can be set on replication channels that are not directly involved with Group Replication, such as where a group member also acts as a replica to a source that is outside the group. They cannot be set on the group_replication_applier  or  group_replication_recovery  channels. The following list shows the  CHANGE REPLICATION FILTER  options and how they relate to  -- replicate-*  server options: • REPLICATE_DO_DB : Include updates based on database name. Equivalent to  --replicate-do-db . • REPLICATE_IGNORE_DB : Exclude updates based on database name. Equivalent to  --replicate- ignore-db . 2757