Re: enable_indexonly

Lists: pgsql-hackers
From: Simon Riggs <simon(at)2ndQuadrant(dot)com>
To: PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org>
Subject: enable_indexonly
Date: 2012-04-27 15:08:00
Message-ID: CA+U5nMJtNO6f1xB6eXbxWpKmJSy-7CZjcssh-1eOE+wEJ-w54A@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-hackers

I notice that there isn't a parameter called enable_indexonly (or similar).

ISTM that such a major new feature should be controlled by a planner
method parameter, just as all the existing planner methods are.

This will help us evaluate index only scans in production, and turn
them off if they have negative impacts.

--
 Simon Riggs                   http://www.2ndQuadrant.com/
 PostgreSQL Development, 24x7 Support, Training & Services


From: Thom Brown <thom(at)linux(dot)com>
To: Simon Riggs <simon(at)2ndquadrant(dot)com>
Cc: PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: enable_indexonly
Date: 2012-04-27 15:41:01
Message-ID: CAA-aLv4rZdG2BXRnH6Oe+M8jbhxe72iYgVs-GJWm5muLMZpiMw@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-hackers

On 27 April 2012 16:08, Simon Riggs <simon(at)2ndquadrant(dot)com> wrote:
> I notice that there isn't a parameter called enable_indexonly (or similar).
>
> ISTM that such a major new feature should be controlled by a planner
> method parameter, just as all the existing planner methods are.
>
> This will help us evaluate index only scans in production, and turn
> them off if they have negative impacts.

It already exists and is called "enable_indexonlyscan".

--
Thom


From: Simon Riggs <simon(at)2ndQuadrant(dot)com>
To: Thom Brown <thom(at)linux(dot)com>
Cc: PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: enable_indexonly
Date: 2012-04-27 15:45:00
Message-ID: CA+U5nM+qvJj+VKpZv2xWRKA=uoKaRVoSySgkungw67rE50NdpA@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-hackers

On Fri, Apr 27, 2012 at 4:41 PM, Thom Brown <thom(at)linux(dot)com> wrote:
> On 27 April 2012 16:08, Simon Riggs <simon(at)2ndquadrant(dot)com> wrote:
>> I notice that there isn't a parameter called enable_indexonly (or similar).
>>
>> ISTM that such a major new feature should be controlled by a planner
>> method parameter, just as all the existing planner methods are.
>>
>> This will help us evaluate index only scans in production, and turn
>> them off if they have negative impacts.
>
> It already exists and is called "enable_indexonlyscan".

Hmm. Forgive me, I pressed the wrong button and looked at current docs
rather than dev docs.

(Easier when they used to look different...)

--
 Simon Riggs                   http://www.2ndQuadrant.com/
 PostgreSQL Development, 24x7 Support, Training & Services


From: Andrew Dunstan <andrew(at)dunslane(dot)net>
To: Simon Riggs <simon(at)2ndQuadrant(dot)com>
Cc: Thom Brown <thom(at)linux(dot)com>, PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: enable_indexonly
Date: 2012-04-27 15:56:59
Message-ID: 4F9AC1CB.3000307@dunslane.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-hackers

On 04/27/2012 11:45 AM, Simon Riggs wrote:
> On Fri, Apr 27, 2012 at 4:41 PM, Thom Brown<thom(at)linux(dot)com> wrote:
>> On 27 April 2012 16:08, Simon Riggs<simon(at)2ndquadrant(dot)com> wrote:
>>> I notice that there isn't a parameter called enable_indexonly (or similar).
>>>
>>> ISTM that such a major new feature should be controlled by a planner
>>> method parameter, just as all the existing planner methods are.
>>>
>>> This will help us evaluate index only scans in production, and turn
>>> them off if they have negative impacts.
>> It already exists and is called "enable_indexonlyscan".
> Hmm. Forgive me, I pressed the wrong button and looked at current docs
> rather than dev docs.
>
> (Easier when they used to look different...)

Maybe we should have the stylesheet watermark the dev docs pages.

cheers

andrew


From: Simon Riggs <simon(at)2ndQuadrant(dot)com>
To: Andrew Dunstan <andrew(at)dunslane(dot)net>
Cc: Thom Brown <thom(at)linux(dot)com>, PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: enable_indexonly
Date: 2012-04-27 16:42:53
Message-ID: CA+U5nM+Td-B0rx9H=GHv6dS7VRgpaUJWcSP-NFPEif+F+b0oMg@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-hackers

On Fri, Apr 27, 2012 at 4:56 PM, Andrew Dunstan <andrew(at)dunslane(dot)net> wrote:

