From: | Jeff Janes <jeff(dot)janes(at)gmail(dot)com> |
---|---|
To: | Amit Kapila <amit(dot)kapila16(at)gmail(dot)com> |
Cc: | Bruce Momjian <bruce(at)momjian(dot)us>, Robert Haas <robertmhaas(at)gmail(dot)com>, Peter Geoghegan <peter(at)2ndquadrant(dot)com>, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, Andrew Dunstan <andrew(at)dunslane(dot)net>, PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org> |
Subject: | Re: [PERFORM] encouraging index-only scans |
Date: | 2013-09-09 16:03:19 |
Message-ID: | CAMkU=1wvrkYEUcn=oFUEXVEdifeQhai1Ra5dELg2vB3-m6DU9A@mail.gmail.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers pgsql-performance |
On Sun, Sep 8, 2013 at 8:49 PM, Amit Kapila <amit(dot)kapila16(at)gmail(dot)com> wrote:
> On Mon, Sep 9, 2013 at 2:35 AM, Jeff Janes <jeff(dot)janes(at)gmail(dot)com> wrote:
>> I thought it was well known, but maybe I was overly optimistic. I've
>> considered IOS to be mostly useful for data mining work on read-mostly
>> tables, which you would probably vacuum manually after a bulk load.
>>
>> For transactional tables, I think that trying to keep the vm set-bit
>> density high enough would be a losing battle. If we redefined the
>> nature of the vm so that doing a HOT update would not clear the
>> visibility bit, perhaps that would change the outcome of this battle.
>
> Wouldn't it make the Vacuum bit in-efficient in the sense that it will
> skip some of the pages in which there are only
> HOT updates for cleaning dead rows.
Maybe. But anyone is competent to clean up dead rows from HOT
updates, it is not exclusively vacuum that can do it, like it is for
non-HOT tuples. So I think any inefficiency would be very small.
Cheers,
Jeff
From | Date | Subject | |
---|---|---|---|
Next Message | Alvaro Herrera | 2013-09-09 16:04:41 | Re: Strange hanging bug in a simple milter |
Previous Message | Stephen Frost | 2013-09-09 15:20:01 | Re: Strange hanging bug in a simple milter |
From | Date | Subject | |
---|---|---|---|
Next Message | Bruce Momjian | 2013-09-09 17:55:51 | Re: [PERFORM] encouraging index-only scans |
Previous Message | Amit Kapila | 2013-09-09 03:49:03 | Re: [PERFORM] encouraging index-only scans |