Search Postgresql Archives

Re: optimalisation with EXCEPT clause

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

 



if you have a primary key on the table, and you should, you might get better performance using LEFT JOIN.
EXCEPT will compare all columns, which might not be that fast, especially if those are text. (hence why I always tell others to use int as key in a table, but that's a different story). 


--
GJ

[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 Books]     [PHP Databases]     [Postgresql & PHP]     [Yosemite]
  Powered by Linux