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. Quote Link to comment 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! Quote Link to comment 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. Quote Link to comment 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. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.