Home  >  Q&A  >  body text

php - 关于数据库查询,既要不影响查询速度,又能实现分页的办法?

PHP中文网PHP中文网2743 days ago781

reply all(1)I'll reply

  • 高洛峰

    高洛峰2017-04-17 16:54:20

    Find out the required attendance data by time period. Store the data in redis in an index cycle. After manual paging, query and retrieve the new attendance time from redis. Then clear redis and re-execute the attendance program

    reply
    0
  • Cancelreply