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 1gkE68-0006Ak-P3 for pgsql-performance@arkaria.postgresql.org; Thu, 17 Jan 2019 20:17:09 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1gkE67-0006Ml-Ht for pgsql-performance@arkaria.postgresql.org; Thu, 17 Jan 2019 20:17:07 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1gkE67-0006GJ-1n for pgsql-performance@lists.postgresql.org; Thu, 17 Jan 2019 20:17:07 +0000 Received: from mail-qt1-x843.google.com ([2607:f8b0:4864:20::843]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1gkE63-0007wZ-Fu for pgsql-performance@lists.postgresql.org; Thu, 17 Jan 2019 20:17:05 +0000 Received: by mail-qt1-x843.google.com with SMTP id t13so12811019qtn.3 for ; Thu, 17 Jan 2019 12:17:03 -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=czPKgAL9O1rlmNXnUKlO7Gc7YM1mUYQykZQ8UwCdQMs=; b=Kydw/uwV2KZF2rMGIqQJVV6MTcnQAuNN2bn9G9keQcD/1fJTBQM9nYHSREEImxeJxp P7r1DwEbKVPtEqAYpwe3x/ZjNu8Gs/GhyNXQKSBCR8DQ4ckQk2jF7pgZ4ErtOd6/va2/ ffvcqugwWDNR1VjgcLH93DaywYK1l5e9r4DOalLueVkd6w40bj6v6oCiUxNX3YQa5DWs gKRkuxnDC5EDkbsx/gZo88eIak3FhpajNscR9OU2J2ngx0aLeUIIk0SHLx8AfFnEidLI oSK6abkpDChzPyd364OhC/p5R9T7/9GOkvlsReNwyJYcn9mtg8hAmP9ae+Pt//oPYl20 bMuw== 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=czPKgAL9O1rlmNXnUKlO7Gc7YM1mUYQykZQ8UwCdQMs=; b=F5lBeskTb+IW6LX2B0IJbk4MvQYC125dusEjFjAYq3AidjaX3/sjc0A6ZfAoeFZC6H 9tZ+q3BJ5y2CxQw7yBr3iFMIDlx/5WndS56yevjL0ukum9eHuCLenmcgNQc/bLTzNAPJ n/RbEdfWyoCj5YZSRgokPQ/CcdRiN3fbLHxO60lLz67OSd3beVsGndXljEwkN54VpUhK OnWhEUCs4SnEmTIZ39kyuQu+QH+pkDwusvIbOpkXKO7GgWqqBOgA0EutxNEOqkL1jnQ1 HSNfN/DFtI1mhdufYJz7tpx+ZnfXjDLlZTVDvY0mdhkkEG9MYqZ1b/pJ5jIg4TxL25f0 Wk1Q== X-Gm-Message-State: AJcUukdYvAwXjAZEntXyFcmzhlI0FM6vlEUJD66wrjjVFGgOVJrST39l alDb7i0WCgujNDgvD3CWuS9Kpg== X-Google-Smtp-Source: ALg8bN7TynYxixEq7XM06I3I2Aoqy1UcP1o3J8z5d2Pu0H2v2sKkPek0WmvXcwgcD599RZWvf3l+NA== X-Received: by 2002:ac8:7611:: with SMTP id t17mr12543468qtq.345.1547756222745; Thu, 17 Jan 2019 12:17:02 -0800 (PST) Received: from alvin.alvh.no-ip.org ([201.186.80.67]) by smtp.gmail.com with ESMTPSA id y14sm68210139qky.83.2019.01.17.12.17.02 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Thu, 17 Jan 2019 12:17:02 -0800 (PST) Received: by alvin.alvh.no-ip.org (Postfix, from userid 1000) id 8B7F0876; Thu, 17 Jan 2019 17:16:59 -0300 (-03) Date: Thu, 17 Jan 2019 17:16:59 -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: <201901172016.4qasdchkt3lc@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: > But you said that the threshold that is chosen for the toasted table is > identical to the originals table threshold right ? You can configure them identical, or different. Up to you. > Is that a normal behavior that the original table has 1000recrods but > the toasted has more than 10m? Sure -- each large record in the main table is split into many 2kb records in the toast table. > How can I set a different threshold for the toasted table ? Just choose a different value in the command I showed. -- Álvaro Herrera https://www.2ndQuadrant.com/ PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services