CREATE READWRITE_SPLITTING RULE

    • Support the creation of static readwrite-splitting rules and dynamic readwrite-splitting rules;
    • Dynamic readwrite-splitting rules rely on database discovery rules;
    • Duplicate ruleName will not be created;
    • ifNotExists clause used for avoid Duplicate readwrite_splitting rule error.

    Create a statics readwrite splitting rule

    Create a dynamic readwrite splitting rule

    Create readwrite splitting rule with clause

    • Statics readwrite splitting rule
    • Dynamic readwrite splitting rule