TiDB中文技术文档'admin_pass'; 6. mysql> GRANT RELOAD,PROCESS ON *.* TO 'admin'@'localhost'; 7. mysql> CREATE USER 'dummy'@'localhost'; 使用 SHOW GRANTS 可以看到为一个用户授予的权限: 1. mysql> SHOW GRANTS FOR 'admin'@'localhost'; 2. token-limit,那么请求会阻塞等待已经完成的操作释放 Token。 PROXY Protocol 允许的代理服务器地址列表,如果需要配置多个地址用 , 分隔。 默认: “” 如果为空,TiDB 会禁用 PROXY Protocol 功能。地址可以使用 IP 地址(192.168.1.50)或者 CIDR (192.168.1.0/24), * 代表所有地址。 PROXY Protocol 请求头读取超时时间。 默认: 网络环境,其他节点并不能通过 PD 自己监听的 peer URLs 来 --metrics-addr --metrics-interval --token-limit --proxy-protocol-networks --proxy-protocol-header-timeout Placement Driver (PD) --advertise-client-urls --advertise-peer-urls0 码力 | 444 页 | 4.89 MB | 6 月前3
TiDB v5.1 Documentationser- vice port TiFlash20170 the Ti- Flash Proxy ser- vice port 95 Component Default Port Description TiFlash20292 the port for Prometheus to pull Ti- Flash Proxy met- rics TiFlash 8234 the port for Prometheus often has things to do with the use of a proxy. You can add pressure on single TiDB server, sum each result up and compare the summed result with the result with proxy. Take HAproxy as an example. The parameter versions of HAproxy also support nbthread and cpu-map. All of these can mitigate the negative impact of proxy use on performance. 154 4.6.1.3.2 Under high concurrency, why is the CPU utilization rate of TiKV0 码力 | 2745 页 | 47.65 MB | 1 年前3
TiDB v5.3 Documentationtidb_enable_tso_follower_proxy �→ Newly added Determines whether to enable or disable the TSO Follower Proxy feature. The default value is OFF, which means the TSO Follower Proxy feature is disabled. At timestamp processing flow and reduces the timestamp processing load of PD by enabling PD Follower Proxy and modifying the batch waiting time required when the PD client requests TSO in batches. This helps disabling PD Follower Proxy through the system variable tidb_enable_tso_follower_proxy. Suppose that the TSO requests load of PD is too high. In this case, enabling PD follower proxy can batch forward the0 码力 | 2996 页 | 49.30 MB | 1 年前3
TiDB v5.2 Documentationser- vice port TiFlash20170 the Ti- Flash Proxy ser- vice port 103 Component Default Port Description TiFlash20292 the port for Prometheus to pull Ti- Flash Proxy met- rics TiFlash 8234 the port for Prometheus often has things to do with the use of a proxy. You can add pressure on single TiDB server, sum each result up and compare the summed result with the result with proxy. Take HAproxy as an example. The parameter versions of HAproxy also support nbthread and cpu-map. All of these can mitigate the negative impact of proxy use on performance. 163 4.6.1.3.2 Under high concurrency, why is the CPU utilization rate of TiKV0 码力 | 2848 页 | 47.90 MB | 1 年前3
TiDB v5.4 Documentationser- vice port TiFlash20170 the Ti- Flash Proxy ser- vice port 119 Component Default Port Description TiFlash20292 the port for Prometheus to pull Ti- Flash Proxy met- rics TiFlash 8234 the port for Prometheus often has things to do with the use of a proxy. You can add pressure on single TiDB server, sum each result up and compare the summed result with the result with proxy. Take HAproxy as an example. The parameter versions of HAproxy also support nbthread and cpu-map. All of these can mitigate the negative impact of proxy use on performance. 186 4.6.1.3.2 Under high concurrency, why is the CPU utilization rate of TiKV0 码力 | 3650 页 | 52.72 MB | 1 年前3
TiDB v5.2 中文手册服务端口 TiFlash 3930 TiFlash RAFT 服务和 Coprocessor 服务端口 TiFlash 20170 TiFlash Proxy 服务端口 TiFlash 20292 Prometheus 拉取 TiFlash Proxy metrics 端口 TiFlash 8234 Prometheus 拉取 TiFlash metrics 端口 Pump 8250 Pump run 4.6.1.3 常见问题 4.6.1.3.1 在高并发压力下,TiDB、TiKV 的配置都合理,为什么整体性能还是偏低? 这种情况可能与使用了 proxy 有关。可以尝试直接对单个 TiDB 加压,将求和后的结果与使用 proxy 的情况进行 对比。 以 HAproxy 为例。nbproc 参数可以增加其最大启动的进程数,较新版本的 HAproxy 还支持 nbthread 和 cpu-map TiFlash 版本。 但是由于 TiFlash 的运行依赖于动态库 libtiflash_proxy.so,因此需要将包含动态库 libtiflash_proxy �→ .so 的目录路径添加到环境变量 LD_LIBRARY_PATH 后,上述命令才能正常执行。 例如,当 tiflash 和 libtiflash_proxy.so 在同一个目录下时,切换到该目录后,可以通过如下命令查 看 TiFlash 版本:0 码力 | 2259 页 | 48.16 MB | 1 年前3
TiDB v5.1 中文手册服务端口 TiFlash 3930 TiFlash RAFT 服务和 Coprocessor 服务端口 TiFlash 20170 TiFlash Proxy 服务端口 TiFlash 20292 Prometheus 拉取 TiFlash Proxy metrics 端口 TiFlash 8234 Prometheus 拉取 TiFlash metrics 端口 Pump 8250 Pump run 4.6.1.3 常见问题 4.6.1.3.1 在高并发压力下,TiDB、TiKV 的配置都合理,为什么整体性能还是偏低? 这种情况可能与使用了 proxy 有关。可以尝试直接对单个 TiDB 加压,将求和后的结果与使用 proxy 的情况进行 对比。 以 HAproxy 为例。nbproc 参数可以增加其最大启动的进程数,较新版本的 HAproxy 还支持 nbthread 和 cpu-map TiFlash 版本。 但是由于 TiFlash 的运行依赖于动态库 libtiflash_proxy.so,因此需要将包含动态库 libtiflash_proxy �→ .so 的目录路径添加到环境变量 LD_LIBRARY_PATH 后,上述命令才能正常执行。 例如,当 tiflash 和 libtiflash_proxy.so 在同一个目录下时,切换到该目录后,可以通过如下命令查 看 TiFlash 版本:0 码力 | 2189 页 | 47.96 MB | 1 年前3
TiDB v6.1 Documentationwithout worrying about incorrectly terminating other queries or sessions by mistake when there is a proxy between the client and TiDB. Currently, TiDB does not support using Ctrl+C to terminate queries or it.), Spring auto- matically wraps all objects with the @Transactional annotation in a proxy and uses this proxy for object invocation processing. You can simply assume that when the agent calls a function clean up connections after a specific idle period (determined by the proxy’s idle configuration). In addition to monitoring the proxy’s idle configuration, connection pools also need to maintain or probe0 码力 | 4487 页 | 84.44 MB | 1 年前3
TiDB v5.3 中文手册期,优化器也仍 会使用该表上的 统计信息。 tidb_enable_ �→ tso_ �→ follower_ �→ proxy 新增 此变量用于开启 或关闭 TSO Follower Proxy 特 性。默认值为 OFF,代表关闭 TSO Follower Proxy 特性。此时, TiDB 仅会从 PD leader 获取 TSO。 当开启该特性之 后,TiDB 在获取 TSO Follower Proxy 和调整 PD client 批量请求 TSO 时所需的 batch 等待时间的方式来降低 PD leader 时间戳处理负载,提升系统整体可扩展性。 – 支持通过系统变量tidb_enable_tso_follower_proxy 设置 PD Follower Proxy 功能开关。在 PD 时间戳 请求负载过高的情况下,通过开启 PD Follower Proxy,可以将 follower leader 的直接交互次数,降低 leader 的负载, 提升 TiDB 整体性能。 注意: 在 client 数较少、PD leader 负载不高的情况下,不建议开启 PD Follower Proxy 功能。 – 支持通过tidb_tso_client_batch_max_wait_time 系统变量设置 PD client 批量请求 TSO 时所需的最 大 batch 等待时间,单位为毫秒。在0 码力 | 2374 页 | 49.52 MB | 1 年前3
TiDB v5.4 中文手册服务端口 TiFlash 3930 TiFlash RAFT 服务和 Coprocessor 服务端口 TiFlash 20170 TiFlash Proxy 服务端口 TiFlash 20292 Prometheus 拉取 TiFlash Proxy metrics 端口 TiFlash 8234 Prometheus 拉取 TiFlash metrics 端口 Pump 8250 Pump run 4.6.1.3 常见问题 4.6.1.3.1 在高并发压力下,TiDB、TiKV 的配置都合理,为什么整体性能还是偏低? 这种情况可能与使用了 proxy 有关。可以尝试直接对单个 TiDB 加压,将求和后的结果与使用 proxy 的情况进行 对比。 以 HAproxy 为例。nbproc 参数可以增加其最大启动的进程数,较新版本的 HAproxy 还支持 nbthread 和 cpu-map TiFlash 版本。 但是由于 TiFlash 的运行依赖于动态库 libtiflash_proxy.so,因此需要将包含动态库 libtiflash_proxy �→ .so 的目录路径添加到环境变量 LD_LIBRARY_PATH 后,上述命令才能正常执行。 例如,当 tiflash 和 libtiflash_proxy.so 在同一个目录下时,切换到该目录后,可以通过如下命令查 看 TiFlash 版本:0 码力 | 2852 页 | 52.59 MB | 1 年前3
共 32 条
- 1
- 2
- 3
- 4













