Databases also have a concurrent user limit that can usually be adjusted. So what you really want to do in your app is open the connection, do what you need to do, then close the connection. Don't let the connection sit open when it doesn't have to.