diff --git a/docs/document/content/user-manual/common-config/props.cn.md b/docs/document/content/user-manual/common-config/props.cn.md index 899de7d9d6f04..09d5578287348 100644 --- a/docs/document/content/user-manual/common-config/props.cn.md +++ b/docs/document/content/user-manual/common-config/props.cn.md @@ -29,7 +29,7 @@ props: ## 注意事项 -`max-connections-size-per-query` 配置项的默认值为 1,这意味着每次查询请求在每个数据库实例中只能使用一个连接。如果您调整此参数以启用内存限制模式(详情参见 [内存限制模式](/cn/reference/sharding/execute.cn.md/#内存限制模式)),请确保您使用的数据库 JDBC 实现支持流式查询或能够启用流式查询。例如,在 MySQL 中,需要设置 `statement.setFetchSize(Integer.MIN_VALUE)` 才能实现流式查询。 +`max-connections-size-per-query` 配置项的默认值为 1,这意味着每次查询请求在每个数据库实例中只能使用一个连接。如果您调整此参数以启用内存限制模式(详情参见 [内存限制模式](/cn/reference/sharding/execute/#内存限制模式)),请确保您使用的数据库 JDBC 实现支持流式查询或能够启用流式查询。例如,在 MySQL 中,需要设置 `statement.setFetchSize(Integer.MIN_VALUE)` 才能实现流式查询。 ## 配置示例 diff --git a/docs/document/content/user-manual/common-config/props.en.md b/docs/document/content/user-manual/common-config/props.en.md index 41bac7cfc54ea..cb6fe6b06744f 100644 --- a/docs/document/content/user-manual/common-config/props.en.md +++ b/docs/document/content/user-manual/common-config/props.en.md @@ -29,7 +29,7 @@ props: ## Notes -The default value of the `max-connections-size-per-query` configuration is 1, meaning each query request can only use one connection per database instance. If you adjust this parameter to enable memory-restricted mode (see [Memory-Strictly Mode](/en/reference/sharding/execute.en.md/#memory_strictly-mode) for details), ensure that your database's JDBC implementation supports streaming queries or can enable them. For example, in MySQL, you need to set `statement.setFetchSize(Integer.MIN_VALUE)` to achieve streaming queries.### 优化后的中文描述 +The default value of the `max-connections-size-per-query` configuration is 1, meaning each query request can only use one connection per database instance. If you adjust this parameter to enable memory-restricted mode (see [Memory-Strictly Mode](/en/reference/sharding/execute/#memory_strictly-mode) for details), ensure that your database's JDBC implementation supports streaming queries or can enable them. For example, in MySQL, you need to set `statement.setFetchSize(Integer.MIN_VALUE)` to achieve streaming queries. ## Sample