PCP configuration to compare performance in postgresql

https://access.redhat.com/solutions/1529613

 SOLUTION UNVERIFIED - 已更新 2015年七月14日17:35 - 

English 

环境

  • Red Hat Enterprise Linux 6.6
  • Red Hat Enterprise Linux 7
  • Performance Co-pilot(PCP)

问题

  • What are the metrics of PCP required to compare the performance of postgresql in two different RHEL systems ?
  • How to compare performance of postgresql DB based on PCP ?

决议

  • There are almost 200+ metrics available for postgresql. To check the available metrics run the below command,

Raw

# pminfo -T -d postgresql
  • To know the details of the metrics refer the Postgresql documentation.

  • As far as passive measurements go, you can check for CPU usage, memory usage, shared_buffers usage, etc., but none of these are guaranteed to directly reflect the SQL performance i.e., CPU usage might be higher, but that's because the IO part was optimized and can now do twice as much work. Meaning you need a SQL-based testing mechanism.

  • The obvious limitations of benchmarking apply here as well - you need to know the real workload in order to have a meaningful benchmark. If the use is serving small chunks of read-mostly data to a web server, don't put too much value into heavy sequential write tests. If the use is based on a single user, benchmark that and not a 1000-user scenario, each with many open transactions. If the focus is on full text indexes, test that and not a surrogate-key-only scenario.

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

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

余额充值