Logo
Sharding Audit Algorithm

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 Explanation #

DML_SHARDING_CONDITIONS Algorithm #

Type: DML_SHARDING_CONDITIONS

Operation Steps #

  1. Configure the sharding audit generation strategy when configuring data sharding rules

Configuration Example #

  • DML_SHARDING_CONDITIONS
auditors:
  sharding_key_required_auditor:
    type: DML_SHARDING_CONDITIONS