Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1evVZS-0005Ru-PU for pgsql-general@arkaria.postgresql.org; Mon, 12 Mar 2018 22:05:30 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1evVZR-0000M5-I3 for pgsql-general@arkaria.postgresql.org; Mon, 12 Mar 2018 22:05:29 +0000 Received: from makus.postgresql.org ([2001:4800:1501:1::229]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1evVZC-0006ze-Kj for pgsql-general@lists.postgresql.org; Mon, 12 Mar 2018 22:05:14 +0000 Received: from eastrmfepo201.cox.net ([68.230.241.216]) by makus.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1evVZ4-0006Mf-Lh for pgsql-general@lists.postgresql.org; Mon, 12 Mar 2018 22:05:12 +0000 Received: from eastrmimpo110.cox.net ([68.230.241.223]) by eastrmfepo201.cox.net (InterMail vM.8.01.05.28 201-2260-151-171-20160122) with ESMTP id <20180312220504.CFYY1466.eastrmfepo201.cox.net@eastrmimpo110.cox.net> for ; Mon, 12 Mar 2018 18:05:04 -0400 Received: from [192.168.1.10] ([70.171.109.83]) by eastrmimpo110.cox.net with cox id MA531x00o1o04Vy01A53KY; Mon, 12 Mar 2018 18:05:04 -0400 X-Authority-Analysis: v=2.2 cv=PtzjV0E3 c=1 sm=1 tr=0 a=uCHdjGDeLqaieW9t8IbZ6A==:117 a=uCHdjGDeLqaieW9t8IbZ6A==:17 a=IkcTkHD0fZMA:10 a=x7bEGLp0ZPQA:10 a=T11QR6bd6vIA:10 a=fGO4tVQLAAAA:8 a=epTmVMiNAAAA:8 a=PZPPpF_Q0tfyPjBEO5YA:9 a=QEXdDO2ut3YA:10 a=-D0ulBeTDkoA:10 a=-ZS1TN-CNdAA:10 a=ndEWmUVY6Yapc0oHF_P4:22 X-CM-Score: 0.00 Authentication-Results: cox.net; auth=pass (PLAIN) smtp.auth=ron.l.johnson@cox.net To: pgsql-general@lists.postgresql.org From: Ron Johnson Subject: Reindex doesn't eliminate bloat Message-ID: <8ba3c6c1-709b-d853-97f0-9ef458528b3d@cox.net> Date: Mon, 12 Mar 2018 17:05:03 -0500 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.6.0 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit Content-Language: en-US List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk v8.4.12 According to this (https://pastebin.com/TJB32n5M) query, which I thought I got from https://wiki.postgresql.org/wiki/Index_Maintenance, a list of indexes and their bloat is generated. After reindexing a table with a large amount of reported bloat (column bloat_pct says 29%), re-running the query shows no change in the amount of bloat.  This is a historical table, and VACUUM VERBOSE shows that there's nothing to free up. Is this something that I must live with, or am I misinterpreting the query? Thanks, -- Angular momentum makes the world go 'round.