Long running transactions again ...

От: Tobias Brox
Тема: Long running transactions again ...
Дата: ,
Msg-id: 20070410225037.GC19909@oppetid.no
(см: обсуждение, исходный текст)
Ответы: Re: Long running transactions again ...  ("Jim C. Nasby")
Список: pgsql-performance

We had problems again, caused by long running transactions.  I'm
monitoring the pg_stat_activity view, checking the query_start of all
requests that are not idle - but this one slipped under the radar as the
application was running frequent queries towards the database.

That's not what concerns me most.  We had two databases running under
postgres at this host - like, main production database (A) and a
separate smaller database for a separate project (B).  As far as I
understood postgres philosophy, the databases should be isolated from
each other, i.e. one are not allowed to create a query that goes across
the database borders (select * from A.customers join B.logins ...).  So,
I was surprised to see that the application working towards database B
managed to jam up database A, to the extent that we couldn't get A
vacuumed properly.

В списке pgsql-performance по дате сообщения:

От: Tobias Brox
Сообщение: Long running transactions again ...
От: "Michael Dengler"
Сообщение: Re: Do I need to rebuild php-pgsql for 8.2.3