Replicate-wild-do-table and Replicate-wild-ignore-table

Source: Internet
Author: User

  • --replicate-wild-do-table=db_name.tbl_name

    < Span class= "bold" > command-line Format
    Permitted Values Type string

    Creates a replication filter by telling the slave thread to restrict replication to statements where any of the updated TA Bles match the specified database and table name patterns. Patterns can contain the" % "and" _ "Wildcard characters, which has the same meaning as for theLIKEPattern-matching operator. To specify more than one table, use the This option multiple times, once for each table. This works for cross-database updates.

    constrains Any statements related to update tables that match the specified database and table names by telling the thread to create a replication filter. Patterns can contain "%" and "_" wildcard characters, which are similar to pattern matching algorithms. To specify more than one table, use this option multiple times for each table. This is the work of cross-database updates.

    Cross-database This is the point, unlike Replicate-do-db, other library operations, will not synchronize the set of libraries. This parameter, as long as the table involved, will be synchronized.


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

    Command-Line Format --replicate-wild-ignore-table=name
    Permitted Values Type string

    Creates a replication filter which keeps the slave thread from replicating a statement on which any table matches the give n wildcard pattern. To specify the than one table to ignore, use the this option multiple times, and once for each table. This works for cross-database updates.

Replicate-wild-do-table and Replicate-wild-ignore-table

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.