Requirements: MySQL Database Management and Maintenance 1. Familiar with the installation, configuration and optimization of MySQL Databases on Linux, 2. Familiar with the implementation of Mysql AB replication and read/write splitting, can complete
Requirements: MySQL Database Management and Maintenance 1. Familiar with the installation, configuration and optimization of MySQL Databases on Linux, 2. Familiar with the implementation of Mysql AB replication and read/write splitting, can complete
Requirements: MySQL Database Management and Maintenance
1. Familiar with installing, configuring, and optimizing MySQL Databases on Linux,
2. Familiar with Mysql AB replication and read/write splitting, and can complete operations such as adding slave database and changing slave database to master database;
3. proficient in mysql database queries, subqueries, inserts, updates, and other operations, as well as database creation, tables, and indexes;
4. Master the table connections and views for the use of stored procedures and functions;
5. mysql database backup and restoration, and various engines are optimized;
========================================================== ==========
1. Optimize the MySQL database:
# Vim/etc/my. cnf.
Read_buffer_size = 4 M
#
Tmp_table_size = 256 M
Max_connections = 768
Thread_concurrency = 8
Skip-networking
Innodb_additional_mem_pool_size = 4 M
Innodb_log_buffer_size = 2 M
Key_buffer_size = 256 M
Read_buffer_size = 4 M
Read_rnd_buffer_size = 16 M
Sort_buffer_size = 32 M
Thread _ cache_size = 120
Query_cache_size = 32 M
It is worth noting that:
In many cases, specific analysis is required.
1. If Key_reads is too large, increase Key_buffer_size in my. cnf to keep Key_reads/Key_read_requests above 1/100. The smaller the value, the better.
2. If Qcache_lowmem_prunes is large, you need to increase the value of Query_cache_size.
-------------------------------------- Split line --------------------------------------
Install MySQL in Ubuntu 14.04
MySQL authoritative guide (original book version 2nd) Clear Chinese scan PDF
Ubuntu 14.04 LTS install LNMP Nginx \ PHP5 (PHP-FPM) \ MySQL
Build a MySQL Master/Slave server in Ubuntu 14.04
Build a highly available distributed MySQL cluster using Ubuntu 12.04 LTS
Install MySQL5.6 and Python-MySQLdb in the source code of Ubuntu 12.04
MySQL-5.5.38 universal binary Installation
-------------------------------------- Split line --------------------------------------