Postgresql – Postgres Query fast when field TRUE and slow when FALSE
I have a tickets table (Postgres on Heroku) that has about 7 million records. I have a single table query that is run often with the exported field either true or false. When it is true, it runs very fast…