What is faster on a Windows operating system(mainly but I would like the opinions of other os's, its just windows is common). SQL or using the file system. This is for fast access of data. The SQL database would be hosted on the local computer.
4 replies to this topic
#1
Posted 24 April 2011 - 09:21 PM
|
|
|
#2
Posted 24 April 2011 - 10:47 PM
You appear to be asking an inappropriate question. SQL or file system for what data storage?
If you are accessing data in a linear fashion, then you do not "need" a database. If you require indexing, transactions, relations between data sets, normalization of data sets, searches and analytics, then a (relational) database management system would make sense and likely cannot be done as efficiently with files alone.
If you are accessing data in a linear fashion, then you do not "need" a database. If you require indexing, transactions, relations between data sets, normalization of data sets, searches and analytics, then a (relational) database management system would make sense and likely cannot be done as efficiently with files alone.
Be sure to read the updated FAQ! || Health is achieved through the same 10,000 steps.
If a suggested code/method fails, informing us is less important than telling us why or what errors occurred.
If a suggested code/method fails, informing us is less important than telling us why or what errors occurred.
#3
Posted 25 April 2011 - 02:51 AM
So this would be faster in say a game server, where player positions are reguraly queried in a database?
#4
Posted 25 April 2011 - 02:04 PM
In the case of a game server, why would you want this information on disk instead of in memory?
#5
Posted 25 April 2011 - 06:19 PM
If those data values are going to be used in game (last packets, positions, game data), the memory will be many hundreds of times faster than the disk. If you require persistence on data, then a binary save file, plain text file, or SQL database will all be equally valid solutions.
Be sure to read the updated FAQ! || Health is achieved through the same 10,000 steps.
If a suggested code/method fails, informing us is less important than telling us why or what errors occurred.
If a suggested code/method fails, informing us is less important than telling us why or what errors occurred.
1 user(s) are reading this topic
0 members, 1 guests, 0 anonymous users


Sign In
Create Account


Back to top









