I hope this is the right spot for my problem.
From time to time, i see selects on pg_type that take 4-10 seconds and i can’t figure out why that is the case. As i understand it, pg_type is a virtual table whose content rarely changes if at all. Other statements before and after those on pg_type are within a few millliseconds.
Those requests are also not from me, it looks to me that ActiveRecord is requesting some information after a new connection is created.
It’s not a big issue, since we keep all idle connections open. But i would still like to understand whats going on here.
Has anybody experienced that behavior before?