Quantcast
Channel: StackExchange Replication Questions
Viewing all articles
Browse latest Browse all 17268

Ignoring specified tables on replication master

$
0
0

I need to make a master-slave replication for some joomla portals. However, high traffic means that a lot of inserts, deletes and updates happen on the %_session tables, something that isn't really necessary to replicate.

So, I've added the following line to my master's my.cnf file:

replicate-wild-ignore-table=%.%\_session

I've stopped and started the master server, but when I check the bin.logs, I can see that all operations with _session tables are still recorded and prepared to be sent to the slave.

So my question is, how do I force the master to ignore any and all operations on tables that end in _session?


Viewing all articles
Browse latest Browse all 17268

Trending Articles



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