This is an automated email from the ASF dual-hosted git repository.

duanzhengqiang pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/shardingsphere.git


The following commit(s) were added to refs/heads/master by this push:
     new e66914a  Update docs about proxy-backend-query-fetch-size (#12943)
e66914a is described below

commit e66914aa33d2bf59e2cfcefb9367f43eeb19e9ef
Author: 吴伟杰 <[email protected]>
AuthorDate: Fri Oct 8 17:36:54 2021 +0800

    Update docs about proxy-backend-query-fetch-size (#12943)
---
 .../content/user-manual/shardingsphere-proxy/configuration/props.cn.md | 3 ++-
 .../content/user-manual/shardingsphere-proxy/configuration/props.en.md | 3 ++-
 2 files changed, 4 insertions(+), 2 deletions(-)

diff --git 
a/docs/document/content/user-manual/shardingsphere-proxy/configuration/props.cn.md
 
b/docs/document/content/user-manual/shardingsphere-proxy/configuration/props.cn.md
index 93c7681..e7b4a9f 100644
--- 
a/docs/document/content/user-manual/shardingsphere-proxy/configuration/props.cn.md
+++ 
b/docs/document/content/user-manual/shardingsphere-proxy/configuration/props.cn.md
@@ -14,12 +14,13 @@ Apache ShardingSphere 提供属性配置的方式配置系统级配置。
 | ---------------------------------- | ----------- | 
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
 | -------- |
 | sql-show (?)                       | boolean     | 是否在日志中打印 SQL。 <br /> 打印 
SQL 可以帮助开发者快速定位系统问题。日志内容包含:逻辑 SQL,真实 SQL 和 SQL 解析结果。<br /> 如果开启配置,日志将使用 Topic 
`ShardingSphere-SQL`,日志级别是 INFO。 | false    |
 | sql-simple (?)                     | boolean     | 是否在日志中打印简单风格的 SQL。        
                                                                                
                                                             | false   |
-| kernel-executor-size (?)                  | int         | 用于设置任务处理线程池的大小。每个 
ShardingSphereDataSource 使用一个独立的线程池,同一个 JVM 的不同数据源不共享线程池。                       
                                                  | infinite |
+| kernel-executor-size (?)           | int         | 用于设置任务处理线程池的大小。每个 
ShardingSphereDataSource 使用一个独立的线程池,同一个 JVM 的不同数据源不共享线程池。                       
                                                  | infinite |
 | max-connections-size-per-query (?) | int         | 
一次查询请求在每个数据库实例中所能使用的最大连接数。                                                      
                                                                               
| 1        |
 | check-table-metadata-enabled (?)   | boolean     | 
在程序启动和更新时,是否检查分片元数据的结构一致性。                                                      
                                                                                
| false    |
 | proxy-frontend-flush-threshold (?) | int         | 在 ShardingSphere-Proxy 
中设置传输数据条数的 IO 刷新阈值。                                                             
                                                               | 128      |
 | proxy-opentracing-enabled (?)      | boolean     | 是否允许在 
ShardingSphere-Proxy 中使用 OpenTracing。                                           
                                                                                
     | false    |
 | proxy-hint-enabled (?)             | boolean     | 是否允许在 
ShardingSphere-Proxy 中使用 Hint。使用 Hint 会将 Proxy 的线程处理模型由 IO 
多路复用变更为每个请求一个独立的线程,会降低 Proxy 的吞吐量。                                              
| false    |
+| proxy-backend-query-fetch-size (?) | int         | Proxy 
后端与数据库交互的每次获取数据行数(使用游标的情况下)。数值增大可能会增加 ShardingSphere Proxy 的内存使用。默认值为 -1,代表设置为 
JDBC 驱动的最小值。                                        | -1       |
 | check-duplicate-table-enabled (?)  | boolean     | 在程序启动和更新时,是否检查重复表。        
                                                                                
                                                           | false    |
 | sql-comment-parse-enabled (?)      | boolean     | 是否解析 SQL 注释。              
                                                                                
                                                                 | false    |
 | proxy-frontend-executor-size (?)   | int         | Proxy 前端 Netty 
线程池线程数量,默认值 0 代表使用 Netty 默认值。                                                   
                                                                   | 0      |
diff --git 
a/docs/document/content/user-manual/shardingsphere-proxy/configuration/props.en.md
 
b/docs/document/content/user-manual/shardingsphere-proxy/configuration/props.en.md
index e947243..67c0c32 100644
--- 
a/docs/document/content/user-manual/shardingsphere-proxy/configuration/props.en.md
+++ 
b/docs/document/content/user-manual/shardingsphere-proxy/configuration/props.en.md
@@ -14,12 +14,13 @@ Apache ShardingSphere provides the way of property 
configuration to configure sy
 | ---------------------------------- | ----------- | 
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
 | --------------- |
 | sql-show (?)                       | boolean     | Whether show SQL or not 
in log. <br /> Print SQL details can help developers debug easier. The log 
details include: logic SQL, actual SQL and SQL parse result. <br /> Enable this 
property will log into log topic `ShardingSphere-SQL`, log level is INFO. | 
false           |
 | sql-simple (?)                     | boolean     | Whether show SQL details 
in simple style.                                                                
                                                                                
                                                                    | false     
      |
-| kernel-executor-size (?)                  | int         | The max thread 
size of worker group to execute SQL. One ShardingSphereDataSource will use a 
independent thread pool, it does not share thread pool even different data 
source in same JVM.                                                             
      | infinite        |
+| kernel-executor-size (?)           | int         | The max thread size of 
worker group to execute SQL. One ShardingSphereDataSource will use a 
independent thread pool, it does not share thread pool even different data 
source in same JVM.                                                             
      | infinite        |
 | max-connections-size-per-query (?) | int         | Max opened connection 
size for each query.                                                            
                                                                                
                                                                       | 1      
         |
 | check-table-metadata-enabled (?)   | boolean     | Whether validate table 
meta data consistency when application startup or updated.                      
                                                                                
                                                                      | false   
        |
 | proxy-frontend-flush-threshold (?) | int         | Flush threshold for every 
records from databases for ShardingSphere-Proxy.                                
                                                                                
                                                                   | 128        
     |
 | proxy-opentracing-enabled (?)      | boolean     | Whether enable 
opentracing for ShardingSphere-Proxy.                                           
                                                                                
                                                                              | 
false           |
 | proxy-hint-enabled (?)             | boolean     | Whether enable hint for 
ShardingSphere-Proxy. Using Hint will switch proxy thread mode from IO 
multiplexing to per connection per thread, which will reduce system throughput. 
                                                                              | 
false           |
+| proxy-backend-query-fetch-size (?) | int         | Proxy backend query fetch 
size. A larger value may increase the memory usage of ShardingSphere Proxy. The 
default value is -1, which means set the minimum value for different JDBC 
drivers.                                                                 | -1   
           |
 | check-duplicate-table-enabled (?)  | boolean     | Whether validate 
duplicate table when application startup or updated.                            
                                                                                
                                                                            | 
false           |
 | sql-comment-parse-enabled (?)      | boolean     | Whether parse the comment 
of SQL.                                                                         
                                                                                
                                                                   | false      
     |
 | proxy-frontend-executor-size (?)   | int         | Proxy frontend Netty 
executor size. The default value is 0, which means let Netty decide.            
                                                                                
                                                                        | 0     
          |

Reply via email to