Search Postgresql Archives

Re: question on most efficient way to increment a column

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

 




On May 8, 2013, at 21:14, Tyson Maly <tvmaly@xxxxxxxxx> wrote:

The simple update is one I considered, but I think if I put it into a stored procedure it should run faster


Well, you would partially circumvent the query planner, but you would also circumvent any optimisation said query planner would be able to do based on the statistics for the values being updated.

Alban Hertroys
--
If you can't see the forest for the trees,
cut the trees and you'll find there is no forest.


[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