Re: read only transactions

Поиск
Список
Период
Сортировка
Искать
От
Kevin Grittner
Тема
Re: read only transactions
Дата
Msg-id
4CB4697502000025000368A4@gw.wicourts.gov
Ответ на
Список
Дерево обсуждения
read only transactions Jon Nelson <jnelson+pgsql@jamponi.net>
Re: read only transactions "Kevin Grittner" <Kevin.Grittner@wicourts.gov>
Re: read only transactions Tom Lane <tgl@sss.pgh.pa.us>
Jon Nelson  wrote:
 
> Are there any performance implications (benefits) to executing
> queries in a transaction where
> SET TRANSACTION READ ONLY;
> has been executed?
 
I don't think it allows much optimization in any current release.
 
It wouldn't be a bad idea to use it where appropriate, though, as
future releases might do something with it.  If you include this on
the BEGIN statement, that will save a round trip.
 
-Kevin
В списке pgsql-performance по дате отправления
От: Tom Lane
Дата:
Сообщение: Re: Slow count(*) again...
От: Tom Lane
Дата:
Сообщение: Re: read only transactions
FAQ