Log file analysis
Once you have some log files saved, next you'll want to analyze the results. The common information you'll get is a profile of what queries were run, how long each took individually, and sums showing the totals broken down by type of query. There are several tools available for this purpose, with different trade-offs in terms of things like how active their development community is, how fast the tool runs, and how extensive the installation requirements are.
Normalized query fingerprints
To a person it would be obvious that the following two queries are fundamentally the same:
UPDATE pgbench_accounts SET abalance = abalance + 1631 WHERE aid = 5829858; UPDATE pgbench_accounts SET abalance = abalance + 4172 WHERE aid = 567923;
This isn't necessarily obvious to a log file parsing program though. Good database programming practice will often convert these to executing with prepared statements, which offers both a security improvement (resistance to...