Re: question on most efficient way to increment a column

Поиск
Список
Период
Сортировка
От Alban Hertroys
Тема Re: question on most efficient way to increment a column
Дата
Msg-id 7FAB13E7-78F2-47E2-B803-865A7D2BF7CD@gmail.com
обсуждение исходный текст
Ответ на Re: question on most efficient way to increment a column  (Tyson Maly <tvmaly@yahoo.com>)
Список pgsql-general

On May 8, 2013, at 21:14, Tyson Maly <tvmaly@yahoo.com> 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.

В списке pgsql-general по дате отправления:

Предыдущее
От: Jon Smark
Дата:
Сообщение: Normal errors codes in serializable transactions
Следующее
От: Tatsuo Ishii
Дата:
Сообщение: Re: Normal errors codes in serializable transactions