Real-time viewing using pgAdmin
You can also use a GUI tool such as pgAdmin, which we discussed for the first time in Chapter 1, First Steps, to get a quick view of what is going on in the database.
Getting ready
pgAdmin 4 no longer requires an extension to access PostgreSQL fully, so there is no need to install adminpack, as was required in earlier editions.
How to do it…
This section illustrates the pgAdmin tool.
Once you have connected to the database server, a window similar to the one shown in the following screenshot will be displayed, where you can see a general view, plus information about connections, overall activity, and running transactions:

Figure 8.3: pgAdmin dashboard of live usage