Search Postgresql Archives

Re: partitioning

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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 you show 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


-
Sent via pgsql-general mailing list (pgsql-general@xxxxxxxxxxxxxx)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-general


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Postgresql Jobs]     [Postgresql Admin]     [Postgresql Performance]     [Linux Clusters]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Books]     [PHP Databases]     [Postgresql & PHP]     [Yosemite]
  Powered by Linux