Changes between Initial Version and Version 1 of Ticket #32006, comment 5


Ignore:
Timestamp:
Sep 14, 2020, 8:12:43 PM (4 years ago)
Author:
Simon Charette

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #32006, comment 5

    initial v1  
    33Thanks for the following report. The reason why I was asking what kind of ''table'' `rk7data_printcheck` was is that the ''group by selected table primary key'' optimization is known to break for views, foreign tables, and any other table-like objects that PostgreSQL cannot introspect enough to determine this optimization is safe.
    44
    5 The optimization does make a huge difference when aggregating over tables containing columns costly to join so we decided to keep it around even with the aforementioned caveats. We did add a per-model hook to disable though if that can be of any help to you #28107.
     5The optimization does make a huge difference when aggregating over tables containing columns costly to group so we decided to keep it around even with the aforementioned caveats. We did add a per-model hook to disable though if that can be of any help to you #28107.
Back to Top