|
75 | 75 | <entry><structfield>total_time</structfield></entry> |
76 | 76 | <entry><type>double precision</type></entry> |
77 | 77 | <entry></entry> |
78 | | - <entry>Total time spent in the statement, in seconds</entry> |
| 78 | + <entry>Total time spent in the statement, in milliseconds</entry> |
79 | 79 | </row> |
80 | 80 |
|
81 | 81 | <row> |
|
89 | 89 | <entry><structfield>shared_blks_hit</structfield></entry> |
90 | 90 | <entry><type>bigint</type></entry> |
91 | 91 | <entry></entry> |
92 | | - <entry>Total number of shared blocks hits by the statement</entry> |
| 92 | + <entry>Total number of shared block cache hits by the statement</entry> |
93 | 93 | </row> |
94 | 94 |
|
95 | 95 | <row> |
96 | 96 | <entry><structfield>shared_blks_read</structfield></entry> |
97 | 97 | <entry><type>bigint</type></entry> |
98 | 98 | <entry></entry> |
99 | | - <entry>Total number of shared blocks reads by the statement</entry> |
| 99 | + <entry>Total number of shared blocks read by the statement</entry> |
100 | 100 | </row> |
101 | 101 |
|
102 | 102 | <row> |
|
110 | 110 | <entry><structfield>shared_blks_written</structfield></entry> |
111 | 111 | <entry><type>bigint</type></entry> |
112 | 112 | <entry></entry> |
113 | | - <entry>Total number of shared blocks writes by the statement</entry> |
| 113 | + <entry>Total number of shared blocks written by the statement</entry> |
114 | 114 | </row> |
115 | 115 |
|
116 | 116 | <row> |
117 | 117 | <entry><structfield>local_blks_hit</structfield></entry> |
118 | 118 | <entry><type>bigint</type></entry> |
119 | 119 | <entry></entry> |
120 | | - <entry>Total number of local blocks hits by the statement</entry> |
| 120 | + <entry>Total number of local block cache hits by the statement</entry> |
121 | 121 | </row> |
122 | 122 |
|
123 | 123 | <row> |
124 | 124 | <entry><structfield>local_blks_read</structfield></entry> |
125 | 125 | <entry><type>bigint</type></entry> |
126 | 126 | <entry></entry> |
127 | | - <entry>Total number of local blocks reads by the statement</entry> |
| 127 | + <entry>Total number of local blocks read by the statement</entry> |
128 | 128 | </row> |
129 | 129 |
|
130 | 130 | <row> |
|
138 | 138 | <entry><structfield>local_blks_written</structfield></entry> |
139 | 139 | <entry><type>bigint</type></entry> |
140 | 140 | <entry></entry> |
141 | | - <entry>Total number of local blocks writes by the statement</entry> |
| 141 | + <entry>Total number of local blocks written by the statement</entry> |
142 | 142 | </row> |
143 | 143 |
|
144 | 144 | <row> |
145 | 145 | <entry><structfield>temp_blks_read</structfield></entry> |
146 | 146 | <entry><type>bigint</type></entry> |
147 | 147 | <entry></entry> |
148 | | - <entry>Total number of temp blocks reads by the statement</entry> |
| 148 | + <entry>Total number of temp blocks read by the statement</entry> |
149 | 149 | </row> |
150 | 150 |
|
151 | 151 | <row> |
152 | 152 | <entry><structfield>temp_blks_written</structfield></entry> |
153 | 153 | <entry><type>bigint</type></entry> |
154 | 154 | <entry></entry> |
155 | | - <entry>Total number of temp blocks writes by the statement</entry> |
| 155 | + <entry>Total number of temp blocks written by the statement</entry> |
156 | 156 | </row> |
157 | 157 |
|
158 | 158 | <row> |
159 | 159 | <entry><structfield>time_read</structfield></entry> |
160 | 160 | <entry><type>double precision</type></entry> |
161 | 161 | <entry></entry> |
162 | 162 | <entry> |
163 | | - Total time the statement spent reading blocks, in seconds |
| 163 | + Total time the statement spent reading blocks, in milliseconds |
164 | 164 | (if <xref linkend="guc-track-iotiming"> is enabled, otherwise zero) |
165 | 165 | </entry> |
166 | 166 | </row> |
|
170 | 170 | <entry><type>double precision</type></entry> |
171 | 171 | <entry></entry> |
172 | 172 | <entry> |
173 | | - Total time the statement spent writing blocks, in seconds |
| 173 | + Total time the statement spent writing blocks, in milliseconds |
174 | 174 | (if <xref linkend="guc-track-iotiming"> is enabled, otherwise zero) |
175 | 175 | </entry> |
176 | 176 | </row> |
|
285 | 285 | Specify <literal>top</> to track top-level statements (those issued |
286 | 286 | directly by clients), <literal>all</> to also track nested statements |
287 | 287 | (such as statements invoked within functions), or <literal>none</> to |
288 | | - disable. |
| 288 | + disable statement statistics collection. |
289 | 289 | The default value is <literal>top</>. |
290 | 290 | Only superusers can change this setting. |
291 | 291 | </para> |
@@ -366,31 +366,31 @@ bench=# SELECT query, calls, total_time, rows, 100.0 * shared_blks_hit / |
366 | 366 | -[ RECORD 1 ]--------------------------------------------------------------------- |
367 | 367 | query | UPDATE pgbench_branches SET bbalance = bbalance + ? WHERE bid = ?; |
368 | 368 | calls | 3000 |
369 | | -total_time | 9.60900100000002 |
| 369 | +total_time | 9609.00100000002 |
370 | 370 | rows | 2836 |
371 | 371 | hit_percent | 99.9778970000200936 |
372 | 372 | -[ RECORD 2 ]--------------------------------------------------------------------- |
373 | 373 | query | UPDATE pgbench_tellers SET tbalance = tbalance + ? WHERE tid = ?; |
374 | 374 | calls | 3000 |
375 | | -total_time | 8.015156 |
| 375 | +total_time | 8015.156 |
376 | 376 | rows | 2990 |
377 | 377 | hit_percent | 99.9731126579631345 |
378 | 378 | -[ RECORD 3 ]--------------------------------------------------------------------- |
379 | 379 | query | copy pgbench_accounts from stdin |
380 | 380 | calls | 1 |
381 | | -total_time | 0.310624 |
| 381 | +total_time | 310.624 |
382 | 382 | rows | 100000 |
383 | 383 | hit_percent | 0.30395136778115501520 |
384 | 384 | -[ RECORD 4 ]--------------------------------------------------------------------- |
385 | 385 | query | UPDATE pgbench_accounts SET abalance = abalance + ? WHERE aid = ?; |
386 | 386 | calls | 3000 |
387 | | -total_time | 0.271741999999997 |
| 387 | +total_time | 271.741999999997 |
388 | 388 | rows | 3000 |
389 | 389 | hit_percent | 93.7968855088209426 |
390 | 390 | -[ RECORD 5 ]--------------------------------------------------------------------- |
391 | 391 | query | alter table pgbench_accounts add primary key (aid) |
392 | 392 | calls | 1 |
393 | | -total_time | 0.08142 |
| 393 | +total_time | 81.42 |
394 | 394 | rows | 0 |
395 | 395 | hit_percent | 34.4947735191637631 |
396 | 396 | </screen> |
|
0 commit comments