From 445732a5ff19f34f7d3675fc64d63d03bf6467e0 Mon Sep 17 00:00:00 2001 From: Bruce Momjian Date: Tue, 17 Sep 2002 21:41:47 +0000 Subject: [PATCH] Point out that CREATE INDEX uses sorts and hence sort_mem GUC parameter. --- doc/src/sgml/runtime.sgml | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) diff --git a/doc/src/sgml/runtime.sgml b/doc/src/sgml/runtime.sgml index 6d1d3e1790..b993323db6 100644 --- a/doc/src/sgml/runtime.sgml +++ b/doc/src/sgml/runtime.sgml @@ -1,5 +1,5 @@ @@ -1784,12 +1784,13 @@ dynamic_library_path = '/usr/local/lib/postgresql:/home/my_project/lib:$libdir' Specifies the amount of memory to be used by internal sorts and hashes before switching to temporary disk files. The value is specified in kilobytes, and defaults to 1024 kilobytes (1MB). - Note that for a complex query, several sorts and/or hashes might be - running in parallel, and each one will be allowed to use as much - memory as this value specifies before it starts to put data into - temporary files. Also, each running backend could be doing one - or more sorts simultaneously, so the total memory used could be - many times the value of SORT_MEM. + Note that for a complex query, several sorts might be running in + parallel, and each one will be allowed to use as much memory as + this value specifies before it starts to put data into temporary + files. Also, each running backend could be doing one or more + sorts simultaneously, so the total memory used could be many + times the value of SORT_MEM. Sorts are used + by ORDER BY, merge joins, and CREATE INDEX. -- 2.40.0