Raised This Month: $ Target: $400
 0% 

Optimising MySQL: how to cache data?


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Hunter-Digital
Veteran Member
Join Date: Aug 2006
Location: In the Game [ro]
Old 03-20-2009 , 13:20   Re: Optimising MySQL: how to cache data?
Reply With Quote #2

you can load your entire database at plugin_init() into variables, disconnect from mysql, then use the variables across your plugin, and yeah, it will improve some performance because the plugin isn't requesting mysql data every time and also the mysql doesn't require CPU power every time (affects server if it's on the same machine)... but it's a slight performance increase tough... but good also
__________________
Hunter-Digital is offline
 



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 08:57.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode