Apache ShardingSphere v5.5.0 documentplaceholder-type=none environment When loading a configuration file containing environment variables, users need to set place- holder-type to environment, which is commonly used in Docker Image deployment format is basically the same as YAML configuration. Assume that the following set of environment variables exists, 1. The existing environment variable FIXTURE_JDBC_URL is jdbc:h2:mem:foo_ds_1; DB_CLO MODE=MySQL username: sa password: In real situations, system variables are usually defined dynamically. Assume that none of the above system variables are defined, and there is a YAML file config.yaml containing0 码力 | 602 页 | 3.85 MB | 1 年前3
Apache ShardingSphere 5.4.1 Documentnative-image/shardingsphere-test-native-test-metadata/ folder. ${} contains the reg‐ ular system variables of POM 4.0 corresponding to the relevant submodules, which can be replaced by yourself. git clone ShardingSphere document SET DIST VARIABLE Description The SET DIST VARIABLE syntax is used to set system variables. ### Syntax SetDistVariable ::= 'SET' 'DIST' 'VARIABLE' (proxyPropertyName '=' proxyPropertyValue The SHOW DIST VARIABLE syntax is used to query PROXY system variables configuration. Syntax ShowDistVariable ::= 'SHOW' 'DIST' ('VARIABLES' ('LIKE' likePattern)?| 'VARIABLE' 'WHERE' 'NAME' '=' variableName)0 码力 | 572 页 | 3.73 MB | 1 年前3
MYBATIS Quick Guidebasics of procedural and object-oriented programming − control structures, data structures and variables, classes, objects, etc. To understand JAVA in detail you can go through our JAVA Tutorial. MYBATIS #{id}; To invoke the update query, instantiate Student class, set the values for the variables representing columns which need to be updated, and pass this object as parameter to update method foreach Statement The foreach element allows you to specify a collection and declare item and index variables that can be used inside the body of the element. It also allows you to specify opening and closing0 码力 | 34 页 | 301.72 KB | 1 年前3
Apache ShardingSphere 5.1.1 Documenten‐ abled, the default value is false SET VARI‐ ABLE agent_plu gins_enabled = TRUE SHOW ALL VARIABLES Query proxy all properties configura‐ tion SHOW ALL VARI‐ ABLES SHOW VARIABLE variable_name Execute the following SQL to confirm whether binlog is turned on or not: show variables like '%log_bin%'; show variables like '%binlog%'; As shown below, it means binlog has been turned on: +------ To better understand, the Token of keywords in abstract syntax tree is shown in green; that of variables is shown in red; what’s to be further divided is shown in grey. At last, through traversing the0 码力 | 458 页 | 3.43 MB | 1 年前3
Apache ShardingSphere 5.2.0 Documentis false SET VARIABLE agent_plug ins_enabled = TRUE SHOW ALL VARIABLES Query proxy all properties configuration SHOW ALL VARIABLES SHOW VARIABLE vari‐ able_name Query proxy variable, name is split max_connections=600 Run the following command and check whether binlog is enabled. show variables like '%log_bin%'; show variables like '%binlog%'; If the following information is displayed, binlog is enabled Syntax Tree) is as follows: The tokens for keywords in the AST are green, while the tokens for variables are red, and gray ones indicate that further splitting is required. Finally, the domain model0 码力 | 483 页 | 4.27 MB | 1 年前3
Apache ShardingSphere 5.2.1 Documentis false SET VARIABLE agent_plu gins_enabled = TRUE SHOW ALL VARIABLES Query proxy all properties configuration SHOW ALL VARIABLES SHOW VARIABLE vari‐ able_name Query proxy variable, name is split max_connections=600 Run the following command and check whether binlog is enabled. show variables like '%log_bin%'; show variables like '%binlog%'; If the following information is displayed, binlog is enabled Syntax Tree) is as follows: The tokens for keywords in the AST are green, while the tokens for variables are red, and gray ones indicate that further splitting is required. Finally, the domain model0 码力 | 523 页 | 4.51 MB | 1 年前3
Apache ShardingSphere 5.1.2 Documenten‐ abled, the default value is false SET VARI‐ ABLE agent_plu gins_enabled = TRUE SHOW ALL VARIABLES Query proxy all properties configu‐ ration SHOW ALL VARI‐ ABLES SHOW VARIABLE variable_name Execute the following SQL to confirm whether binlog is turned on or not: show variables like '%log_bin%'; show variables like '%binlog%'; As shown below, it means binlog has been turned on: +------ To better understand, the Token of keywords in abstract syntax tree is shown in green; that of variables is shown in red; what’s to be further divided is shown in grey. At last, through traversing the0 码力 | 503 页 | 3.66 MB | 1 年前3
Apache ShardingSphere 中文文档 5.4.1VARIABLE 描述 SHOW DIST VARIABLE 语法用于查询 PROXY 系统变量配置。 语法 ShowDistVariable ::= 'SHOW' 'DIST' ('VARIABLES' ('LIKE' likePattern)?| 'VARIABLE' 'WHERE' 'NAME' '=' variableName) likePattern ::= string variableName ShardingSphere-Proxy 327 Apache ShardingSphere document 示例 • 查询所有 PROXY 系统变量配置 SHOW DIST VARIABLES; mysql> SHOW DIST VARIABLES; +---------------------------------------+-----------------+ | variable_name | 00 sec) 9.2. ShardingSphere-Proxy 328 Apache ShardingSphere document 保留字 SHOW、DIST、VARIABLE、VARIABLES、NAME 相关链接 • 保留字 REFRESH TABLE METADATA 描述 REFRESH TABLE METADATA 语法用于刷新表元数据。 语法 RefreshTableMetadata0 码力 | 530 页 | 4.49 MB | 1 年前3
Apache ShardingSphere 中文文档 5.3.2VARIABLE 描述 SHOW DIST VARIABLE 语法用于查询 PROXY 系统变量配置。 语法 ShowDistVariable ::= 'SHOW' 'DIST' ('VARIABLES' ('LIKE' likePattern)?| 'VARIABLE' 'WHERE' 'NAME' '=' variableName) likePattern ::= string variableName ShardingSphere-Proxy 310 Apache ShardingSphere document 示例 • 查询所有 PROXY 系统变量配置 SHOW DIST VARIABLES; mysql> SHOW DIST VARIABLES; +---------------------------------------+-----------------+ | variable_name | 00 sec) 9.2. ShardingSphere-Proxy 311 Apache ShardingSphere document 保留字 SHOW、DIST、VARIABLE、VARIABLES、NAME 相关链接 • 保留字 REFRESH TABLE METADATA 描述 REFRESH TABLE METADATA 语法用于刷新表元数据。 语法 RefreshTableMetadata0 码力 | 508 页 | 4.44 MB | 1 年前3
Apache ShardingSphere v5.5.0 中文文档VARIABLE 描述 SHOW DIST VARIABLE 语法用于查询 PROXY 系统变量配置。 语法 ShowDistVariable ::= 'SHOW' 'DIST' ('VARIABLES' ('LIKE' likePattern)?| 'VARIABLE' 'WHERE' 'NAME' '=' variableName) likePattern ::= string variableName 补充说明 • 未指定 vairableName 时,默认查询所有 PROXY 系统变量配置 示例 • 查询所有 PROXY 系统变量配置 SHOW DIST VARIABLES; mysql> SHOW DIST VARIABLES; +---------------------------------------+-----------------+ | variable_name | | false | +---------------+----------------+ 1 row in set (0.00 sec) 保留字 SHOW、DIST、VARIABLE、VARIABLES、NAME 相关链接 • 保留字 REFRESH TABLE METADATA 描述 REFRESH TABLE METADATA 语法用于刷新表元数据。 语法 RefreshTableMetadata0 码力 | 557 页 | 4.61 MB | 1 年前3
共 18 条
- 1
- 2













