Real-time viewing using pgAdmin or OmniDB
You can also use a GUI tool such as pgAdmin or OmniDB, which we discussed first in Chapter 1, First Steps to get a quick view of what is going on in the database.
Getting ready
If you use pgAdmin, for better control you need to install the adminpack
extension in the destination database by issuing this command:
CREATE EXTENSION adminpack;
This extension is a part of the additionally supplied modules of PostgreSQL (aka contrib). It provides several administration functions that pgAdmin (and other tools) can use in order to manage, control, and monitor a Postgres server from a remote location.
How to do it… (with pgAdmin)
The following section illustrates the pgAdmin tool.
Once you have installed adminpack
, connect to the database server; this will open a window similar to that shown in the following screenshot, reporting a general view plus information on connections, locks, and running transactions:

How to do it… (with OmniDB)
Here's another section that...