About pgAdmin
pgAdmin 4 is the long-standing management tool for PostgreSQL, a Python web application under the PostgreSQL License. Its tree covers databases, schemas, tables, functions and roles, and its Query Tool runs SQL with a graphical explain plan.
In server mode on a CloudSat VPS it gives a team one address for all their databases, with a personal login and saved connections each. Keep it in the region of your database servers so dumps take the short route.
It serves HTTP on port 80, and the installer stores the first administrator's email and password in /root/app-credentials.txt.
What you get with pgAdmin
- Object browser for schemas, tables and roles
- Query Tool with a visual EXPLAIN
- ERD tool that generates SQL from diagrams
- Backup and restore through
pg_dumpandpg_restore - Multi-user server mode
- Servers preloaded from
servers.json
pgAdmin use cases
- Give developers one browser console for staging and production
- Read a slow query's plan before adding an index
- Take one-off dumps without client tools on every laptop
After you deploy pgAdmin
- When the server is Running, open an SSH session as root with the Access tab password and read
/root/app-credentials.txt. - Browse to the server's IP address and sign in with the email and password listed there.
- Right-click Servers to register each PostgreSQL instance with a role made for pgAdmin, not
postgres. - Add a domain with HTTPS, or let a CloudSat firewall rule admit only office IPs to port 80.
pgAdmin ports
Open these in your firewall if you use one: 80/tcp pgAdmin web interface, 443/tcp pgAdmin over TLS, when configured.
pgAdmin FAQ
Does pgAdmin include a PostgreSQL server?
No, it is only the management interface. Connect it to an existing database, or deploy the PostgreSQL app on another CloudSat server and register it.
Can several people share one pgAdmin?
Yes. In server mode each person signs in with their own account and keeps a private server list, and the administrator manages users from a dialog.
Disclaimer. The pgAdmin project has no affiliation with CloudSat and does not endorse it. Names and logos belong to their owners and appear only to identify the software.