From: | dafNi zaf <dzaf88(at)gmail(dot)com> |
---|---|
To: | David Johnston <polobo(at)yahoo(dot)com>, pgsql-general General <pgsql-general(at)postgresql(dot)org> |
Subject: | Re: DB transactions when browser freezes |
Date: | 2013-08-08 15:12:31 |
Message-ID: | CAAega+6g7Da90748NQKm3md5pfC8PVjt5i157f158+GpoofT6A@mail.gmail.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-general |
i execute it periodically and sometimes there is a transaction and other
times it's idle:
INSERT INTO traces VALUES (.....)
or
<IDLE> in transaction
So it's still running.. even thought there is some idle time.
Thank you very much!
On Thu, Aug 8, 2013 at 5:46 PM, David Johnston <polobo(at)yahoo(dot)com> wrote:
> dafNi wrote
> > Should I assume that the transactions keep running?
>
> Never assume...or at least try and verify those assumptions when possible.
>
> To verify this assumption:
>
> Connect to the DB directly as a super-user and run this (or something
> similar):
>
> SELECT procpid, current_query, client_addr, xact_start, query_start
> FROM pg_stat_activity
> ORDER BY xact_start ASC, client_addr;
>
> to what activity is currently in-progress.
>
> David J.
>
>
>
>
> --
> View this message in context:
> http://postgresql.1045698.n5.nabble.com/DB-transactions-when-browser-freezes-tp5766824p5766829.html
> Sent from the PostgreSQL - general mailing list archive at Nabble.com.
>
>
> --
> Sent via pgsql-general mailing list (pgsql-general(at)postgresql(dot)org)
> To make changes to your subscription:
> http://www.postgresql.org/mailpref/pgsql-general
>
From | Date | Subject | |
---|---|---|---|
Next Message | dafNi zaf | 2013-08-08 15:19:03 | Re: DB transactions when browser freezes |
Previous Message | Ian Lawrence Barwick | 2013-08-08 14:57:36 | Re: DB transactions when browser freezes |