Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1paGBY-0007Il-RL for pgsql-hackers@arkaria.postgresql.org; Thu, 09 Mar 2023 13:19:56 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1paGBX-0003oc-KA for pgsql-hackers@arkaria.postgresql.org; Thu, 09 Mar 2023 13:19:55 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1paGBX-0003mX-8S for pgsql-hackers@lists.postgresql.org; Thu, 09 Mar 2023 13:19:55 +0000 Received: from mail-oa1-x30.google.com ([2001:4860:4864:20::30]) by makus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1paGBQ-0005gZ-Gq for pgsql-hackers@postgresql.org; Thu, 09 Mar 2023 13:19:54 +0000 Received: by mail-oa1-x30.google.com with SMTP id 586e51a60fabf-176b90e14a9so2230549fac.9 for ; Thu, 09 Mar 2023 05:19:48 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; t=1678367987; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=ZNYT+/gmyOax73VTIJz2unT8LxndwcRBZANRl+1CyrI=; b=Q5avMbSg1Z5cqnRgWfnjEcEtLG2XFbBNJowTwxR6DucADtibSgEKxRk00mpS42CPyM 5ocxsIYwDzggAuxF7F46J3BtZqUtAV7rGbgPfKl+gXKpyt5COO9xZV263sym0QlTfb9p JtxmUMiLk6DphFXyl2CCNscq0u4bJpChOv/Lc43KVFLALcI2NOCEdIhoTyRe4l57VhYG MJsuqn2W38Em5r2ePqQFbyWE2s3rw28Ub6KQSb4gfIyqZ1xn6fIvXWTA773Ss4q6H7Am Xdyu+soAizew+dVtgOKu0l4mVs949GXpM8RA6Y3GHM3zdMsY0P65jKjpLu4uL9k3QYe1 p2kA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1678367987; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=ZNYT+/gmyOax73VTIJz2unT8LxndwcRBZANRl+1CyrI=; b=eUYULgxT1Iqhoh+L5f/ylpJQEItU3IHRZKsrp1edKUVXJtSvN07y5ksHO/nWByro6e 2YiAgPs+KtqmoEF0uGxE7wsG6mj2uqEaRy9XOpTYTK8Wej0XjuyfmJSFyYL49j8nLHkf ebsmWwZMtAWfQzuQcPnFZWE0V54mC2ydqDqFhZk89b7XbWPaiOZHpS+k+UyzXjF+J/Sc zAVjSpcOcXLmzYIETpeWKa401reuy86t2RwscrBlpvAFsC8cULuqekUzgS5mhlIlgZr1 85FuX43yzd7A9jv9ZpGLRdiY3Lgg2LOXTZjVDQCAD3SjlBqDrtVTPqY7W+a+9+pPtKRv IHxw== X-Gm-Message-State: AO0yUKUOcCNGPxVs/tvrQB411RWBYLXiEukfGeBntzFLNkEkJcclYbxo ++UuRETOeoftRMKKbXerbZ6ATRNXJ2L5WYj6fgY= X-Google-Smtp-Source: AK7set+FWdpXzJOs3u+0zW+s2xJ5JW464aovVzkbNE4yhpxw7bIDMRjZNdFNAxOW6YFgJQyjIGFSzYVHe6BOqNv713s= X-Received: by 2002:a05:6870:989d:b0:176:3b76:8a78 with SMTP id eg29-20020a056870989d00b001763b768a78mr7438124oab.7.1678367987572; Thu, 09 Mar 2023 05:19:47 -0800 (PST) MIME-Version: 1.0 References: <7121ac43-d6ae-33ca-8ddc-538b0c6ab492@amazon.com> In-Reply-To: From: Masahiko Sawada Date: Thu, 9 Mar 2023 22:19:11 +0900 Message-ID: Subject: Re: Should vacuum process config file reload more often To: John Naylor Cc: Jim Nasby , Melanie Plageman , Pg Hackers , Andres Freund Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk On Thu, Mar 9, 2023 at 4:47=E2=80=AFPM John Naylor wrote: > > > On Thu, Mar 9, 2023 at 12:42=E2=80=AFAM Jim Nasby wro= te: > > > > Doesn't the dead tuple space grow as needed? Last I looked we don't all= ocate up to 1GB right off the bat. > > Incorrect. > > > Of course, if the patch that eliminates the 1GB vacuum limit gets commi= tted the situation will be even worse. > > If you're referring to the proposed tid store, I'd be interested in seein= g a reproducible test case with a m_w_m over 1GB where it makes things wors= e than the current state of affairs. And I think that the tidstore makes it easy to react to maintenance_work_mem changes. We don't need to enlarge it and just update its memory limit at an appropriate time. Regards, --=20 Masahiko Sawada Amazon Web Services: https://aws.amazon.com