search

Home  >  Q&A  >  body text

When php queries MySQL too much, the web page will hang. How to solve this problem?

I recently changed the server and reinstalled the system. I don’t know if there is an incorrect configuration problem. When accessing mysql to query several large pages, it will hang, as shown below. What may be the reason?

大家讲道理大家讲道理2745 days ago663

reply all(3)I'll reply

  • 给我你的怀抱

    给我你的怀抱2017-05-25 15:10:16

    /q/10...

    reply
    0
  • 曾经蜡笔没有小新

    曾经蜡笔没有小新2017-05-25 15:10:16

    The request has timed out, please use ajax asynchronous request instead.

    reply
    0
  • 淡淡烟草味

    淡淡烟草味2017-05-25 15:10:16

    According to your question, the query when accessing MySQL is relatively large. What does large mean? Is it a large amount of query data or a large number of query tables? If so, it is recommended that you optimize the query efficiency first and then see the effect.

    reply
    0
  • Cancelreply