CREATE SHADOW RULE
storageUnitMapping
specifies the mapping relationship between thesource
database and the shadow library. You need to use the storage unit managed by RDL, please refer to ;shadowAlgorithm
can act on multipleshadowTableRule
at the same time;- If
algorithmName
is not specified, it will be automatically generated according toruleName
,tableName
and ; shadowAlgorithmType
currently supportsVALUE_MATCH
,REGEX_MATCH
andSIMPLE_HINT
.
- Create a shadow rule
CREATE SHADOW RULE shadow_rule(
SHADOW=demo_su_shadow,
t_order(TYPE(NAME="SIMPLE_HINT", PROPERTIES("shadow"="true", "foo"="bar"))),
);
CREATE
, SHADOW
, RULE
, SOURCE
, SHADOW
, TYPE
, NAME
,