pgbench在9.3中的一个改动
2014-09-23 12:55
218 查看
PostgreSQL v9.2及之前版本中:
-s scale_factor
Multiply the number of rows generated by the scale factor. For example, -s 100 will create 10,000,000 rows in the pgbench_accounts table. Default is 1.
PostgreSQL v9.3中:
-s scale_factor
Multiply the number of rows generated by the scale factor. For example, -s 100 will create 10,000,000 rows in the pgbench_accounts table. Default is 1. When the scale is 20,000 or larger, the columns used to hold account identifiers (aid columns) will switch to using larger integers (bigint), in order to be big enough to hold the range of account identifiers.
v9.3中支持初始化数据量scale>=20000,即2000000000条数据,相应的aid字段类型将会由intger被更改为bigint以支持大数据量。
-s scale_factor
Multiply the number of rows generated by the scale factor. For example, -s 100 will create 10,000,000 rows in the pgbench_accounts table. Default is 1.
PostgreSQL v9.3中:
-s scale_factor
Multiply the number of rows generated by the scale factor. For example, -s 100 will create 10,000,000 rows in the pgbench_accounts table. Default is 1. When the scale is 20,000 or larger, the columns used to hold account identifiers (aid columns) will switch to using larger integers (bigint), in order to be big enough to hold the range of account identifiers.
v9.3中支持初始化数据量scale>=20000,即2000000000条数据,相应的aid字段类型将会由intger被更改为bigint以支持大数据量。
相关文章推荐
- ArcGIS Server 9.3 JavaScript API实战(二)----一个具体的小系统示例介绍
- CU看到的一个好贴,收过来(未作任何改动)原作者:skipjack
- 算法导论9.3-8-设X[1..n]和Y[1..n]为两个数组,每个都包含n个已排好序的数,给出一个求数组X和数组Y中所有2n个元素的中位数
- 工作中需要做一个根据音频动态绘制能量柱的功能,(非原创-有改动-增加倒影效果)废话补多少,看效果-有美女-详细注释
- 【转载】在Linux下,一个文件也有三种时间,分别是:访问时间、修改时间、状态改动时间
- 一个很奇怪的问题,程序没有改动加密参数应该也没有变化.但是两次的加密结果却不一致.md5加密问题
- iOS7的一个小改动:indexPathForCell获取Button的NSIndexPath
- git add 命令的一个习惯用法:逐个挑选改动
- 第一行代码总结:9.3服务的基本用法——定义一个服务
- live Space的一个小改动及其他
- 一个小改动,数据库可能就优化很多
- ArcGIS Server 9.3 JavaScript API实战----一个具体的小系统示例介绍
- 如何让一个被连接的目标接口的值仍然可以被用户改动?
- 在Linux下,一个文件也有三种时间,分别是:访问时间、修改时间、状态改动时间
- 网上一个关于支持打印的ListView类代码的一点改动
- 在Linux下,一个文件也有三种时间,分别是:访问时间、修改时间、状态改动时间
- 忘记把一个改动CODe的工程重新BUILD了:(
- 在Linux下,一个文件也有三种时间,分别是:访问时间、修改时间、状态改动时间
- git 下如何把另外一个分支的某个文件改动merge 合并到这个分支,而不是把整个分支merge过来
- Android杂谈(17)一个开源项目的改动与记录