Is PostgreSQL 9.3 using indexes for pipelined top-N window function queries? - Mailing list pgsql-general

From Behrang Saeedzadeh
Subject Is PostgreSQL 9.3 using indexes for pipelined top-N window function queries?
Date
Msg-id CAERAJ+8qzwQad4S2d4fuqE7U=6TkkdKBEWR1gFRpWyNxDUGR=w@mail.gmail.com
Whole thread Raw
Responses Re: Is PostgreSQL 9.3 using indexes for pipelined top-N window function queries?  (Thomas Kellerer <spam_eater@gmx.net>)
Re: Is PostgreSQL 9.3 using indexes for pipelined top-N window function queries?  (Merlin Moncure <mmoncure@gmail.com>)
List pgsql-general
Hi,

I just stumbled upon this article from 2012 [1], according to which (emphasis mine):

Window functions offer yet another way to implement pagination in SQL. This is a flexible, and above all, standards-compliant method. However, only SQL Server and the Oracle database can use them for a pipelined top-N query. PostgreSQL does not use indexes for those queries and therefore executes them very inefficiently. MySQL does not support window functions at all.

Is this still the case? Or is PostgreSQL 9.3 capable to execute suchlike queries efficiently?


Best regards,
Behrang Saeedzadeh

pgsql-general by date:

Previous
From: lup
Date:
Subject: Re: Is it reasonable to store double[] arrays of 30K elements
Next
From: bhargavi
Date:
Subject: Re: Postgres 9.3 Installation Problems Windows 7 64 Bit Pro