Compared with other large databases such as Oracle, DB2, SQL Server, etc., MySQL has its own shortcomings, but this does not reduce its popularity at all. For general individual users and small and medium-sized enterprises, the functions provided by MySQL are more than enough, and because MySQL is open source software, it can greatly reduce the total cost of ownership. How does an enterprise optimize MySQL in production? Reference answer: a: Hardware optimization: 1. Use 64-bit CPU, at least 4 CPUs, and the larger the L2 cache, the better b: Operating system optimization 1. Choose x86_64 as the operating system and try to use xfs file system c: mysql architecture optimization 1. Configure the server to run multiple instances based on memory size d: MySQL database level optimization 1. Optimize my.cnf parameters e: Database management process and system optimization 1. Human process: Development -> Core operation and maintenance/DBA f: MySQL database security optimization 1. The database is prohibited from setting up an external network Summarize This is the end of this article on enterprise production MySQL optimization introduction. I hope it will be helpful to everyone. Interested friends can refer to: Detailed explanation of Oracle paging query performance optimization code, analysis of key points of ORACLE SQL statement optimization technology, introduction to C/C++ compiler optimization, etc. If you have any questions, you can leave a message at any time and the editor will reply to you in time. You may also be interested in:
|
<<: How to build nfs service in ubuntu16.04
>>: Ubuntu16.04 builds php5.6 web server environment
First, a common question is, what is the relation...
To see the effect directly, a right-click menu ha...
Original link: https://vien.tech/article/157 Pref...
1. this.$router.push() 1. Vue <template> &l...
Development environment windows Development Tools...
Preface The company's Ubuntu server places th...
1. Brief Introduction of Nginx Nginx is a free, o...
We all have files stored on our computers -- dire...
inherit 1. What is inheritance Inheritance: First...
This article describes the usage of MySQL stored ...
Table of contents Methods of String Object Method...
SQL paging query:background In the company's ...
1. Download the alpine image [root@docker43 ~]# d...
Table of contents 1. Install and create an instan...
The ogg process of a database produced some time ...