dugasz1 Posted June 25, 2015 Share Posted June 25, 2015 Hi! My question is that what is the better(faster) if I have a resource with one mysql connection and all other resources use this res to query in the database or if all resource have a connection if it need to query in the database? Link to comment
Gallardo9944 Posted June 25, 2015 Share Posted June 25, 2015 One connection is obviously much easier to take care of. You may create as many connections as you want, of course, but keep in mind that making a ton of connections might slow down your server (+ avoid reopening connections frequently as it may cause slowdowns). Link to comment
dugasz1 Posted January 12, 2016 Author Share Posted January 12, 2016 Thank you for the answer! (I forget to reply sorry ) Link to comment
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