how to exclude some tables from being binlogged in mysql?

Alaa picture Alaa · Jun 8, 2011 · Viewed 10.3k times · Source

I need to exclude some files from being logged in the binary log to avoid wasting my network bandwidth and time on replication of caching tables.
i know there is

[mysqld]
binlog-ignore-db=DB_TO_BE_SKIPPED

how can i do so for specific tables (Caching tables)??
is there something like

binlog-ignore-table=tbl_boost_cache

** Edit **
i am using drupal, and there is a functional defect with boost caching in drupal. the binlog files get large exponentially. (sometimes about 100MB/minute!!) and the only one to avoid such cases is to stop logging for these tables Thanks!!

Answer

neocanable picture neocanable · Jun 8, 2011

mysql has parameters:

replicate-ignore-table=db_name.tbl_name
replicate-wild-ignore-table=db_name.% 

u can try it