【openGauss服务器端工具的使用】

【openGauss服务器端工具的使用】

  1. gs_checkperf

    openGauss 不仅提供了gs_checkperf工具来帮助用户了解openGauss的负载情况。

    • 使用数据库安装用户登录服务器,执行如下命令进行查看数据库性能:
      简要信息展示:
      [omm@opengauss03 ~]$ gs_checkperf  -i PMK
      Cluster statistics information:
          Host CPU busy time ratio                     :    1.70       %  
          MPPDB CPU time % in busy time                :    91.66      %
          Shared Buffer Hit ratio                      :    99.80      %
          In-memory sort ratio                         :    0
          Physical Reads                               :    431
          Physical Writes                              :    455
          DB size                                      :    34         MB
          Total Physical writes                        :    455
          Active SQL count                             :    4
          Session count                                :    6
      
      
      详细信息展示
      [omm@opengauss03 ~]$ gs_checkperf -i PMK --detail
      Cluster statistics information:
      Host CPU usage rate:
          Host total CPU time                          :    33179390.000 Jiffies
          Host CPU busy time                           :    568840.000 Jiffies
          Host CPU iowait time                         :    18830.000  Jiffies
          Host CPU busy time ratio                     :    1.71       %
          Host CPU iowait time ratio                   :    .06        %
      MPPDB CPU usage rate:
          MPPDB CPU time % in busy time                :    89.78      %
          MPPDB CPU time % in total time               :    1.54       %
      Shared buffer hit rate:
          Shared Buffer Reads                          :    451
          Shared Buffer Hits                           :    178772
          Shared Buffer Hit ratio                      :    99.75      %
      In memory sort rate:
          In-memory sort count                         :    0
          In-disk sort count                           :    0
          In-memory sort ratio                         :    0
      I/O usage:
          Number of files                              
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包

打赏作者

IT喂嘟盲

你的鼓励将是我创作的最大动力

¥1 ¥2 ¥4 ¥6 ¥10 ¥20
扫码支付:¥1
获取中
扫码支付

您的余额不足,请更换扫码支付或充值

打赏作者

实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值