>> (Easier when they used to look different...)
>
>
> Maybe we should have the stylesheet watermark the dev docs pages.

+1

Many users have >1 version in production. This would help

--
 Simon Riggs                   http://www.2ndQuadrant.com/
 PostgreSQL Development, 24x7 Support, Training & Services


From: Magnus Hagander <magnus(at)hagander(dot)net>
To: Andrew Dunstan <andrew(at)dunslane(dot)net>
Cc: Simon Riggs <simon(at)2ndquadrant(dot)com>, Thom Brown <thom(at)linux(dot)com>, PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: enable_indexonly
Date: 2012-04-27 16:44:47
Message-ID: CABUevExPj50fKpH+DnOr-EY4HTAiGF2ip7yu=okUgaDbqnuiLQ@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-hackers

On Fri, Apr 27, 2012 at 17:56, Andrew Dunstan <andrew(at)dunslane(dot)net> wrote:
>
>
> On 04/27/2012 11:45 AM, Simon Riggs wrote:
>>
>> On Fri, Apr 27, 2012 at 4:41 PM, Thom Brown<thom(at)linux(dot)com>  wrote:
>>>
>>> On 27 April 2012 16:08, Simon Riggs<simon(at)2ndquadrant(dot)com>  wrote:
>>>>
>>>> I notice that there isn't a parameter called enable_indexonly (or
>>>> similar).
>>>>
>>>> ISTM that such a major new feature should be controlled by a planner
>>>> method parameter, just as all the existing planner methods are.
>>>>
>>>> This will help us evaluate index only scans in production, and turn
>>>> them off if they have negative impacts.
>>>
>>> It already exists and is called "enable_indexonlyscan".
>>
>> Hmm. Forgive me, I pressed the wrong button and looked at current docs
>> rather than dev docs.
>>
>> (Easier when they used to look different...)
>
>
> Maybe we should have the stylesheet watermark the dev docs pages.

Are you offering to write the patch? ;)

(if someone can provide a CSS that will look good and work cross
browser, I can do the website code side of things that enables it for
the devel docs)

--
 Magnus Hagander
 Me: http://www.hagander.net/
 Work: http://www.redpill-linpro.com/


From: Andrew Dunstan <andrew(at)dunslane(dot)net>
To: Magnus Hagander <magnus(at)hagander(dot)net>
Cc: Simon Riggs <simon(at)2ndquadrant(dot)com>, Thom Brown <thom(at)linux(dot)com>, PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: enable_indexonly
Date: 2012-04-28 15:41:31
Message-ID: 4F9C0FAB.4010707@dunslane.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-hackers

On 04/27/2012 12:44 PM, Magnus Hagander wrote:
>>>
>>> Hmm. Forgive me, I pressed the wrong button and looked at current docs
>>> rather than dev docs.
>>>
>>> (Easier when they used to look different...)
>>
>> Maybe we should have the stylesheet watermark the dev docs pages.
> Are you offering to write the patch? ;)

I am about the worst person in the world to ask to do this. But there
are plenty of web jockeys in the community who would be better at it
than would I.

cheers

andrew


From: Magnus Hagander <magnus(at)hagander(dot)net>
To: Andrew Dunstan <andrew(at)dunslane(dot)net>
Cc: Simon Riggs <simon(at)2ndquadrant(dot)com>, Thom Brown <thom(at)linux(dot)com>, PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: enable_indexonly
Date: 2012-04-30 10:28:21
Message-ID: CABUevEwpYeybRkE9Y8PtW3FaX=eWQi_b+Y19s3Y5woucQfpv9w@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-hackers

On Sat, Apr 28, 2012 at 17:41, Andrew Dunstan <andrew(at)dunslane(dot)net> wrote:
>
> On 04/27/2012 12:44 PM, Magnus Hagander wrote:
>>>>
>>>>
>>>> Hmm. Forgive me, I pressed the wrong button and looked at current docs
>>>> rather than dev docs.
>>>>
>>>> (Easier when they used to look different...)
>>>
>>>
>>> Maybe we should have the stylesheet watermark the dev docs pages.
>>
>> Are you offering to write the patch? ;)
>
>
>
> I am about the worst person in the world to ask to do this. But there are
> plenty of web jockeys in the community who would be better at it than would
> I.

:-) Well, same here. But if one of said web jockeys can come up with a
good stylesheet, I'll be happy to integrate it.

--
 Magnus Hagander
 Me: http://www.hagander.net/
 Work: http://www.redpill-linpro.com/