ALTER SQL_FEDERATION RULE
Description
The ALTER SQL_FEDERATION RULE
syntax is used to modify the federated query configuration.
Syntax
Grammar Railroad diagram
AlterSQLFederationRule ::=
'ALTER' 'SQL_FEDERATION' 'RULE' sqlFederationRuleDefinition
sqlFederationRuleDefinition ::=
'(' sqlFederationEnabled? allQueryUseSQLFederation? (','? executionPlanCache)? ')'
sqlFederationEnabled ::=
'SQL_FEDERATION_ENABLED' '=' boolean_
allQueryUseSQLFederation ::=
'ALL_QUERY_USE_SQL_FEDERATION' '=' boolean_
executionPlanCache ::=
'EXECUTION_PLAN_CACHE' '(' cacheOption ')'
cacheOption ::=
('INITIAL_CAPACITY' '=' initialCapacity)? (',' 'MAXIMUM_SIZE' '=' maximumSize)?
initialCapacity ::=
int
maximumSize ::=
int
boolean_ ::=
TRUE | FALSE
Example
- Alter SQL Federation rule
ALTER SQL_FEDERATION RULE (SQL_FEDERATION_ENABLED=TRUE ALL_QUERY_USE_SQL_FEDERATION=TRUE EXECUTION_PLAN_CACHE(INITIAL_CAPACITY=1024 MAXIMUM_SIZE=65535));
Reserved word
ALTER
、SQL_FEDERATION
、RULE
、SQL_FEDERATION_ENABLED
、ALL_QUERY_USE_SQL_FEDERATION
、EXECUTION_PLAN_CACHE
、INITIAL_CAPACITY
、MAXIMUM_SIZE
Related links
当前内容版权归 ShardingSphere 或其关联方所有,如需对内容或内容相关联开源项目进行关注与资助,请访问 ShardingSphere .