The Slow Queries. Once an query event is opened by clicking on the event name the right hand side detail panel provides more insights into each event. Slow queries are the database queries which has a large turnaround time to access the required data.

The slow query log records all of the queries that are fulfills the criteria specified by the slow query log settings. Identify the Slow Query. The slow query log consists of SQL statements that take more than long_query_time seconds to execute and require at least min_examined_row_limit rows to be examined.
SELECT creation_time last_execution_time total_physical_reads total_logical_reads total_logical_writes execution_count total_worker.
The first step in dealing with slow queries is identifying which query is actually running slowly. The pg_stat_activity view allows you to see all running queries and how long they are taking on your PostgreSQL database. For example to print all slow queries that have already been recorded run the command. For example a query executed hundreds of times per second may be more important to optimize than a query only executed once daily even if the latter takes many times longer.