heckenschutze Posted November 9, 2006 Share Posted November 9, 2006 Hello,Personally, im not a fan of any of the SQL distros.So I have a question, Would it be faster to parse flat files myself, rather than having a database?Of-course, it would be faster in C for example, but how does PHP compare to flat files vs databases, performance wise?Yes I know it depends on how I parse the file...Thanks In advance. Link to comment https://forums.phpfreaks.com/topic/26668-flat-files-vs-sql-solved/ Share on other sites More sharing options...
heckenschutze Posted November 9, 2006 Author Share Posted November 9, 2006 Nevermind, Benched marked it, Flat files are faster in most cases, unless checking conditions...thanks anyways! Link to comment https://forums.phpfreaks.com/topic/26668-flat-files-vs-sql-solved/#findComment-122013 Share on other sites More sharing options...
btherl Posted November 9, 2006 Share Posted November 9, 2006 As a general rule, flat files are faster for small sets of data. Databases are better for large sets, and for complex sets. Link to comment https://forums.phpfreaks.com/topic/26668-flat-files-vs-sql-solved/#findComment-122015 Share on other sites More sharing options...
Orio Posted November 9, 2006 Share Posted November 9, 2006 You need to keep in mind that using a database is much more easier and simple.Orio. Link to comment https://forums.phpfreaks.com/topic/26668-flat-files-vs-sql-solved/#findComment-122070 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.