Search Postgresql Archives

Re: index only scan taking longer to run

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Without knowledge of the structure of your data, or even real table/field names to be able to read the query with some sense of what the tables might be like, offering advice is rather difficult. I didn't notice any nodes with huge estimation problems at least.

I will suggest that DISTINCT is often a bad code smell for me with expecting the system to sort data and remove duplicates, when I should have controlled my set through proper joins.

Also, when I see a join condition on the result of a subquery, I question the data structure. re:
bravo_lima = ( SELECT max(bravo_lima) FROM five_lima foxtrot_four ...)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Postgresql Jobs]     [Postgresql Admin]     [Postgresql Performance]     [Linux Clusters]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Databases]     [Postgresql & PHP]     [Yosemite]

  Powered by Linux