查看“Pgbench”的源代码
←
Pgbench
跳到导航
跳到搜索
因为以下原因,您没有权限编辑本页:
您请求的操作仅限属于该用户组的用户执行:
用户
您可以查看和复制此页面的源代码。
<source lang="bash"> #1个session,读写性能 ./pgbench -h 192.168.10.156 -U pgbench -c 1 -T 300 -r pgbench starting vacuum...end. transaction type: <builtin: TPC-B (sort of)> scaling factor: 714 query mode: simple number of clients: 1 number of threads: 1 duration: 300 s number of transactions actually processed: 62602 latency average = 4.792 ms tps = 208.672446 (including connections establishing) tps = 208.675069 (excluding connections establishing) ##1个session,只读性能 root@debian:~/xull/pgsql/bin# ./pgbench -h 192.168.10.156 -U pgbench -c 1 -T 300 -r pgbench -S Password: starting vacuum...end. transaction type: <builtin: select only> scaling factor: 714 query mode: simple number of clients: 1 number of threads: 1 duration: 300 s number of transactions actually processed: 294834 latency average = 1.018 ms tps = 982.778611 (including connections establishing) tps = 982.790906 (excluding connections establishing) script statistics: - statement latencies in milliseconds: 0.003 \set aid random(1, 100000 * :scale) 1.010 SELECT abalance FROM pgbench_accounts WHERE aid = :aid; </source>
返回至“
Pgbench
”。
导航菜单
个人工具
登录
命名空间
页面
讨论
不转换
不转换
简体
繁體
大陆简体
香港繁體
澳門繁體
大马简体
新加坡简体
台灣正體
查看
阅读
查看源代码
查看历史
更多
搜索
导航
首页
最近更改
随机页面
MediaWiki帮助
工具
链入页面
相关更改
特殊页面
页面信息