1
0
mirror of https://github.com/postgres/postgres.git synced 2025-06-14 18:42:34 +03:00

Mention increasing sort_mem during a restore.

This commit is contained in:
Bruce Momjian
2003-07-23 20:30:35 +00:00
parent 7d06fc01e3
commit 0221bc97cf

View File

@ -1,5 +1,5 @@
<!-- <!--
$Header: /cvsroot/pgsql/doc/src/sgml/runtime.sgml,v 1.194 2003/07/22 20:29:13 momjian Exp $ $Header: /cvsroot/pgsql/doc/src/sgml/runtime.sgml,v 1.195 2003/07/23 20:30:35 momjian Exp $
--> -->
<Chapter Id="runtime"> <Chapter Id="runtime">
@ -887,7 +887,9 @@ SET ENABLE_SEQSCAN TO OFF;
times the value of <varname>SORT_MEM</varname>. Sort operations are used times the value of <varname>SORT_MEM</varname>. Sort operations are used
by <literal>ORDER BY</>, merge joins, and <command>CREATE INDEX</>. by <literal>ORDER BY</>, merge joins, and <command>CREATE INDEX</>.
Hash tables are used in hash joins, hash-based aggregation, and Hash tables are used in hash joins, hash-based aggregation, and
hash-based processing of <literal>IN</> subqueries. hash-based processing of <literal>IN</> subqueries. Because
<command>CREATE INDEX</> is used when restoring a database, it might
be good to temporary increase this value during a restore.
</para> </para>
</listitem> </listitem>
</varlistentry> </varlistentry>