From: Tatsuo Ishii Date: Thu, 17 Jan 2019 06:34:41 +0000 (+0900) Subject: Doc: enhance pgbench manual. X-Git-Tag: REL_12_BETA1~932 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=2472ea0a53f0e3fe7cb315fbbe6619fa71b181f9;p=postgresql 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.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 ca16088118..15ee7c0f2b 100644 --- a/doc/src/sgml/ref/pgbench.sgml +++ b/doc/src/sgml/ref/pgbench.sgml @@ -473,6 +473,13 @@ pgbench options d prepared: use extended query protocol with prepared statements. + + Because in "prepared" mode pgbench reuses + the parse analysis result for the second and subsequent query + iteration, pgbench runs faster in the + prepared mode than in other modes. + + The default is simple query protocol. (See for more information.)