rq_connection_advice function

Get advice for a DB connection (beyond tests).