very simple queries and testing replication lag are only a Particular circumstance of jogging arbitrary SQL queries as a health check, so we just centered on this one particular and carried out the Other folks as being https://cheapbookmarking.com/story18109646/the-definitive-guide-to-postgresql-health-check-consulting-services