]> granicus.if.org Git - postgresql/commitdiff
Document pg_restore --jobs as a performance enhancement.
authorBruce Momjian <bruce@momjian.us>
Fri, 26 Feb 2010 02:31:52 +0000 (02:31 +0000)
committerBruce Momjian <bruce@momjian.us>
Fri, 26 Feb 2010 02:31:52 +0000 (02:31 +0000)
doc/src/sgml/perform.sgml

index 1a9f7c1452d0298aebdcc1d91e94ba7c286ee4d4..02c5071d2aef612a1a943471dc5e67f990cf0d09 100644 (file)
@@ -1,4 +1,4 @@
-<!-- $PostgreSQL: pgsql/doc/src/sgml/perform.sgml,v 1.73 2010/01/15 09:18:59 heikki Exp $ -->
+<!-- $PostgreSQL: pgsql/doc/src/sgml/perform.sgml,v 1.74 2010/02/26 02:31:52 momjian Exp $ -->
 
  <chapter id="performance-tips">
   <title>Performance Tips</title>
@@ -1027,7 +1027,10 @@ SELECT * FROM x, y, a, b, c WHERE something AND somethingelse;
        possibly discarding many hours of processing.  Depending on how
        interrelated the data is, that might seem preferable to manual cleanup,
        or not.  <command>COPY</> commands will run fastest if you use a single
-       transaction and have WAL archiving turned off.
+       transaction and have WAL archiving turned off. 
+       <application>pg_restore</> also has a <option>--jobs</> option
+       which allows concurrent data loading and index creation, and has
+       the performance advantages of doing COPY in a single transaction.
       </para>
      </listitem>
      <listitem>