Long running transactions again ...

From: Tobias Brox <tobias(at)nordicbet(dot)com>
To: pgsql-performance <pgsql-performance(at)postgresql(dot)org>
Subject: Long running transactions again ...
Date: 2007-04-10 22:50:37
Message-ID: 20070410225037.GC19909@oppetid.no
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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.

Responses

Browse pgsql-performance by date

  From Date Subject
Next Message Michael Dengler 2007-04-11 17:25:25 Re: Do I need to rebuild php-pgsql for 8.2.3
Previous Message Devrim GÜNDÜZ 2007-04-10 21:01:22 Re: Do I need to rebuild php-pgsql for 8.2.3