检查办法
通过GBase 8c提供的性能统计工具gs_checkperf可以对硬件性能进行检查。
前提条件
- GBase 8c运行状态正常。
- 运行在数据库之上的业务运行正常。
操作步骤
步骤1 以操作系统用户gbase登录数据库主节点。
步骤2 执行如下命令对GBase 8c数据库进行性能检查。
gs_checkperf
示例
以简要格式在屏幕上显示性能统计结果。
gs_checkperf -i pmk -U omm Cluster
statistics information:
Host CPU busy time ratio MPPDB : 1.43 %
CPU time % in busy time Shared : 1.88 %
Buffer Hit ratio : 99.96 %
In-memory sort ratio : 100.00 %
Physical Reads Physical : 4
Writes : 25
DB size 70MB
Total Physical writes : 25
Active SQL count Session : 2
count : 3