Raised This Month: $ Target: $400
 0% 

Plugin Optimization Help KeyValues


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Scone
Senior Member
Join Date: Apr 2010
Location: England
Old 04-25-2010 , 03:48   Re: Plugin Optimization Help KeyValues
Reply With Quote #2

SQL operations have the advantage that they can be threaded, which is important when you're carrying out around tens of thousands of string comparisons.

It is also not necessary to generate and write the entire file (all 54000 records!) to disk when an update is made, while using a sequential KV file means you have to.

I'd definitely recommend SQL over a KV file for this. If you want user preferences to be shared between servers, use MySQL. Otherwise, use SQLite.
__________________
Scone 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 07:09.


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