Rules
Background
This section explains how to configure the ShardingSphere-Proxy rules.
Parameters Explained
Rules configuration for ShardingSphere-Proxy is the same as ShardingSphere-JDBC. For details, please refer to ShardingSphere-JDBC Rules Configuration.
Notice
Unlike ShardingSphere-JDBC, the following rules need to be configured in ShardingSphere-Proxy’s server.yaml
:
sqlParser:
sqlStatementCache:
initialCapacity: 2000
maximumSize: 65535
parseTreeCache:
initialCapacity: 128
maximumSize: 1024
transaction:
defaultType: XA
providerType: Atomikos
sqlTranslator:
type:
useOriginalSQLWhenTranslatingFailed:
当前内容版权归 ShardingSphere 或其关联方所有,如需对内容或内容相关联开源项目进行关注与资助,请访问 ShardingSphere .