Setting MaxIdleConns to be the same as MaxOpenConns isn't sufficient?
https://pkg.go.dev/database/sql#DB.SetMaxIdleConns
Otherwise, I guess you'd have to poll DBStats and run dummy queries to keep the pool full. https://pkg.go.dev/database/sql#DBStats