Re: Way to tell what SQL is currently running? - Mailing list pgsql-novice

From Patrick Hatcher
Subject Re: Way to tell what SQL is currently running?
Date
Msg-id OFFECC3C0A.2967A138-ON88256D8D.005F803E-88256D8D.00617403@fds.com
Whole thread Raw
In response to Re: Way to tell what SQL is currently running?  (Tomka Gergely <tomka@zeus.gau.hu>)
Responses Re: Way to tell what SQL is currently running?
Re: Way to tell what SQL is currently running?
List pgsql-novice
Pg_stat_activity only shows the User, PID, etc, but the Query string field
just shows empty text



Patrick Hatcher
Macys.Com
Legacy Integration Developer
415-422-1610 office
HatcherPT - AIM



                        
                    Tomka Gergely
                        
                    <tomka@zeus.gau.hu>           To:     Patrick Hatcher <PHatcher@macys.com>
                        
                    Sent by:                      cc:     <pgsql-novice@postgresql.org>
                        
                    pgsql-novice-owner@post       Subject:     Re: [NOVICE] Way to tell what SQL is currently running?
                        
                    gresql.org
                        

                        

                        
                    08/25/2003 10:13 AM
                        

                        




2003-08-25 ragyogó napján Patrick Hatcher ezt üzente:

> I'm finding that some update process is holding all other transactions on
a
> particular table.  Is there a way to tell what the Update statement is
that
> is running?  I tried to use TOP, but it does not provide enough of the
SQL
> string to help.
> TIA

Hmm, i have a pg_stat_activity table, this is enough?

--
Tomka Gergely
"S most - vajon barbárok nélkül mi lesz velünk?
Ők mégiscsak megoldás voltak valahogy..."


---------------------------(end of broadcast)---------------------------
TIP 5: Have you checked our extensive FAQ?

               http://www.postgresql.org/docs/faqs/FAQ.html




pgsql-novice by date:

Previous
From: Ron Johnson
Date:
Subject: Re: Number of rows in a table
Next
From: Stephan Szabo
Date:
Subject: Re: Way to tell what SQL is currently running?