Zipp425 Posted October 16, 2006 Share Posted October 16, 2006 Title says it all... Link to comment https://forums.phpfreaks.com/topic/24062-file-access-speed-versus-database-access-speed/ Share on other sites More sharing options...
tomfmason Posted October 16, 2006 Share Posted October 16, 2006 I guess that would depend on how many queries you are going to be preforming. The only thing that I can suggest is to use micro time to test the speed of both and then make a decision based on the time.Here is an example.[code=php:0]$start = microtime(true);//some code here$end = microtime(true);$time = $start - $end;[/code]hope that helps,TomTom Link to comment https://forums.phpfreaks.com/topic/24062-file-access-speed-versus-database-access-speed/#findComment-109312 Share on other sites More sharing options...
Zipp425 Posted October 16, 2006 Author Share Posted October 16, 2006 Alright, Thanks tom, that actually helps alot. I didnt know there was a micro time function... haha. Link to comment https://forums.phpfreaks.com/topic/24062-file-access-speed-versus-database-access-speed/#findComment-109314 Share on other sites More sharing options...
redarrow Posted October 16, 2006 Share Posted October 16, 2006 Files are always faster then a database but the programming for files is a lot more work so most users use a database.Post your thorts on the microtime help you got. Link to comment https://forums.phpfreaks.com/topic/24062-file-access-speed-versus-database-access-speed/#findComment-109411 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.