git.postgresql.org Git - postgresql.git/commitdiff

git projects / postgresql.git / commitdiff
? search:
summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 6c61d7c)
Doc: enhance pgbench manual.
2019年1月17日 06:34:41 +0000 (15:34 +0900)
2019年1月17日 06:34:41 +0000 (15:34 +0900)
Clarify the difference between "prepared mode" and other query modes.

Discussion: https://postgr.es/m/20181030.103654.2249812451112831300.t-ishii@sraoss.co.jp
Reviewed by: Fabien Coelh and Alvaro Herrera.


diff --git a/doc/src/sgml/ref/pgbench.sgml b/doc/src/sgml/ref/pgbench.sgml
index ca1608811881809227272eb176cb591023a90ee1..15ee7c0f2ba9e2fe46b850a33aeb646549001fd4 100644 (file)
--- a/doc/src/sgml/ref/pgbench.sgml
+++ b/doc/src/sgml/ref/pgbench.sgml
@@ -473,6 +473,13 @@ pgbench <optional> <replaceable>options</replaceable> </optional> <replaceable>d
<para><literal>prepared</literal>: use extended query protocol with prepared statements.</para>
</listitem>
</itemizedlist>
+
+ Because in "prepared" mode <application>pgbench</application> reuses
+ the parse analysis result for the second and subsequent query
+ iteration, <application>pgbench</application> runs faster in the
+ prepared mode than in other modes.
+ </para>
+ <para>
The default is simple query protocol. (See <xref linkend="protocol"/>
for more information.)
</para>
This is the main PostgreSQL git repository.
RSS Atom

AltStyle によって変換されたページ (->オリジナル) /