Created
July 17, 2019 15:06
-
-
Save c-oreills/51de5dc146d0f0cb009be59846f54d9b to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| datid | datname | pid | usesysid | usename | application_name | client_addr | client_hostname | client_port | backend_start | xact_start | query_start | state_change | waiting | state | backend_xid | backend_xmin | query | runtime | |
| -------+----------------+-------+----------+----------------+------------------+----------------+-----------------+-------------+-------------------------------+-------------------------------+-------------------------------+-------------------------------+---------+---------------------+-------------+--------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+----------------- | |
| 16385 | d2il9j3ulr825h | 6870 | 16384 | ua8vhjtfra4got | | 54.170.17.230 | | 58776 | 2019-07-17 14:40:40.93875+00 | 2019-07-17 15:05:48.953035+00 | 2019-07-17 15:05:51.125673+00 | 2019-07-17 15:05:51.125853+00 | f | idle in transaction | | | SELECT "work_jobtask_v2"."id", "work_jobtask_v2"."created", "work_jobtask_v2"."modified", "work_jobtask_v2"."task_type", "work_jobtask_v2"."is_deleted", "work_jobtask_v2"."hours", "work_jobtask_v2"."job_id" FROM "work_jobtask_v2" WHERE ("work_jobtask_v2"."job_id" = 317884 AND "work_jobtask_v2"."is_deleted" = false) | 00:00:02.172952 | |
| 16385 | d2il9j3ulr825h | 8908 | 16384 | ua8vhjtfra4got | | 54.170.91.129 | | 50260 | 2019-07-17 13:18:54.971712+00 | 2019-07-17 15:05:51.124749+00 | 2019-07-17 15:05:51.124749+00 | 2019-07-17 15:05:51.124753+00 | f | active | | 605449091 | SELECT "work_visitrecord"."job_id", "work_visitrecord"."scheduled_date" FROM "work_visitrecord" INNER JOIN "work_job" ON ("work_visitrecord"."job_id" = "work_job"."id") INNER JOIN "work_assignment" ON ("work_job"."id" = "work_assignment"."job_id") WHERE ("work_assignment"."worker_id" = 7251 AND ("work_visitrecord"."scheduled_date" BETWEEN '2019-07-26'::date AND '2019-07-26'::date OR "work_visitrecord"."actual_date" BETWEEN '2019-07-26'::date AND '2019-07-26'::date) AND NOT ("work_visitrecord"."id" IN (SELECT U1."visit_record_id" AS Col1 FROM "work_visitworker" U1 WHERE U1."worker_id" = 7251))) | 00:00:00.001238 | |
| 16385 | d2il9j3ulr825h | 15954 | 16384 | ua8vhjtfra4got | psql | 54.155.237.245 | | 36660 | 2019-07-17 15:05:49.488793+00 | 2019-07-17 15:05:51.125987+00 | 2019-07-17 15:05:51.125987+00 | 2019-07-17 15:05:51.125989+00 | f | active | | 605449091 | SELECT *, now() - xact_start as runtime FROM pg_stat_activity where state != 'idle' ORDER BY xact_start; | 00:00:00 | |
| (3 rows) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment