Search Postgresql Archives

Re: Selecting max(pk) is slow on empty set

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

 



>> But you're right. With the combined index I can set the granularity> back to 1000, and empty queries as well as non-empty queries perform> well. The row estimate is still way off, though.¨
Bigger value --> slow analyze. Real maximum is about 200-300. So be carefully.
Regards
Pavel
---------------------------(end of broadcast)---------------------------TIP 2: Don't 'kill -9' the postmaster

[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