visitor (0 QPoints)
  • FR
  • EN
  • NL
  • DE
  • ES
316 experts, 1194 registered users, 1659 questions already answered
European Experts Exchange, the very best site for high-quality IT solutions

New Improved Search!

 


05/10/2011 1h30 : Steve Jobs is dead, the father of Apple ][ is gone, we are all orphaned.

Databases :: MySql :: text files vs mysql


By: LornaJane U.S.A.  Date: 23/09/2003 00:00:00  English  Points: 100 Status: Answered
Quality : Excellent
I am working on a system which stores its data in a series of binary text files full of C structures. There are thousands of these files!

I was wondering how text files for data storage compared to mysql (or similar), as I've been working for databases for a few years and haven't used text files before. I know I'm dealing with a lot of data but the files seem slow to access and take up a lot of space (not to mention the fact that they take ages to back up!). I was hoping that you experts out there would let me know what you think about the differences between the two setups, I'd be most interested!
By: Squibi Date: 23/09/2003 03:19:00 English  Type : Answer
Well, I have found that most systems with a lot of text files sooner or later get converted to RDBMSes. Text files do not necesscarily deal well with concurrent accesses, and relating the data between two text files requires a lot of coding, where in SQL you just do a JOIN. If I were start a new app with a lot of data, I would almost always choose a database backend.
By: VGR Date: 23/09/2003 04:57:00 English  Type : Assist
textfiles are good for LINEAR reading

databases enable for any access method (ORDER BY...)

Performance is also on the side of the RDBMS when data grows larger.
By: LornaJane Date: 29/09/2003 19:17:00 English  Type : Comment
Thanks to both of you for your comments!

Do register to be able to answer

EContact
browser fav
page generated in 317.264800 milliseconds

Why Google AdSense ads ?

compteur
 Ranking-Hits PageRank for this page