CREATE SHADOW RULE

    • storageUnitMapping specifies the mapping relationship between the source database and the shadow library. You need to use the storage unit managed by RDL, please refer to ;
    • shadowAlgorithm can act on multiple shadowTableRule at the same time;
    • If algorithmName is not specified, it will be automatically generated according to ruleName, tableName and ;
    • shadowAlgorithmType currently supports VALUE_MATCH, REGEX_MATCH and SIMPLE_HINT.
    • Create a shadow rule
    1. CREATE SHADOW RULE shadow_rule(
    2. SHADOW=demo_su_shadow,
    3. t_order(TYPE(NAME="SIMPLE_HINT", PROPERTIES("shadow"="true", "foo"="bar"))),
    4. );

    CREATE, SHADOW, RULE, SOURCE, SHADOW, TYPE, NAME,