Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit2472ea0

Browse files
committed
Doc: enhance pgbench manual.
Clarify the difference between "prepared mode" and other query modes.Discussion:https://postgr.es/m/20181030.103654.2249812451112831300.t-ishii@sraoss.co.jpReviewed by: Fabien Coelh and Alvaro Herrera.
1 parent6c61d7c commit2472ea0

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

‎doc/src/sgml/ref/pgbench.sgml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -473,6 +473,13 @@ pgbench <optional> <replaceable>options</replaceable> </optional> <replaceable>d
473473
<para><literal>prepared</literal>: use extended query protocol with prepared statements.</para>
474474
</listitem>
475475
</itemizedlist>
476+
477+
Because in "prepared" mode <application>pgbench</application> reuses
478+
the parse analysis result for the second and subsequent query
479+
iteration, <application>pgbench</application> runs faster in the
480+
prepared mode than in other modes.
481+
</para>
482+
<para>
476483
The default is simple query protocol. (See <xref linkend="protocol"/>
477484
for more information.)
478485
</para>

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp