pg.ddx.io  pgsql-general@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Justin Pryzby <pryzby@telsasoft.com>
To: pgsql-general@postgresql.org
Subject: pg_stat_activity.query_start in the future?
Date: Fri, 17 Aug 2018 11:11:03 -0500
Message-ID: <20180817161103.GA22271@telsasoft.com> (raw)

I'm buried and not having any good ideas how to diagnose this or what else to
send, so here it is.  Feel free to tell me why I'm the one whose confused..

postgres=# SELECT pid, now(), query_start, state, query FROM pg_stat_activity WHERE pid=27757;
  pid  |              now              |          query_start          | state  |                            query                            
-------+-------------------------------+-------------------------------+--------+-------------------------------------------------------------
 27757 | 2018-08-17 11:10:16.568429-04 | 2018-08-17 10:17:52.814282-04 | active | autovacuum: VACUUM ANALYZE public.eric_enodeb_cell_20180815
(1 row)

postgres=# \! ps -O lstart 27757
  PID                  STARTED S TTY          TIME COMMAND
27757 Fri Aug 17 08:53:20 2018 S ?        00:11:56 postgres: autovacuum worker process   xxxxxton        
postgres=# \! date
Fri Aug 17 11:10:58 EDT 2018

Justin




view thread (2+ messages)  latest in thread

Message-ID: <20180817161103.GA22271@telsasoft.com>
Permalink:  ../20180817161103.GA22271@telsasoft.com/
Also on:    postgresql.org/message-id/20180817161103.GA22271@telsasoft.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-general@postgresql.org
  Cc: pryzby@telsasoft.com
  Subject: Re: pg_stat_activity.query_start in the future?
  In-Reply-To: <20180817161103.GA22271@telsasoft.com>
  References: <20180817161103.GA22271@telsasoft.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox