- Notifications
You must be signed in to change notification settings - Fork5
Commite574f2a
committed
Enhance pgbench -l option to add timestamp. Patch contributed by Greg
Smith. Along with Japanese doc updation by Tasuo Ishii.> This patch changes the way pgbench outputs its latency log files so that> every transaction gets a timestamp and notes which transaction type was> executed. It's a one-line change that just dumps some additional> information that was already sitting in that area of code. I also made a> couple of documentation corrections and clarifications on some of the more> confusing features of pgbench.>> It's straightforward to parse log files in this format to analyze what> happened during the test at a higher level than was possible with the> original format. You can find some rough sample code to convert this> latency format into CVS files and then into graphs at>http://www.westnet.com/~gsmith/content/postgresql/pgbench.htm which I'll> be expanding on once I get all my little patches sent in here.1 parent7e96269 commite574f2a
3 files changed
+52
-9
lines changedLines changed: 24 additions & 5 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
1 |
| - | |
| 1 | + | |
2 | 2 |
| |
3 | 3 |
| |
4 | 4 |
| |
| |||
96 | 96 |
| |
97 | 97 |
| |
98 | 98 |
| |
| 99 | + | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
99 | 103 |
| |
100 | 104 |
| |
101 |
| - | |
102 |
| - | |
| 105 | + | |
| 106 | + | |
103 | 107 |
| |
104 | 108 |
| |
105 | 109 |
| |
| |||
141 | 145 |
| |
142 | 146 |
| |
143 | 147 |
| |
144 |
| - | |
| 148 | + | |
145 | 149 |
| |
146 |
| - | |
| 150 | + | |
| 151 | + | |
| 152 | + | |
| 153 | + | |
| 154 | + | |
| 155 | + | |
| 156 | + | |
| 157 | + | |
| 158 | + | |
| 159 | + | |
| 160 | + | |
| 161 | + | |
| 162 | + | |
| 163 | + | |
147 | 164 |
| |
148 | 165 |
| |
149 | 166 |
| |
| |||
165 | 182 |
| |
166 | 183 |
| |
167 | 184 |
| |
| 185 | + | |
| 186 | + | |
168 | 187 |
| |
169 | 188 |
| |
170 | 189 |
| |
|
Lines changed: 25 additions & 2 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
1 |
| - | |
| 1 | + | |
2 | 2 |
| |
3 | 3 |
| |
4 | 4 |
| |
| |||
76 | 76 |
| |
77 | 77 |
| |
78 | 78 |
| |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
79 | 86 |
| |
80 | 87 |
| |
81 | 88 |
| |
| |||
130 | 137 |
| |
131 | 138 |
| |
132 | 139 |
| |
133 |
| - | |
| 140 | + | |
134 | 141 |
| |
135 | 142 |
| |
136 | 143 |
| |
| 144 | + | |
| 145 | + | |
| 146 | + | |
| 147 | + | |
| 148 | + | |
| 149 | + | |
| 150 | + | |
| 151 | + | |
| 152 | + | |
| 153 | + | |
| 154 | + | |
| 155 | + | |
| 156 | + | |
| 157 | + | |
137 | 158 |
| |
138 | 159 |
| |
139 | 160 |
| |
| |||
198 | 219 |
| |
199 | 220 |
| |
200 | 221 |
| |
| 222 | + | |
| 223 | + | |
201 | 224 |
| |
202 | 225 |
| |
203 | 226 |
| |
|
Lines changed: 3 additions & 2 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
1 | 1 |
| |
2 |
| - | |
| 2 | + | |
3 | 3 |
| |
4 | 4 |
| |
5 | 5 |
| |
| |||
469 | 469 |
| |
470 | 470 |
| |
471 | 471 |
| |
472 |
| - | |
| 472 | + | |
| 473 | + | |
473 | 474 |
| |
474 | 475 |
| |
475 | 476 |
| |
|
0 commit comments
Comments
(0)