Monitors PostgreSQL databases for long-running queries.