Re: Using Index to do sorting while using windowing function

From: Sameer Kumar <sameer(dot)kumar(at)ashnik(dot)com>
To: pgadmin-hackers <pgadmin-hackers(at)postgresql(dot)org>
Subject: Re: Using Index to do sorting while using windowing function
Date: 2013-10-23 14:42:04
Message-ID: CADp-Sm5GWZ9qu5wU_piQgHQSfi-k3Ny1bLBLYrC9+hE2GDqmRg@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgadmin-hackers

Hi,

By mistake posted this in a wrong user group.

Best Regards,
*Sameer Kumar*

On Wed, Oct 23, 2013 at 10:40 PM, Sameer Kumar <sameer(dot)kumar(at)ashnik(dot)com>wrote:

> Hi,
>
> I was dealing with windowing function recently. I feel they are pretty
> useful and quite handy in lot of operations.
>
> I am not sure why but my PostgreSQL does not seem to be using indexes for
> ORDER BY clause or PARTITION BY CLAUSE which I use with windowing function.
> I have tried ORDER BY and GROUP BY clauses in a normal sql statement and
> they seem to use indexes nicely.
>
> Is this being already considered for development?
>
>
> Best Regards,
> *Sameer Kumar | Database Consultant*
> *ASHNIK PTE. LTD.
> *101 Cecil Street, #11-11 Tong Eng Building, Singapore 069533
> M : *+65 8110 0350* T: +65 6438 3504 | www.ashnik.com
> www.facebook.com/ashnikbiz | www.twitter.com/ashnikbiz
>
> [image: email patch]
>
> This email may contain confidential, privileged or copyright material and
> is solely for the use of the intended recipient(s).
>

In response to

Browse pgadmin-hackers by date

  From Date Subject
Next Message Dave Page 2013-10-23 15:23:49 Re: PATCH: Improvement in the debugger support for EnterpriseDB <= 9.2
Previous Message Sameer Kumar 2013-10-23 14:40:11 Using Index to do sorting while using windowing function