Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Fix][Doc]Fixed document hyperlinks and removed redundancy #33916

Merged
merged 1 commit into from
Dec 4, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -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)` 才能实现流式查询。

## 配置示例

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
Loading