From 2472ea0a53f0e3fe7cb315fbbe6619fa71b181f9 Mon Sep 17 00:00:00 2001 From: Tatsuo Ishii Date: Thu, 17 Jan 2019 15:34:41 +0900 Subject: [PATCH] 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. --- doc/src/sgml/ref/pgbench.sgml | 7 +++++++ 1 file changed, 7 insertions(+) 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.) -- 2.40.0