码迷,mamicode.com
首页 > 数据库 > 详细

Mysql Optimization Overview

时间:2016-10-08 19:51:51      阅读:168      评论:0      收藏:0      [点我收藏+]

标签:

The information below i get from http://dev.mysql.com/doc/refman/8.0/en/optimize-overview.html

Optimization at the database level 

Database performance depends on several factors at the database level, such as tables, queries, and configuration settings. 

1. Are the tables structured properly?

2.  In particular, do the columns have the right data types, and does each table have the appropriate columns for the type of work?

3.  Are the right indexes in place to make queries efficient?

4. Are you using the appropriate storage engine for each table?

5. Does the application use an appropriate locking strategy

6. Are all memory areas used for caching sized correctly?

Optimizing at the Hardware Level

System bottlenecks typically arise from these sources

1. Disk seeks. It takes time for the disk to find a piece of data

2. Disk reading and writing

3. CPU cycle

4. Memory bandwidth

 

Mysql Optimization Overview

标签:

原文地址:http://www.cnblogs.com/mengjianzhou/p/5939572.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!