Apache ShardingSphere 5.2.0 Documentmemory for the ZooKeeper containers ˋ 256Mi` governance.zookeepe r. resources.requests.cpu The requested cpu for the ZooKeeper containers 250m 4.2. ShardingSphere-Proxy 184 Apache ShardingSphere requested memory for the ShardingSphere‐Proxy containers 2Gi compute.resourc es. requests.cpu The requested cpu for the ShardingSphere‐Proxy containers 200m c ompute.replicas Number of cluster replicas @param governance.zookeeper.resources.requests.cpu The requested cpu for the ZooKeeper containers ## resources: limits: {} requests: memory: 256Mi cpu: 250m ## @section Compute-Node parameters 40 码力 | 483 页 | 4.27 MB | 1 年前3
Apache ShardingSphere 5.2.1 Documentmemory for the ZooKeeper containers ˋ 256Mi` governance.zookeepe r. resources.requests.cpu The requested cpu for the ZooKeeper containers 250m 4.2. ShardingSphere-Proxy 189 Apache ShardingSphere requested memory for the ShardingSphere‐Proxy containers 2Gi compute.resourc es. requests.cpu The requested cpu for the ShardingSphere‐Proxy containers 200m c ompute.replicas Number of cluster replicas @param governance.zookeeper.resources.requests.cpu The requested cpu for the ZooKeeper containers ## resources: limits: {} requests: memory: 256Mi cpu: 250m ## @section Compute-Node parameters 40 码力 | 523 页 | 4.51 MB | 1 年前3
Apache ShardingSphere v5.5.0 中文文档该项功能为实验性功能,需要与数据分片功能同时使用。数据分片路由缓存会将逻辑 SQL、分片键实际 参数值、路由结果放入缓存中,以空间换时间,减少路由逻辑对 CPU 的使用。 建议仅在满足以下条件的情况下启用:‐ 纯 OLTP 场景 ‐ ShardingSphere 进程所在机器 CPU 已达到瓶颈 ‐ CPU 开销主要在于 ShardingSphere 路由逻辑 ‐ 所有 SQL 已经最优且每次 SQL 执行都能命中单一分片 在不满足以上条件的情况下使用,可能对 该项功能为实验性功能,需要与数据分片功能同时使用。数据分片路由缓存会将逻辑 SQL、分片键实际 参数值、路由结果放入缓存中,以空间换时间,减少路由逻辑对 CPU 的使用。 建议仅在满足以下条件的情况下启用:‐ 纯 OLTP 场景 ‐ ShardingSphere 进程所在机器 CPU 已达到瓶颈 ‐ CPU 开销主要在于 ShardingSphere 路由逻辑 ‐ 所有 SQL 已经最优且每次 SQL 执行都能命中单一分片 在不满足以上条件的情况下使用,可能对 requests. memory ZooKeeper 容器申请的内存 “ 256Mi“ gov ernance.zookeeper. res ources.requests.cpu ZooKeeper 容器申请的 cpu 核数 ‘ 250m‘ 9.2. ShardingSphere-Proxy 156 Apache ShardingSphere document 计算节点 ShardingSphere-Proxy0 码力 | 557 页 | 4.61 MB | 1 年前3
Apache ShardingSphere v5.5.0 documentexchange space for time, and reduce CPU usage of the routing logic. We recommend enabling it only if the following conditions are met: ‐ Pure OLTP scenarios. ‐ The CPU of the machine which deployed the exchange space for time, and reduce CPU usage of the routing logic. We recommend enabling it only if the following conditions are met: ‐ Pure OLTP scenarios. ‐ The CPU of the machine which deployed the requested memory for the ZooKeeper containers 256Mi governance.zookeeper . resources.requests.cpu The requested cpu for the ZooKeeper containers 250m 9.2. ShardingSphere-Proxy 170 Apache ShardingSphere0 码力 | 602 页 | 3.85 MB | 1 年前3
Apache ShardingSphere 5.4.1 Documentexchange space for time, and reduce CPU usage of the routing logic. We recommend enabling it only if the following conditions are met: ‐ Pure OLTP scenarios. ‐ The CPU of the machine which deployed the requested memory for the ZooKeeper containers 256Mi governance.zookeeper . resources.requests.cpu The requested cpu for the ZooKeeper containers 250m 9.2. ShardingSphere-Proxy 152 Apache ShardingSphere requested memory for the ShardingSphere‐Proxy containers 2Gi compute.resourc es. requests.cpu The requested cpu for the ShardingSphere‐Proxy containers 200m c ompute.replicas Number of cluster replicas0 码力 | 572 页 | 3.73 MB | 1 年前3
Apache ShardingSphere 中文文档 5.4.1该项功能为实验性功能,需要与数据分片功能同时使用。数据分片路由缓存会将逻辑 SQL、分片键实际 参数值、路由结果放入缓存中,以空间换时间,减少路由逻辑对 CPU 的使用。 建议仅在满足以下条件的情况下启用:‐ 纯 OLTP 场景 ‐ ShardingSphere 进程所在机器 CPU 已达到瓶颈 ‐ CPU 开销主要在于 ShardingSphere 路由逻辑 ‐ 所有 SQL 已经最优且每次 SQL 执行都能命中单一分片 在不满足以上条件的情况下使用,可能对 requests. memory ZooKeeper 容器申请的内存 “ 256Mi“ gov ernance.zookeeper. res ources.requests.cpu ZooKeeper 容器申请的 cpu 核数 ‘ 250m‘ 9.2. ShardingSphere-Proxy 138 Apache ShardingSphere document 计算节点 ShardingSphere-Proxy requests.memory ShardingSphere‐Proxy 容器申请 的内存 2Gi compute.re sources. requests.cpu ShardingSphere‐Proxy 容器申请 的 cpu 核数 200m compute.replicas ShardingSphere‐Proxy 节点个数 3 “ compute.service.type“ ShardingSphere‐Proxy0 码力 | 530 页 | 4.49 MB | 1 年前3
Apache ShardingSphere 中文文档 5.3.2该项功能为实验性功能,需要与数据分片功能同时使用。数据分片路由缓存会将逻辑 SQL、分片键实际 参数值、路由结果放入缓存中,以空间换时间,减少路由逻辑对 CPU 的使用。 建议仅在满足以下条件的情况下启用:‐ 纯 OLTP 场景 ‐ ShardingSphere 进程所在机器 CPU 已达到瓶颈 ‐ CPU 开销主要在于 ShardingSphere 路由逻辑 ‐ 所有 SQL 已经最优且每次 SQL 执行都能命中单一分片 在不满足以上条件的情况下使用,可能对 requests. memory ZooKeeper 容器申请的内存 “ 256Mi“ gov ernance.zookeeper. res ources.requests.cpu ZooKeeper 容器申请的 cpu 核数 ‘ 250m‘ 9.2. ShardingSphere-Proxy 132 Apache ShardingSphere document 计算节点 ShardingSphere-Proxy requests.memory ShardingSphere‐Proxy 容器申请 的内存 2Gi compute.re sources. requests.cpu ShardingSphere‐Proxy 容器申请 的 cpu 核数 200m compute.replicas ShardingSphere‐Proxy 节点个数 3 “ compute.service.type“ ShardingSphere‐Proxy0 码力 | 508 页 | 4.44 MB | 1 年前3
Apache ShardingSphere 中文文档 5.1.2requests. memory ZooKeeper 容器申请的内存 “ 256Mi“ gov ernance.zookeeper. res ources.requests.cpu ZooKeeper 容器申请的 cpu 核数 ‘ 250m‘ 5.2. ShardingSphere-Proxy 148 Apache ShardingSphere document, v5.1.2 计算节点 requests.memory ShardingSphere‐Proxy 容器申请 的内存 2Gi compute.re sources. requests.cpu ShardingSphere‐Proxy 容器申请 的 cpu 核数 200m compute.replicas ShardingSphere‐Proxy 节点个数 3 “ compute.service.type“ ShardingSphere‐Proxy ‐1,修改为 50 左右可以尽量减少多行结果集 的 fetch 次数。proxy-frontend-executor-size 参数默认值为 CPU * 2,可以根据实际测试结果减 少至 CPU * 0.5 左右;如果涉及 NUMA,可以根据实际测试结果设置为单个 CPU 的物理核数。 server.yaml 文件节选: props: proxy-backend-query-fetch-size:0 码力 | 446 页 | 4.67 MB | 1 年前3
Apache ShardingSphere 5.1.2 Documentmemory for the ZooKeeper containers ˋ 256Mi` governance.zookeepe r. resources.requests.cpu The requested cpu for the ZooKeeper containers 250m 5.2. ShardingSphere-Proxy 162 Apache ShardingSphere requested memory for the ShardingSphere‐Proxy containers 2Gi compute.resourc es. requests.cpu The requested cpu for the ShardingSphere‐Proxy containers 200m c ompute.replicas Number of cluster replicas SQLS or not, default value: false executor.size: # The number of working threads, default value: CPU count check.table.metadata.enabled: # To check the metadata consistency of all the tables or not0 码力 | 503 页 | 3.66 MB | 1 年前3
Apache ShardingSphere 中文文档 5.1.1‐1,修改为 50 左右可以尽量减少多行结果集 的 fetch 次数。proxy-frontend-executor-size 参数默认值为 CPU * 2,可以根据实际测试结果减 少至 CPU * 0.5 左右;如果涉及 NUMA,可以根据实际测试结果设置为单个 CPU 的物理核数。 server.yaml 文件节选: props: proxy-backend-query-fetch-size:: # 属性值 props: # 属性配置 sql.show: # 是否开启 SQL 显示,默认值: false executor.size: # 工作线程数量,默认值: CPU 核数 max.connections.size.per.query: # 每个查询可以打开的最大连接数量,默认为 1 check.table.metadata.enabled: # 是否在启动时检查分表元数据一致性,默认值: 会通过这个名称配置的确定对应的实际物理表名称 props: sql.show: # 是否开启 SQL 显示,默认值: false acceptor.size: # accept 连接的线程数量, 默认为 cpu 核数 2 倍 executor.size: # 工作线程数量最大,默认值: 无限制 max.connections.size.per.query: # 每个查询可以打开的最大连接数量, 默认为 0 码力 | 409 页 | 4.47 MB | 1 年前3
共 20 条
- 1
- 2













