Everything is in the same place, same local computer.
Whenever my Go application as well as pgAdmin 4 queries the PostgreSQL database, it takes at least a few dozens of milliseconds, however short the actual execution time is. Where does this overhead originate from? What causes the delay? It’s the same without the EXPLAIN ANALYSE
.
pgAdmin 4
The problem is with “Total query runtime: 68 msec.” for EXPLAIN ANALYZE SELECT 1;
taking 5 microseconds. There’s no way to reduce the client overhead other than querying less?