Re: *Regarding brin_index on required column of the table - Mailing list pgsql-general

From Ravi Krishna
Subject Re: *Regarding brin_index on required column of the table
Date
Msg-id trinity-e205320a-5b71-4d9b-88d7-950334eeddb7-1537548448236@3c-app-mailcom-lxa12
Whole thread Raw
In response to Re: *Regarding brin_index on required column of the table  (Andreas Kretschmer <andreas@a-kretschmer.de>)
List pgsql-general

> i can see a lot of max(string-field) (for instance, LastName, 
> MiddleName, FirstName).
> wild guess: completely broken design, but i don't know your application 
> and use-case for that.
> again, as i said already, i think this is a case for an in-deep 
> consultation.

My thoughts exactly. There is a UNION also.
A mere look at the SQL indicates that it will be a miracle if this runs fast. Tuning such queries
in a mailing list is difficult, the best we can do is to give suggestion.


pgsql-general by date:

Previous
From: Andreas Kretschmer
Date:
Subject: Re: *Regarding brin_index on required column of the table
Next
From: "Ravi Krishna"
Date:
Subject: New behavior with JDBC 42.2.5