Sharding Audit Algorithm
Background
The sharding audit is to audit the SQL statements in the sharding database. Sharding audit not only intercept illegal SQL statements, but also gather the SQL statistics.
Parameters
DML_SHARDING_CONDITIONS algorithm
Type: DML_SHARDING_CONDITIONS
Procedure
- when configuring data sharding rules, create sharding audit configurations.
Sample
- DML_SHARDING_CONDITIONS
auditors:
sharding_key_required_auditor:
type: DML_SHARDING_CONDITIONS