Raised This Month: $51 Target: $400
 12% 

Data Storage


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
ProIcons
Senior Member
Join Date: Jan 2009
Location: Greece - Salonica
Old 02-21-2013 , 14:32   Data Storage
Reply With Quote #1

So i'm searching for a way to store some VERY Detailed stats about users for each round to a SQL Server. So My thoughts where , to store them in arrays and at the end of the game to store them in my MySQL Database. But i dunno if arrays are the perfect solution for this. So i also thought to store them in JSON Format. But still they are SO Much stats it would make a HUGE json string to proccess after that... So any ideas ?

A Clue about how detailed they are is that Psychostats are not detailed enough in compare to mine...
__________________
function rb return $regsubex($$1-,/(.)/g,$+($chr(2) $+ $chr(3),$r(2,15),$chr(2),\1))
ProIcons is offline
EDUTz
Senior Member
Join Date: Jun 2010
Location: Dracula's Homeland
Old 02-21-2013 , 19:42   Re: Data Storage
Reply With Quote #2

You can store them in arrays and save to mysql when leaving the game and periodicaly. I have bad experience with saving at the end of the map, expecialy when the data is large.
EDUTz is offline
fysiks
Veteran Member
Join Date: Sep 2007
Location: Flatland, USA
Old 02-21-2013 , 21:30   Re: Data Storage
Reply With Quote #3

If you are using a database then JSON is irrelevant. JSON is a human readable method for storing data which is not what you need and is certainly has nothing to do with arrays.
__________________
fysiks is offline
Reply



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 05:01.


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