Shadow DB
Configuration Item Explanation
dataSources: # Omit the data source configuration, please refer to the usage
rules:
- !SHADOW
enable: # Shadow function switch. Optional values: true/false, the default is false
dataSources:
shadowDataSource:
sourceDataSourceName: # Production data source name
shadowDataSourceName: # Shadow data source name
tables:
<table-name>:
dataSourceNames: # Shadow table location shadow data source names
- <shadow-data-source>
shadowAlgorithmNames: # Shadow table location shadow algorithm names
- <shadow-algorithm-name>
defaultShadowAlgorithmName: # Default shadow algorithm name
shadowAlgorithms:
<shadow-algorithm-name> (+): # Shadow algorithm name
type: # Shadow algorithm type
props: # Shadow algorithm property configuration
# ...
props:
# ...
当前内容版权归 ShardingSphere 或其关联方所有,如需对内容或内容相关联开源项目进行关注与资助,请访问 ShardingSphere .