Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

MySQL vs File Databases

Tags:

json

php

mysql

So I'm going to be working on a home made blog system in PHP and I was wondering which way of storing data is the fastest. I could go in the MySQL direction, or I could go with my own little way of doing it which is storing all of the information (encoded in JSON) in files.

Which way would be the fastest, MySQL or JSON files?

like image 906
Steve Gattuso Avatar asked Oct 26 '25 10:10

Steve Gattuso


1 Answers

For a small, single user 'database', a file system would likely be quicker - as the size and complexity grows, a database server like MySQL or SQL Server is hard to beat.

like image 75
E.J. Brennan Avatar answered Oct 29 '25 01:10

E.J. Brennan