Re: Connection.setReadOnly()

Поиск
Список
Период
Сортировка
От John R Pierce
Тема Re: Connection.setReadOnly()
Дата
Msg-id 4B219025.5070607@hogranch.com
обсуждение исходный текст
Ответ на Re: Connection.setReadOnly()  (Kris Jurka <books@ejurka.com>)
Ответы Re: Connection.setReadOnly()  (Kris Jurka <books@ejurka.com>)
Re: Connection.setReadOnly()  (Oliver Jowett <oliver@opencloud.com>)
Re: Connection.setReadOnly()  (Oliver Jowett <oliver@opencloud.com>)
Список pgsql-jdbc
Kris Jurka wrote:
> Just because your connection is readonly doesn't mean that everyone
> elses is as well.  If you want a consistent view of the database you
> can get that with a serializable transaction.

my oracle developers are screaming bloody murder over this.

they have processes that do nothing but reads.   jdbc tosses a BEGIN;
out automatically.   these processes never Commit(); on a read, why
should they?  so....  we have a fairly large database thats fed a
constant stream of realtime data 24/7 from a factory doing both inserts
and updates...    many different sorts of things have to query this
database, including mechanical/electrical engineering types doing adhoc
queries for oddball reports and such who are not SQL experts.   its way
to easy for them to accidentally create a transaction that they never
end, causing multiday blockage of VACUUM, massive table bloat, etc.

per all my Oracle people this is totally unacceptable and they are ready
to cancel any further postgres projects.

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

Предыдущее
От: Kris Jurka
Дата:
Сообщение: Re: Connection.setReadOnly()
Следующее
От: Kris Jurka
Дата:
Сообщение: Re: Connection.setReadOnly()