godsent Posted February 4, 2012 Share Posted February 4, 2012 I would like to make to make multiple chats, where every chat entry would be inserted into mysql table, each chat entry would have a coresponding ID to which chat it belongs, SO it would be many rows in this table. In other case a simple text file would only hold messages of specific chat. My question: is it faster to search the sql table with very many entries or is it faster to read a text file (much smaller)? Quote Link to comment https://forums.phpfreaks.com/topic/256380-what-is-faster-read-massive-sql-table-or-read-file/ Share on other sites More sharing options...
fenway Posted February 4, 2012 Share Posted February 4, 2012 Keep it in the DB. Quote Link to comment https://forums.phpfreaks.com/topic/256380-what-is-faster-read-massive-sql-table-or-read-file/#findComment-1314420 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.