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 1j2NnH-0001nd-7c for pgsql-general@arkaria.postgresql.org; Thu, 13 Feb 2020 23:21:15 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1j2NnE-0005cu-UU for pgsql-general@arkaria.postgresql.org; Thu, 13 Feb 2020 23:21:12 +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 1j2NnC-0005cn-WE for pgsql-general@lists.postgresql.org; Thu, 13 Feb 2020 23:21:12 +0000 Received: from [64.147.123.21] (helo=wout5-smtp.messagingengine.com) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1j2Nn6-0002b2-N3 for pgsql-general@lists.postgresql.org; Thu, 13 Feb 2020 23:21:10 +0000 Received: from compute6.internal (compute6.nyi.internal [10.202.2.46]) by mailout.west.internal (Postfix) with ESMTP id D3DA2FDE; Thu, 13 Feb 2020 18:20:51 -0500 (EST) Received: from mailfrontend1 ([10.202.2.162]) by compute6.internal (MEProxy); Thu, 13 Feb 2020 18:20:52 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=aklaver.com; h= subject:to:cc:references:from:message-id:date:mime-version :in-reply-to:content-type:content-transfer-encoding; s=fm2; bh=+ aH697UBu3j5Sbt25//3FX25GtkGWi5pL09e7q3jbe0=; b=t2K2XRooWmTxBtm3U wNsRx+03rqN90/QcoG9jNzq+Yc6kUyMIBG8+A188mDlrpS0yXoPH+8CoZ3VBARwU vIjTSElIjl8p3wSWO3JuYgk0O7iyXJAdwszZyoYFZ1c3jWBZl+XHFYAWrJqiTKVc dhZ7hcon+KZNgSVIrUbt5O5HtkwAmOiKtjsb4E/CGaykWcZ2KQYRSRLkLugOlVEh bQbl9Ny3izw1ZrQmr5DD5nzd3L7zvyyLYL4uYAzA2BCuwkWjTKKJTv5BjIy4X2Up r3PQxuXHIyzKTN2UTQrFwhxR3ytFJQZoK0R6amRGTfWDfT2w8tXUqSq6AKQGr7XO Ipo0A== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender :x-sasl-enc; s=fm2; bh=+aH697UBu3j5Sbt25//3FX25GtkGWi5pL09e7q3jb e0=; b=SgIcjtELgAi9XrdPU6e2/Q54X26Qtb+6wmnCKvgOFxOm7IwhBZvb+nRgE WP0UmqLw7FYZqztQs2aQA5eYrT+nMFdchY8sQpwlGCUUtFE3UMZN8/0/gyMESyKg H2fqAUGil9lEpP8JqFLapJw05JkBdMbrr9cwRGNNy6k2fR0Fs4IEFGx9w++7Ssgo 9mYyxTbHv1xM7EJipQx2zTUpQf0uWW1AJ4hgOh6ne5a7Hu6pyGhlEt9vJEQXOZuE oJAqxypRZNFlVWuLk4/1B3Cf0n8pJc9lvxDZMBwoXeN2wQ4S6iy6/c66z41omV9c TF0P6G5KAg3qlZrrn0tmTQexw2XMw== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedugedrieelgddtkecutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu uegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenuc fjughrpefuvfhfhffkffgfgggjtgfgsehtjeertddtfeejnecuhfhrohhmpeetughrihgr nhcumfhlrghvvghruceorggurhhirghnrdhklhgrvhgvrhesrghklhgrvhgvrhdrtghomh eqnecukfhppeejuddrvdduvddruddvledrudelfeenucevlhhushhtvghrufhiiigvpedt necurfgrrhgrmhepmhgrihhlfhhrohhmpegrughrihgrnhdrkhhlrghvvghrsegrkhhlrg hvvghrrdgtohhm X-ME-Proxy: Received: from [192.168.1.10] (unknown [71.212.129.193]) by mail.messagingengine.com (Postfix) with ESMTPA id B65F43280066; Thu, 13 Feb 2020 18:20:50 -0500 (EST) Subject: =?UTF-8?Q?Re=3a_pg=5fupgrade_=e2=80=94link_does_it_remove_table_blo?= =?UTF-8?Q?at?= To: Jason Ralph , Michael Lewis Cc: "pgsql-general@lists.postgresql.org" References: From: Adrian Klaver Message-ID: <5162e49b-8c9e-7c2c-6ebf-77fb123d0645@aklaver.com> Date: Thu, 13 Feb 2020 15:20:49 -0800 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.5.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-Host-Lookup-Failed: Reverse DNS lookup failed for 64.147.123.21 (deferred) List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk On 2/13/20 12:45 PM, Jason Ralph wrote: > @Adrian Klaver, > I was concerned with the 1.4 value of tbloat and wastedbytes value, then again the last autovacuum was at 2020-02-13 02:25:22.533372-05 and I took this snapshot at 3:44PMEST. So it may be ok, what do you think? What is your concern, storage space or performance of queries? If performance then an EXPLAIN ANALYZE on a query will help show whether there is an issue or not. > > > current_database | schemaname | tablename | tbloat | wastedbytes | iname | ibloat | wastedibytes > notimportant | public | members | 1.4 | 3080314880 | members_cobrid | 0.2 | 0 > > > > > > notimportant=# select * from pg_stat_user_tables where relname = 'members'; > -[ RECORD 1 ]-------+------------------------------ > relid | 2045245 > schemaname | public > relname | members > seq_scan | 55065 > seq_tup_read | 201069350222 > idx_scan | 5349501175 > idx_tup_fetch | 7201402647 > n_tup_ins | 910616 > n_tup_upd | 46730942 > n_tup_del | 1 > n_tup_hot_upd | 41845682 > n_live_tup | 18262438 > n_dead_tup | 14740 > n_mod_since_analyze | 2476 > last_vacuum | 2019-10-13 01:01:40.587534-04 > last_autovacuum | 2020-02-13 02:25:22.533372-05 > last_analyze | 2019-10-13 01:01:41.916929-04 > last_autoanalyze | 2020-02-13 13:44:46.273096-05 > vacuum_count | 15 > autovacuum_count | 92 > analyze_count | 15 > autoanalyze_count | 243 > > Jason Ralph > -- Adrian Klaver adrian.klaver@aklaver.com