Home >Database >Mysql Tutorial >101个MySQL优化技巧和提示_MySQL

101个MySQL优化技巧和提示_MySQL

WBOY
WBOYOriginal
2016-06-01 13:18:461067browse

bitsCN.com

MySQL 服务器硬件和操作系统调节:

1. 拥有足够的物理内存来把整个InnoDB文件加载到内存中――在内存中访问文件时的速度要比在硬盘中访问时快的多。
2. 不惜一切代价避免使用Swap交换分区

Statement:
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