@@ -34,15 +34,16 @@ o features of pgbench
34
34
35
35
o How to install pgbench
36
36
37
- (1) Edit the first line in Makefile
37
+ (1) Configure and build the standard Postgres distribution.
38
38
39
- POSTGRESHOME = /usr/local/pgsql
39
+ You can get away with just running configure at the top level
40
+ and doing "make all" in src/interfaces/libpq.
40
41
41
- so that it points to the directory where PostgreSQL installed .
42
+ (2) Run make in this directory.
42
43
43
- (2) Run configure
44
-
45
- (3) Run make. You will see an executable file "pgbench" there .
44
+ You will see an executable file "pgbench". You can run it here,
45
+ or install it with the standard Postgres programs by doing
46
+ "make install" .
46
47
47
48
o How to use pgbench?
48
49
@@ -52,7 +53,7 @@ o How to use pgbench?
52
53
53
54
where <dbname> is the name of database. pgbench uses four tables
54
55
accounts, branches, history and tellers. These tables will be
55
- destroyed. Be very carefully if you have tables having same
56
+ destroyed. Be very careful if you have tables having same
56
57
names. Default test data contains:
57
58
58
59
table # of tuples
@@ -85,7 +86,7 @@ o options
85
86
86
87
-p port
87
88
the port number that the backend is accepting. default is
88
- 5432.
89
+ libpq's default, usually 5432.
89
90
90
91
-c number_of_clients
91
92
Number of clients simulated. default is 1.
@@ -106,7 +107,7 @@ o options
106
107
107
108
-v
108
109
Do vacuuming before testing. This will take some time.
109
- Without both -n and -v pgbench will vacuum tellers and
110
+ With neither -n nor -v, pgbench will vacuum tellers and
110
111
branches tables only.
111
112
112
113
-S
0 commit comments