in reply to mySQL or Flat Files, Which is faster
On the other hand, if there are multiple files per user, or you want to slice and dice the data in different ways (i.e. "Give me all the files for User X, created between January and March, that have to do with 'Foo'") then you should just go ahead and do the relational database tango and use MySQL. Although it's true that MySQL builds its internal data structures on top of whatever file system it's in, it gets HUGE speed advantages over flatfiles from the proper use of indexes, allowing you to get to just the data you need without having to search through every file in the database.
Think about what you're doing (and what you're likely to want to do with your program in the future) and make the appropriate decision. :-)
Gary Blackburn
Trained Killer
|
---|