正在尝试按照另一个官方帖子做tpcc测试:https://docs.pingcap.com/zh/tidb/v4.0/benchmark-tidb-using-tpcc#如何对-tidb-进行-tpc-c-测试
(我们的是tidb5.2不过应该不要紧吧)
[tpcc@gausssingapore2-0002 ~]$ tiup client
Starting component `client`: /home/tpcc/.tiup/components/client/v1.5.1/tiup-client
Connected with driver mysql (5.7.25-TiDB-v5.2.0-alpha-88-ged52601e6)
Type "help" for help.
my:root@127.0.0.1:4000=> select tidb_version();
tidb_version()
-------------------------------------------------------------------
Release Version: v5.2.0-alpha-88-ged52601e6 +
Edition: Community +
Git Commit Hash: ed52601e6eb560138db8cdccdfa1b5e2d33a11f0 +
Git Branch: master +
UTC Build Time: 2021-06-16 13:03:48 +
GoVersion: go1.16.4 +
Race Enabled: false +
TiKV Min Version: v3.0.0-60965b006877ca7234adaced7890d7b029ed1306+
Check Table Before Drop: false
(1 row)
不过这里安装依赖卡住了(OS版本是CentOS7.3):
ant-1.9.4-2.el7.noarch.rpm FAILED
https://repo.huaweicloud.com/centos/7/os/x86_64/Packages/ant-1.9.4-2.el7.noarch.rpm: [Errno 12] Timeout on https://repo.huaweicloud.com/centos/7/os/x86_64/Packages/ant-1.9.4-2.el7.noarch.rpm: (28, 'Operation too slow. Less than 1000 bytes/sec transferred the last 30 seconds')
Trying other mirror.
xerces-j2-2.11.0-17.el7_0.noar FAILED
https://repo.huaweicloud.com/centos/7/os/x86_64/Packages/xerces-j2-2.11.0-17.el7_0.noarch.rpm: [Errno 12] Timeout on https://repo.huaweicloud.com/centos/7/os/x86_64/Packages/xerces-j2-2.11.0-17.el7_0.noarch.rpm: (28, 'Operation too slow. Less than 1000 bytes/sec transferred the last 30 seconds')
Trying other mirror.
ant-1.9.4-2.el7.noarch.rpm FAILED ] 2.1 kB/s | 352 kB 00:22:21 ETA
https://repo.huaweicloud.com/centos/7/os/x86_64/Packages/ant-1.9.4-2.el7.noarch.rpm: [Errno 14] curl#18 - "transfer closed with 1693443 bytes remaining to read"
Trying other mirror.
xerces-j2-2.11.0-17.el7_0.noar FAILED
https://repo.huaweicloud.com/centos/7/os/x86_64/Packages/xerces-j2-2.11.0-17.el7_0.noarch.rpm: [Errno 12] Timeout on https://repo.huaweicloud.com/centos/7/os/x86_64/Packages/xerces-j2-2.11.0-17.el7_0.noarch.rpm: (28, 'Operation too slow. Less than 1000 bytes/sec transferred the last 30 seconds')
Trying other mirror.
xerces-j2-2.11.0-17.el7_0.noar FAILED
https://repo.huaweicloud.com/centos/7/os/x86_64/Packages/xerces-j2-2.11.0-17.el7_0.noarch.rpm: [Errno 12] Timeout on https://repo.huaweicloud.com/centos/7/os/x86_64/Packages/xerces-j2-2.11.0-17.el7_0.noarch.rpm: (28, 'Operation too slow. Less than 1000 bytes/sec transferred the last 30 seconds')
Trying other mirror.
xerces-j2-2.11.0-17.el7_0.noar FAILED
https://repo.huaweicloud.com/centos/7/os/x86_64/Packages/xerces-j2-2.11.0-17.el7_0.noarch.rpm: [Errno 12] Timeout on https://repo.huaweicloud.com/centos/7/os/x86_64/Packages/xerces-j2-2.11.0-17.el7_0.noarch.rpm: (28, 'Operation too slow. Less than 1000 bytes/sec transferred the last 30 seconds')
Trying other mirror.
xerces-j2-2.11.0-17.el7_0.noar FAILED
https://repo.huaweicloud.com/centos/7/os/x86_64/Packages/xerces-j2-2.11.0-17.el7_0.noarch.rpm: [Errno 12] Timeout on https://repo.huaweicloud.com/centos/7/os/x86_64/Packages/xerces-j2-2.11.0-17.el7_0.noarch.rpm: (28, 'Operation too slow. Less than 1000 bytes/sec transferred the last 30 seconds')
Trying other mirror.
xerces-j2-2.11.0-17.el7_0.noar FAILED
https://repo.huaweicloud.com/centos/7/os/x86_64/Packages/xerces-j2-2.11.0-17.el7_0.noarch.rpm: [Errno 14] curl#18 - "transfer closed with 612999 bytes remaining to read"
Trying other mirror.
Error downloading packages:
xerces-j2-2.11.0-17.el7_0.noarch: [Errno 256] No more mirrors to try.
ant-1.9.4-2.el7.noarch: [Errno 256] No more mirrors to try.