ALTER TRAFFIC RULE

    Syntax

    Example

    • Alter dual routing rule
    1. LABELS (OLTP),
    2. TRAFFIC_ALGORITHM(TYPE(NAME="SQL_MATCH",PROPERTIES("sql" = "SELECT * FROM t_order WHERE order_id = 1; UPDATE t_order SET order_id = 5;"))),
    3. LOAD_BALANCER(TYPE(NAME="RANDOM")));