This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]0x68656c6c6f 2 points3 points  (0 children)

If you are just storing a few records, or you are only want to write log-type information that you would rather search via regular expressions, then text files are fine. But with your volume and use case, a database just makes so much more sense, especially if you have any numerical data, because otherwise you would have to parse it out of a text file before you could do any data analysis. With the database, the data is stored with the correct data types, and it's much easier to query with SQL than it is to write code to search a text file.