Using Index to do sorting while using windowing function - Mailing list pgadmin-hackers

From Sameer Kumar
Subject Using Index to do sorting while using windowing function
Date
Msg-id CADp-Sm5F_iCJi_fa5nk==Njre4WXi=Ncs9-gO9redf+yce6Ofw@mail.gmail.com
Whole thread Raw
Responses Re: Using Index to do sorting while using windowing function  (Sameer Kumar <sameer.kumar@ashnik.com>)
List pgadmin-hackers
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

email patch

This email may contain confidential, privileged or copyright material and is solely for the use of the intended recipient(s).

Attachment

pgadmin-hackers by date:

Previous
From: Ashesh Vashi
Date:
Subject: PATCH: Improvement in the debugger support for EnterpriseDB <= 9.2
Next
From: Sameer Kumar
Date:
Subject: Re: Using Index to do sorting while using windowing function