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

后端 未结 7 391
长发绾君心
长发绾君心 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:32

    Reading one file = fast.

    Reading many / big files = slow.

    Reading singular small entries from database = waste of I/O.

    Combining many entries within the database = faster than file accesses.

提交回复
热议问题