public inbox for [email protected]
help / color / mirror / Atom feedFrom: Laurenz Albe <[email protected]>
To: Martín Marqués <[email protected]>
To: [email protected]
Subject: Re: Update maintenance_work_mem/autovacuum_work_mem to reflect the 1GB limitation with VACUUM
Date: Wed, 05 May 2021 12:03:08 +0200
Message-ID: <[email protected]> (raw)
In-Reply-To: <CABeG9LsZ2ozUMcqtqWu_-GiFKB17ih3p8wBHXcpfnHqhCnsc7A@mail.gmail.com>
References: <CABeG9LsZ2ozUMcqtqWu_-GiFKB17ih3p8wBHXcpfnHqhCnsc7A@mail.gmail.com>
On Mon, 2021-05-03 at 13:48 -0300, Martín Marqués wrote:
> We should add a line that indicates that there is a limitation (that
> should be IMO, backported to documentation of earlier versions as it
> affects all supported versions), at least until such limitation is
> lifted.
Here is a patch for that,
Yours,
Laurenz Albe
Attachments:
[text/x-patch] 0001-Document-the-1GB-memory-limit-for-VACUUM.patch (937B, 2-0001-Document-the-1GB-memory-limit-for-VACUUM.patch)
download | inline diff:
From 69ba1f6bef0209fa1093c39ba2e731641d7f5188 Mon Sep 17 00:00:00 2001
From: Laurenz Albe <[email protected]>
Date: Wed, 5 May 2021 12:02:11 +0200
Subject: [PATCH] Document the 1GB memory limit for VACUUM
---
doc/src/sgml/config.sgml | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/doc/src/sgml/config.sgml b/doc/src/sgml/config.sgml
index 3a062a145c..9219b5c90a 100644
--- a/doc/src/sgml/config.sgml
+++ b/doc/src/sgml/config.sgml
@@ -1901,6 +1901,11 @@ include_dir 'conf.d'
be used instead. The setting has no effect on the behavior of
<command>VACUUM</command> when run in other contexts.
</para>
+ <para>
+ Node that <command>VACUUM</command> has a hard-coded limit of 1GB
+ for the amount of memory used, so setting
+ <varname>autovacuum_work_mem</varname> higher than that has no effect.
+ </para>
</listitem>
</varlistentry>
--
2.26.3
reply
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: [email protected]
Cc: [email protected], [email protected], [email protected]
Subject: Re: Update maintenance_work_mem/autovacuum_work_mem to reflect the 1GB limitation with VACUUM
In-Reply-To: <[email protected]>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox