PostgreSQL solutions
Connect PostgreSQL through the SQL Cockpit Agent to search everything in your schemas and check how each database is doing, using fixed read-only queries against the system catalogues.
Problems we can help you work through
- PostgreSQL blocking - Find the session holding the lock your workload is waiting for.
- PostgreSQL deadlocks - Trace transactions that lock the same rows in a different order.
- PostgreSQL database growth - Work out whether growth is real data, bloat or temporary files.
- PostgreSQL object discovery - Find tables, functions and materialized views across schemas.
What works with PostgreSQL
- Object search: Search objects and their definitions across the schemas your account can use.
- Sessions and blocking: See connected, active and lock-waiting sessions, as far as your account can see them.
- Activity counters: Transactions, disk reads, buffer hits, deadlocks and temporary bytes, plus the cumulative buffer hit ratio.
- Database size: The size of the database you connected to, as PostgreSQL reports it.
What to keep in mind
- No query text, query plans or query tracing.
- No metric history, thresholds or alerts. You see the current sample and rates between recent samples.
- No host CPU, memory or disk figures. SQL Cockpit shows them as unavailable rather than guessing.
- Migration, schema changes and AI-generated queries aren’t available for PostgreSQL.
- Dependency graphs are incomplete.
Objects you can search
- Tables
- Partitioned tables
- Views
- Materialized views
- Sequences
- Indexes
- Columns
- Functions
- Procedures
- Triggers
- Primary and foreign keys
The account you’ll need
Start with CONNECT on the databases you choose and USAGE on the schemas you choose. Schemas without USAGE are left out. Membership of pg_read_all_stats widens what the session figures can see, so review that with your administrator first.
Versions
PostgreSQL 16 on a live server (October 2026). Catalogue queries need PostgreSQL 11 or later. Other versions and configurations haven’t been verified.