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;
loadBalancerType
specifies the load balancing algorithm type, please refer to Load Balance Algorithm;
Create a statics readwrite splitting rule
Create a dynamic readwrite splitting rule
CREATE
, READWRITE_SPLITTING
, , WRITE_RESOURCE
, READ_RESOURCES
, AUTO_AWARE_RESOURCE
, WRITE_DATA_SOURCE_QUERY_ENABLED
, , NAME
, PROPERTIES
, TRUE
, FALSE