Home > Backend Development > PHP Tutorial > php+mysql在update百万级数据时有什么办法比较快?

php+mysql在update百万级数据时有什么办法比较快?

WBOY
Release: 2016-06-06 20:42:06
Original
1412 people have browsed it

php+mysql在update百万级数据时有什么办法比较快?

回复内容:

php+mysql在update百万级数据时有什么办法比较快?

  1. innodb
  2. 读取分离
  3. 拆字段做冗余表
  4. 缓存做合并更新

把表拆分吧。。。。

对于这种无脑的提问,我真的是服了。敢不敢写清楚具体是什么情况?确定了情况之后说不定不用mysql而是用其它的方法更方便快捷的解决问题呢?不要吊死在某一个技术点上。

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template