Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1gkBqU-0007NL-RX for pgsql-performance@arkaria.postgresql.org; Thu, 17 Jan 2019 17:52:51 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1gkBqS-00075D-D8 for pgsql-performance@arkaria.postgresql.org; Thu, 17 Jan 2019 17:52:48 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1gkBqS-000755-5c for pgsql-performance@lists.postgresql.org; Thu, 17 Jan 2019 17:52:48 +0000 Received: from mail-qt1-x844.google.com ([2607:f8b0:4864:20::844]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1gkBqP-0005K6-G4 for pgsql-performance@lists.postgresql.org; Thu, 17 Jan 2019 17:52:47 +0000 Received: by mail-qt1-x844.google.com with SMTP id d19so12242376qtq.9 for ; Thu, 17 Jan 2019 09:52:44 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=2ndquadrant-com.20150623.gappssmtp.com; s=20150623; h=date:from:to:cc:subject:message-id:mime-version:content-disposition :content-transfer-encoding:in-reply-to:user-agent; bh=MSKDp9Tu/UGdoKyQP+lGRjIpjTYN/Rxc9ANjv/8lpoI=; b=kK7ayceRialgAcjVuaDnClXo53fzTSgR6qK13YnzKEIYIIMTvSsbxdk9+43pOgbHw4 xEju9GdZ31D+LpkD/RmcFr8D31YCEy7JZxTuiF5jUKMde0EL7ILM8k6khIQmaUzpd6pw QfDXaUdYmHd9AMdybecF0hcIxYUd8l4YrFgrv2YBStuL60OBG1CY1dKO6bAoOSg4LTms 1PTt4N9KS/qvq8zL757smlDvHEvYRqcx212ng0sQeSgeZdPcshz/KRK7AhJ4fV60OmmN pRlE0z6X8/Oaq1KCMIp1cLkdrGkF6HdFqkMcojmNaWR+pH35+2AqAlaaZXNRYCmlUvst Nwww== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:mime-version :content-disposition:content-transfer-encoding:in-reply-to :user-agent; bh=MSKDp9Tu/UGdoKyQP+lGRjIpjTYN/Rxc9ANjv/8lpoI=; b=oW40bvtabMvwcLAd1bOzkmKN6S3InCYlCbJ1wT4uWugijFL/V85y+8xwcB/7vxWGhA 32aJoyNnNTarrT5Y03R5I2qjoAVuWwNmqnH06WKUCp+LBfQV67ogQLFamXDjMjW/3aRb vh/QQZusIvTiyg+VrIqP2mArxSi6JWHpapZkjlv+fbOWpaLxOfsN3MPm34PnX27w3uZ/ 25CuP6EUqXDj9O+OcwbNe/L1JnVm1YNnQc3dV3wzpgkG0HAnjc9BhEdga+49QwPlVCzA dCkjO5G6p0QSN/QdZZ8vh0vqaOzpWGG0+nIOV3KLqYPaYE8X3a2OsbGtQ73e/R4UcKg0 5OVA== X-Gm-Message-State: AJcUukcnJLHHkJghaa1ESFhTlW80X2+AJXl0SujKi/edioMzUNqhl4pk sCxqRZOK41c4pbA8j6f+TauPgg== X-Google-Smtp-Source: ALg8bN6WN+JnBQEAwqs+y1H4hJYw5d4e2/vh9E4/e22RRykMV39ZcRPS2wmjuoeGYaAKJTph15v9IA== X-Received: by 2002:ac8:4884:: with SMTP id i4mr6569338qtq.219.1547747563680; Thu, 17 Jan 2019 09:52:43 -0800 (PST) Received: from alvin.alvh.no-ip.org ([201.186.80.67]) by smtp.gmail.com with ESMTPSA id x49sm69000200qta.89.2019.01.17.09.52.42 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Thu, 17 Jan 2019 09:52:43 -0800 (PST) Received: by alvin.alvh.no-ip.org (Postfix, from userid 1000) id 74D35876; Thu, 17 Jan 2019 14:52:41 -0300 (-03) Date: Thu, 17 Jan 2019 14:52:41 -0300 From: Alvaro Herrera To: Mariel Cherkassky Cc: pgsql-performance@lists.postgresql.org Subject: Re: autovacuum doesnt run on the pg_toast_id table Message-ID: <201901171752.2cdiwqezrwjk@alvherre.pgsql> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: User-Agent: NeoMutt/20180716-1013-2c1e88 List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk On 2019-Jan-17, Mariel Cherkassky wrote: > I tried to set the same threshold for the toasted table but got an error > that it is a catalog table and therefore permission is denied. > 2019-01-17 12:04:15 EST db116109 ERROR: permission denied: > "pg_toast_13388392" is a system catalog > 2019-01-17 12:04:15 EST db116109 STATEMENT: alter table > pg_toast.pg_toast_13388392 set (autovacuum_vacuum_scale_factor=0.05); The right way to do this is alter table main_table set (toast.autovacuum_vacuum_scale_factor = 0.05); -- Álvaro Herrera https://www.2ndQuadrant.com/ PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services