Re: transaction toggling

Поиск
Список
Период
Сортировка
От Martijn van Oosterhout
Тема Re: transaction toggling
Дата
Msg-id 20051005084456.GB12206@svana.org
обсуждение исходный текст
Ответ на transaction toggling  (Matthew Peter <survivedsushi@yahoo.com>)
Список pgsql-general
On Wed, Oct 05, 2005 at 12:49:33AM -0700, Matthew Peter wrote:
> Does it even make a dent in the performance if a query
> is wrapped in a transaction instead of out? Such as a
> view counter, like...
>
> update views = views + 1 where x = 1;?

All statements are within a transaction. The question is if it's one
started by you or one created just for that statement. So, no
difference.

Regular vacuum, that's the solution.
--
Martijn van Oosterhout   <kleptog@svana.org>   http://svana.org/kleptog/
> Patent. n. Genius is 5% inspiration and 95% perspiration. A patent is a
> tool for doing 5% of the work and then sitting around waiting for someone
> else to do the other 95% so you can sue them.

Вложения

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

Предыдущее
От: Richard Huxton
Дата:
Сообщение: Re: Untyped result (setof / rowset) from Functions ?
Следующее
От: Richard Huxton
Дата:
Сообщение: Re: transaction toggling