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

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

WBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWB
Release: 2016-06-06 20:42:06
Original
1446 people have browsed it

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

回复内容:

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

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

把表拆分吧。。。。

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

Related labels:
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
Latest Issues
sql file
From 1970-01-01 08:00:00
0
0
0
php - Overhead of prepare vs sql?
From 1970-01-01 08:00:00
0
0
0
Print sql statement
From 1970-01-01 08:00:00
0
0
0
Pass array to SQL insert query using PHP
From 1970-01-01 08:00:00
0
0
0
sql optimization or
From 1970-01-01 08:00:00
0
0
0
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template