Re: Window functions speed - Mailing list pgsql-general

From Michael Lewis
Subject Re: Window functions speed
Date
Msg-id CAHOFxGr4Gkd2FpFuLX7BC7cjxp_-wCA9wwcBnQx8EccyKDmLzA@mail.gmail.com
Whole thread Raw
In response to Window functions speed  (Zahir Lalani <ZahirLalani@oliver.agency>)
Responses RE: Window functions speed  (Zahir Lalani <ZahirLalani@oliver.agency>)
List pgsql-general
Where's the query? Are you able to run explain analyze so we can see estimates vs actual counts? What version are you using?

Can you share explain analyze before and after the window function? 

I mean, that limit at the top makes me think it is doing a lot less work without the window function, vs examining all candidate rows if we need to count them all. What are you using that count for anyway? Pagination?

pgsql-general by date:

Previous
From: Joe Conway
Date:
Subject: Re: Interpolation problem - pg 12.4 - full correct version!
Next
From: Pól Ua Laoínecháin
Date:
Subject: Re: Interpolation problem - pg 12.4 - full correct version!