SQL Federation
Background
This function is an experimental one and is currently not suitable for use in core system production environments. When multiple tables in a join query are distributed across different database instances, enabling federated query allows for cross-database join queries, as well as subqueries.
Parameters
sqlFederation:
sqlFederationEnabled: # SQL federation enabled configuration
allQueryUseSQLFederation: # all query use SQL federation configuration
executionPlanCache: # execution plan cache configuration
initialCapacity: 2000 # execution plan local cache initial capacity
maximumSize: 65535 # execution plan local cache maximum size
Sample
sqlFederation:
sqlFederationEnabled: true
allQueryUseSQLFederation: false
executionPlanCache:
initialCapacity: 2000
maximumSize: 65535
Related References
当前内容版权归 ShardingSphere 或其关联方所有,如需对内容或内容相关联开源项目进行关注与资助,请访问 ShardingSphere .