dailyprofit Posted May 12, 2009 Share Posted May 12, 2009 I was wondering when creating a PHP page that will execute queries. What are the BEST ways to write the queries and open/close connection that way the queries executes fast and doesn't cause to many locked/sleep queries in the mysql SHOW PROCESS LIST. Quote Link to comment https://forums.phpfreaks.com/topic/157847-ways-to-prevent-lockedsleep-processes/ Share on other sites More sharing options...
fenway Posted May 12, 2009 Share Posted May 12, 2009 1 open/close per page should do it. Quote Link to comment https://forums.phpfreaks.com/topic/157847-ways-to-prevent-lockedsleep-processes/#findComment-832616 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.