Re: select distinct runs slow on pg 10.6
От | Rick Otten |
---|---|
Тема | Re: select distinct runs slow on pg 10.6 |
Дата | |
Msg-id | CAMAYy4JgFVpSTwP9Jt0moVVq8qg8mmiWLGf+JE8VpFULNqfCzA@mail.gmail.com обсуждение исходный текст |
Ответ на | Re: select distinct runs slow on pg 10.6 (Dinesh Somani <dinesh@opsveda.com>) |
Ответы |
Re: select distinct runs slow on pg 10.6
|
Список | pgsql-performance |
On Wed, Sep 11, 2019 at 12:38 PM Dinesh Somani <dinesh@opsveda.com> wrote:
I think Merlin has outlined pretty much all the options and very neatly. (As an asides Merlin could you possibly elaborate on the "C Hack" how that might be accomplished.)To OP, I am curious if the performance changes were the query rewritten such that all timestamp columns were listed first in the selection. I understand it might not be feasible to make this change in your real application without breaking the contract.RegardsDinesh
It looks like AWS has a pgbouncer query re-writer service that might be a starting point:
I've never used it.
В списке pgsql-performance по дате отправления: