tune db config for production env