terryds Posted July 19, 2014 Share Posted July 19, 2014 What is the advantage and disadvantage using persistent connection to MySQL database server ?? When to use it and when not to use it ? Link to comment Share on other sites More sharing options...
justsomeguy Posted July 21, 2014 Share Posted July 21, 2014 Connections have overhead. If you need to make a connection to the server every time someone pulls up a page then each page request will include that connection overhead. As far as the disadvantages go, there is a post here that discusses it:http://stackoverflow.com/questions/3332074/what-are-the-disadvantages-of-using-persistent-connection-in-pdo 1 Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now