is having millions of tables and millions of rows within them a common practice in MySQL database design?

前端 未结 7 664
死守一世寂寞
死守一世寂寞 2021-01-05 20:27

I am doing database design for an upcoming web app, and I was wondering from anybody profusely using mysql in their current web apps if this sort of design is efficient for

7条回答
  •  半阙折子戏
    2021-01-05 21:04

    Millions of rows is perfectly normal usage, and can respond quickly if properly optimized and indexed.

    Millions of tables is an indication that you've made a major goof in how you've architected your application. Millions of rows times millions of tables times 80,000 users means what, 80 quadrillion records? I strongly doubt you have that much data.

提交回复
热议问题