Better way to optimize sql usage
Hello, im using mysql connection on my scripts, and i have one question, whitch way ist most optimal, connect to mysql 1 time and dont disconnect, or connect just when i need to get or put some info in to database, and disconnect when connection isn`t neccessary?
|
Re: Better way to optimize sql usage
Connect at plugin startup, close connection at plugin end.
|
Re: Better way to optimize sql usage
Quote:
|
| All times are GMT -4. The time now is 17:04. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.