Re: Is postgres able to share sorts required by common partition window functions?

From: "David G(dot) Johnston" <david(dot)g(dot)johnston(at)gmail(dot)com>
To: Michael Lewis <mlewis(at)entrata(dot)com>
Cc: Sebastien Arod <sebastien(dot)arod(at)gmail(dot)com>, pgsql-general <pgsql-general(at)postgresql(dot)org>
Subject: Re: Is postgres able to share sorts required by common partition window functions?
Date: 2020-07-06 22:40:52
Message-ID: CAKFQuwbcpBiyChuXvzbTwRwX2jPqGj0ga3eoPexrvVtoUAMrsQ@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On Monday, July 6, 2020, Michael Lewis <mlewis(at)entrata(dot)com> wrote:

> Did you say you have an index on c1?
> [...]
> I don't know the data, but I assume there may be many rows with the same
> c1 value, so then you would likely benefit from getting that distinct set
> first like below as your FROM table.
>

Re-reading the original email I see both the answer to your question and
the data being queried.

David J.

In response to

Browse pgsql-general by date

  From Date Subject
Next Message David G. Johnston 2020-07-06 22:48:34 Re: Is postgres able to share sorts required by common partition window functions?
Previous Message Michael Lewis 2020-07-06 22:19:20 Re: Is postgres able to share sorts required by common partition window functions?