Closed java30kcoding closed 3 years ago
参考的:https://github.com/digoal/blog/blob/master/201611/20161121_01.md 进行了从512到32G的配置缩减
参考的:https://github.com/digoal/blog/blob/master/201611/20161121_01.md
进行了从512到32G的配置缩减
参考:https://github.com/digoal/blog/blob/master/201203/20120313_01.md
./pgbench -M prepared -r -c 8 -f login.sql -j 8 -n -T 60 # 21000TPS
压了230分钟左右停止了压测命令
./pgbench -M prepared -r -c 8 -f login.sql -j 8 -n -T 1800000
KiB Mem : 32780852 total, 267268 free, 356752 used, 32156832 buff/cache KiB Swap: 4194300 total, 4194300 free, 0 used. 23003220 avail Mem
求问德哥,这个状态正常嘛?感激不尽~
正常, 大部分都是buffer cache
机器配置
PG配置
2kw数据复杂数据压测
压测3小时命令
压测一天过后的内存状态
KiB Mem : 32780852 total, 267268 free, 356752 used, 32156832 buff/cache KiB Swap: 4194300 total, 4194300 free, 0 used. 23003220 avail Mem
求问德哥,这个状态正常嘛?感激不尽~