Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1TtBSx-0007nY-1w for pgsql-hackers@arkaria.postgresql.org; Thu, 10 Jan 2013 06:18:15 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.72) (envelope-from ) id 1TtBSv-0000ks-3T for pgsql-hackers@arkaria.postgresql.org; Thu, 10 Jan 2013 06:18:13 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1TtBSu-0000km-0g for pgsql-hackers@postgresql.org; Thu, 10 Jan 2013 06:18:12 +0000 Received: from szxga02-in.huawei.com ([119.145.14.65]) by magus.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1TtBSs-0002Fu-2j for pgsql-hackers@postgresql.org; Thu, 10 Jan 2013 06:18:11 +0000 Received: from 172.24.2.119 (EHLO szxeml207-edg.china.huawei.com) ([172.24.2.119]) by szxrg02-dlp.huawei.com (MOS 4.3.4-GA FastPath queued) with ESMTP id AVK52614; Thu, 10 Jan 2013 14:17:02 +0800 (CST) Received: from SZXEML423-HUB.china.huawei.com (10.82.67.162) by szxeml207-edg.china.huawei.com (172.24.2.56) with Microsoft SMTP Server (TLS) id 14.1.323.3; Thu, 10 Jan 2013 14:15:52 +0800 Received: from blrprnc09ns (10.18.96.98) by szxeml423-hub.china.huawei.com (10.82.67.162) with Microsoft SMTP Server id 14.1.323.3; Thu, 10 Jan 2013 14:15:49 +0800 From: Amit Kapila To: "'Josh Berkus'" , References: <20130109230731.GA30885@momjian.us> <50EE0D8C.3080602@agliodbs.com> In-Reply-To: <50EE0D8C.3080602@agliodbs.com> Subject: Re: 9.2.1 & index-only scans : abnormal heap fetches after VACUUM FULL Date: Thu, 10 Jan 2013 11:45:47 +0530 Message-ID: <006901cdeef9$eefd56a0$ccf803e0$@kapila@huawei.com> MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Mailer: Microsoft Office Outlook 12.0 Thread-Index: Ac3uyuXPfS0SMREcTbKzbN8XKCxpzAALRlKA Content-Language: en-us X-Originating-IP: [10.18.96.98] X-CFilter-Loop: Reflected X-Pg-Spam-Score: -0.9 (/) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-hackers Precedence: bulk Sender: pgsql-hackers-owner@postgresql.org On Thursday, January 10, 2013 6:09 AM Josh Berkus wrote: > On 01/09/2013 03:07 PM, Bruce Momjian wrote: > > How do we want to handle the case where VACUUM FULL clears the > > visibility map, causing loss of index-only scans? > > > > http://archives.postgresql.org/pgsql-performance/2012- > 11/msg00317.php > > > > Do we document this behavior or add a TODO item? > > >=20 > Both? >=20 > Surely VACUUM FULL should rebuild the visibility map, and make tuples > in > the new relation all-visible, no? I think it cannot made all visible. How about if any transaction in SSI mode is started before Vacuum Full, sho= uld it see all tuples. With Regards, Amit Kapila. --=20 Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-hackers