Search Postgresql Archives

pg_stat_activity.query empty

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



When executing "SELECT * FROM pg_stat_activity" I get lots of rows that have an empty "query" column.

According to [1] this column should contain the "Text of this backend's most recent query", either a query that is currently running or the last query that was executed.

So how comes that a lot of the rows in pg_stat_activity have an empty "query"?


https://www.postgresql.org/docs/current/monitoring-stats.html#MONITORING-PG-STAT-ACTIVITY-VIEW








[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Postgresql Jobs]     [Postgresql Admin]     [Postgresql Performance]     [Linux Clusters]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Databases]     [Postgresql & PHP]     [Yosemite]

  Powered by Linux