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 1ko72F-0002rp-G3 for pgsql-admin@arkaria.postgresql.org; Sat, 12 Dec 2020 15:42:15 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1ko72D-0004VX-6Q for pgsql-admin@arkaria.postgresql.org; Sat, 12 Dec 2020 15:42:13 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1ko72C-0004VQ-Sv for pgsql-admin@lists.postgresql.org; Sat, 12 Dec 2020 15:42:12 +0000 Received: from mail-pj1-x1044.google.com ([2607:f8b0:4864:20::1044]) by magus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1ko727-0001qn-K7 for pgsql-admin@lists.postgresql.org; Sat, 12 Dec 2020 15:42:11 +0000 Received: by mail-pj1-x1044.google.com with SMTP id lj6so2451360pjb.0 for ; Sat, 12 Dec 2020 07:42:07 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=references:user-agent:from:to:subject:date:in-reply-to:message-id :mime-version; bh=sLAa3l59TpX/+oqUJg/KlrYppikP2uTa84qZtCPeHB4=; b=cEemMgABSyXc0tpYEOwGGkoZ75Q5dGCYblmScRx2IjvGVes1NxmYVB8grH85+Uc9Dt iaz5b+owhKYdFnOrE5rDdN/Gc5Ufx2gPfPGgd18yMsfbF1PeHzPTh7oqo1rhV8dw3AwT XwISeW1pjjATiADGI6XRsnff1J24f2M3RIOOGaZvweGc0dqTTl8fYasT0quX/6gBmhcL 59K6zVcOQvPxsq0OnM82smNvL0Bx5GChGN3D07tW5D75ZzEVRWY4ku4CiI+pPEX7d4ky 1VRXxTf3T+VU1s73op+IAxiJbbfW6XxkWqDUK9xXBFB29eyZdoaSKymiOioKqpj7dv// c5ZA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:references:user-agent:from:to:subject:date :in-reply-to:message-id:mime-version; bh=sLAa3l59TpX/+oqUJg/KlrYppikP2uTa84qZtCPeHB4=; b=SMNtQua5Yu/6Z1gYv8NcAmJJ9t6p0YlRr0M0Z75S7Q2kvrlV9D0naLzz6/aj6sCOBX kaXL4h73K5q7qpciMll2AYscDEYEr92L3fgUQkA2oZ1yW1/h0wc/b1NU0KztLTb5c/Lh o5PVBryeWnQggKMY50APTYhZxNPLGPNeURm/prUWWEWf+e1CcHB0DGHjJwA0DBArh5DY YMzD+3O04CkHzp9bzycMDvAWst/eND65+Bb0J/GXFN9zW9NwoTA28Nnqr0776aeeL6An sIpTgtsppokbuWcLhO+CuweYgTIxIjoCS7lLACHfgV/ikzoVJzT/uxbYeiRswUpHvBPv Xl1A== X-Gm-Message-State: AOAM532SkjXObxcH/lr+MyES2ycbYjBVY3cKJChcFKu+Krbe3gOtu533 2nIvCMccOtW0rSseYJBOwEnyhL8dP4l9dA== X-Google-Smtp-Source: ABdhPJwzUbC5GIlP7CKIw4lwu2FeYAIBLMIevUBUHBJKDrMhXtQD+lLfi2MGilQYtrfb15B7cGpELw== X-Received: by 2002:a17:90a:f3c5:: with SMTP id ha5mr6318975pjb.61.1607787725224; Sat, 12 Dec 2020 07:42:05 -0800 (PST) Received: from tim-desktop (106-69-116-49.dyn.iinet.net.au. [106.69.116.49]) by smtp.gmail.com with ESMTPSA id 82sm15279760pfv.117.2020.12.12.07.42.03 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 12 Dec 2020 07:42:04 -0800 (PST) References: User-agent: mu4e 1.5.7; emacs 27.1.50 From: Tim Cross To: pgsql-admin@lists.postgresql.org Subject: Re: How to turnoff autovacuum Date: Sun, 13 Dec 2020 02:38:32 +1100 In-reply-to: Message-ID: <877dpnuj3r.fsf@gmail.com> MIME-Version: 1.0 Content-Type: text/plain List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk Keith writes: > On Sat, Dec 12, 2020 at 12:31 AM mark armon <1994hejian@gmail.com> wrote: > >> >> Just follow the tutorial. In the tutorial I need to set the autovacuum >> off. >> Here is how I set the autovacuum off. >> >> 1. Locate the postgresql.conf. >> 2. edit the postgresql.conf using notepad. As the picture attached. >> Previously it's *on *now it's *off. * >> 3. close and save postgresql.conf then open *service-msc* >> 4. restart the postgresql service. >> 5. open psql type: *show autovacuum; * >> >> *But the result is ON. * >> >> So that's my knowledge about how to set the parameters. But it failed. So >> please tell me how to set the autovacuum off. >> [image: image.png] >> > > > I have to ask the question, why are you turning autovacuum off? You do > realize the consequences of doing so and are taking the necessary > precautions of managing vacuuming yourself if you do so, correct? >