Re: partitioning

Поиск
Список
Период
Сортировка
От John R Pierce
Тема Re: partitioning
Дата
Msg-id 5025B4EF.4080303@hogranch.com
обсуждение исходный текст
Ответ на partitioning  (John R Pierce <pierce@hogranch.com>)
Список pgsql-general
On 08/10/12 6:00 PM, Jeff Potter wrote:
> Is it possible that you have any "idle in transaction" connections holding those tables open? See what you get when
youshow locks. 

its very possible.   the developer thought he'd fixed all those and was
surprised they were recurring.    they are coming from JDBC by default
starting a transaction on a simple SELECT.  we don't 'commit' after
selects as this code was written for Oracle, where plain selects dont
have side effects like this.   this is only a problem in Postgres.   the
intent is to use connections with 'autocommit on' for pure read
threads.... however, this is a very large and complex code base, and
site specific code is added by field engineering, so sometimes stuff
slips in.


--
john r pierce                            N 37, W 122
santa cruz ca                         mid-left coast



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

Предыдущее
От: John R Pierce
Дата:
Сообщение: partitioning
Следующее
От: Benjamin Adams
Дата:
Сообщение: External Storage of data dir