Five key configurations that affect mysql performance the following articles mainly introduce the five configuration parameters that closely affect MySQL Performance, I saw the five configuration parameters closely related to MySQL performance on
This is a creation in
Article, where the information may have evolved or changed.
Performance test Report for Kingshard
Before the several blog, to everyone to share is Kingshard (Https://github.com/flike/kingshard) architecture and design. In fact,
Ten parameters for optimizing MySQL database performance (1) and max_connections:
Number of Customers allowed simultaneously. Increase the number of file descriptors required by mysqld. This number should be added. Otherwise, you will often see the
Eight methods to optimize MySQL database performance: bitsCN.com
1. select the most suitable field attributeMySQL can support access to large data volumes, but generally, the smaller the table in the database, the faster the query will be executed
Impact of storage methods and media on performance bitsCN.com
Summary
The data storage method has a great impact on the overall performance of the application. Is data access smooth or random? Are data stored on disks and stored on flash cards?
At the early stage of application system development, due to the relatively small amount of data in the development database, the compilation of SQL statements and complex views won't be able to understand the performance of various SQL statements
Ten parameters for optimizing mysql Performance: a detailed introduction to the ten parameters for optimizing mysql Performance
1) back_log:The number of connections that mysql can have. When the main mysql thread receives a lot of connection
Effect of primary key unordered insertion on Innodb performance bitsCN.com
We often see this sentence in the usual mysql document learning:
MySQL tries to leave space so that future inserts do not incur un-necessary page splits (and thus higher
Ten parameters for optimizing MySQL database performance: bitsCN.com
(1), max_connections:
Number of Customers allowed simultaneously. Increase the number of file descriptors required by mysqld. This number should be added. Otherwise, you will often
Disable deadlock detection to improve MySQL performance with high concurrency bitsCN.com
On a high-concurrency MySQL server, transactions will recursively detect deadlocks. when the depth is exceeded, the performance decline will become
This article mainly introduces how to use FriendFeed to improve MySQL Performance and use it to store schema-less data to maintain indexes. For more information, see
Background
We use MySQL to store all the data of FriendFeed. The database
This article mainly introduces the impact of the InnoDB isolation mode on MySQL Performance. as the most famous MySQL-based database, InnoDB-related performance issues have always been a hot topic of DBAs, for more information, see The InnoDB
Quickly optimize MySQL database performance by searching for information on the network and making your own attempts. I think the following system parameters are critical:
(1) back_log:
The number of connections that MySQL can have. When the main
(Architecture and history)Mysql logical architectureIf you have a structural diagram of how Mysql components work together in your mind, this will help us understand the Mysql server.Mysql logical architectureThe upper-layer connection/thread
After the MySQL service is started, run the showvariables and showstatus commands to view the static parameters and dynamic running status of the Mysql service. Showvariables is used to view MySQL parameters that are not changed after the database
Avoid NULL values as much as possible
It is difficult for MySql to optimize empty columns and can be replaced by 0, special value or null string.
Limitations of B-TREE Indexing
You can only start from the leftmost column of the index. You cannot
MySQL Server Architecture logic diagram
Exclusive lock
To solve concurrency, you need to use locks, including shared locks and exclusive locks, that is, read locks and write locks ).
Read locks are shared. Multiple users can read the same
At the early stage of application system development, due to the relatively small amount of data in the development database, the performance of SQL statement writing is not good for querying SQL statements and writing complex views, however, after
MyISAM and InnoDB are the two most important types.
MyISAM:
Storage files:
Data File:. MYD
Index file:. myi
Features:
Table lock, does not support transactions, supports full-text indexing, and supports indexing of text and blob types
Data
The background of the problem: in the actual use of MySQL, if the traffic is relatively large, it is likely to have a large number of locked state of the process, but it is not convenient to identify which SQL caused the problem, many people
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.