Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
Greenplum
Gpdb
提交
f8aa02eb
G
Gpdb
项目概览
Greenplum
/
Gpdb
通知
7
Star
1
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
DevOps
流水线
流水线任务
计划
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
G
Gpdb
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
DevOps
DevOps
流水线
流水线任务
计划
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
流水线任务
提交
Issue看板
体验新版 GitCode,发现更多精彩内容 >>
提交
f8aa02eb
编写于
10月 24, 2001
作者:
T
Tatsuo Ishii
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
"time" is now a reserved keyword(changed to "mtime").
上级
97ab49be
变更
3
隐藏空白更改
内联
并排
Showing
3 changed file
with
13 addition
and
6 deletion
+13
-6
contrib/pgbench/README.pgbench
contrib/pgbench/README.pgbench
+5
-2
contrib/pgbench/README.pgbench_jis
contrib/pgbench/README.pgbench_jis
+5
-1
contrib/pgbench/pgbench.c
contrib/pgbench/pgbench.c
+3
-3
未找到文件。
contrib/pgbench/README.pgbench
浏览文件 @
f8aa02eb
pgbench
1.3 README 2001/09/09
Tatsuo Ishii (t-ishii@sra.co.jp)
pgbench
README 2001/10/24
Tatsuo Ishii (t-ishii@sra.co.jp)
o What is pgbench?
...
...
@@ -153,6 +153,9 @@ Basically it is same as BSD license. See pgbench.c for more details.
o History
2001/10/24
* "time"->"mtime"
2001/09/09
* Add -U, -P, -C options
...
...
@@ -164,4 +167,4 @@ o History
* More robust when backends die
* Add -S option (select only)
1999/09/04 pgbench-1.0 released
\ No newline at end of file
1999/09/04 pgbench-1.0 released
contrib/pgbench/README.pgbench_jis
浏览文件 @
f8aa02eb
pgbench
1.3
README 2001/09/09 Tatsuo Ishii (t-ishii@sra.co.jp)
pgbench README 2001/09/09 Tatsuo Ishii (t-ishii@sra.co.jp)
$B"#(Bpgbench $B$H$O!)(B
...
...
@@ -169,6 +169,10 @@ pgbench $B$O@P0f(B $BC#IW$K$h$C$F=q$+$l$^$7$?!%%i%$%;%s%9>r7o$O(B pgbench.c
$B"#2~DjMzNr(B
2001/10/24
* PostgreSQL 7.2$B$G!$(B"time"$B$,M=Ls8l$K$J$C$?$N$G!$(B"mtime"$B$KJQ99(B
$B$7$?!%(B
2001/09/09
* PostgreSQL 7.2$BMQ$K!$(B-U, -P, -C $B%*%W%7%g%s$rDI2C$7$^$7$?!%(B
...
...
contrib/pgbench/pgbench.c
浏览文件 @
f8aa02eb
/*
* $Header: /cvsroot/pgsql/contrib/pgbench/pgbench.c,v 1.1
0 2001/09/09 03:15:56
ishii Exp $
* $Header: /cvsroot/pgsql/contrib/pgbench/pgbench.c,v 1.1
1 2001/10/24 08:07:22
ishii Exp $
*
* pgbench: a simple TPC-B like benchmark program for PostgreSQL
* written by Tatsuo Ishii
...
...
@@ -301,7 +301,7 @@ doOne(CState * state, int n, int debug)
sprintf
(
sql
,
"update branches set bbalance = bbalance + %d where bid = %d"
,
st
->
delta
,
st
->
bid
);
break
;
case
5
:
sprintf
(
sql
,
"insert into history(tid,bid,aid,delta,time) values(%d,%d,%d,%d,'now')"
,
sprintf
(
sql
,
"insert into history(tid,bid,aid,delta,
m
time) values(%d,%d,%d,%d,'now')"
,
st
->
tid
,
st
->
bid
,
st
->
aid
,
st
->
delta
);
break
;
case
6
:
...
...
@@ -444,7 +444,7 @@ init()
"drop table accounts"
,
"create table accounts(aid int,primary key(aid),bid int,abalance int,filler char(84))"
,
"drop table history"
,
"create table history(tid int,bid int,aid int,delta int,time timestamp,filler char(22))"
};
"create table history(tid int,bid int,aid int,delta int,
m
time timestamp,filler char(22))"
};
char
sql
[
256
];
int
i
;
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录