RE: New Window Function: ROW_NUMBER_DESC() OVER() ?

From: Maiquel Grassi <grassi(at)hotmail(dot)com(dot)br>
To: "David G(dot) Johnston" <david(dot)g(dot)johnston(at)gmail(dot)com>
Cc: "pgsql-hackers(at)postgresql(dot)org" <pgsql-hackers(at)postgresql(dot)org>
Subject: RE: New Window Function: ROW_NUMBER_DESC() OVER() ?
Date: 2024-01-16 17:08:24
Message-ID: CP8P284MB249618F6221859BBC4B9E77BEC732@CP8P284MB2496.BRAP284.PROD.OUTLOOK.COM
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Hi,

Count() over() - row_number() over()

But if my dataset is significantly large? Wouldn't calling two window functions instead of one be much slower?
Is count() over() - row_number() over() faster than row_number_desc() over()?

Maiquel.

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message David G. Johnston 2024-01-16 17:52:42 New Window Function: ROW_NUMBER_DESC() OVER() ?
Previous Message Robert Haas 2024-01-16 17:08:14 Re: index prefetching