I've hit the DB performance bottleneck, where now?

后端 未结 7 1729
自闭症患者
自闭症患者 2021-02-15 18:37

I have some queries that are taking too long (300ms) now that the DB has grown to a few million records. Luckily for me the queries don\'t need to look at the majority of this d

7条回答
  •  别那么骄傲
    2021-02-15 18:48

    I understand I'm now getting away from what the question was intended for so maybe I should make another one. My problem is that EXPLAIN is saying the query takes 10ms rather than 300ms which jprofiler is reporting.

    Then your problem (and solution) must be in java, right?

提交回复
热议问题