On 6/3/26 09:24, Mauro Gatti wrote:
In any case, I don’t think there are other workable solutions without changing the code.
The gist of the issue is hidden [anti]correlations between columns.
I like the idea of grouping columns into a custom type when an object in the data model is defined by several properties. This approach could help reduce the number of clauses, hide correlations within an object, and enable the use of histogram statistics.

I'm not sure if this idea is ready to use yet, or if Postgres has everything needed to make it work well - just note.

--
regards, Andrei Lepikhov,
pgEdge


Reply via email to