reading from MySQL is faster or reading from a file is faster?

后端 未结 7 399
长发绾君心
长发绾君心 2021-01-19 14:36

HI

I got a doubt I have seen reading mysql data is slower in case of large tables...I have done lots of optimization but cant get through..

what I am thinki

7条回答
  •  滥情空心
    2021-01-19 15:20

    By choosing a custom file storage system you will lose the benefits of using a relational database. Also your code might not be easy maintainable.

    Nonetheless, there are many who believe that relational databases offer too much complexity at the cost of speed. Have a look at the NoSQL entry in wikipedia and read about possible alternatives.

提交回复
热议问题