High Performance MySQL Reading Notes-query performance optimization, high performance mysql
For high-performance database operations, it is not enough to design the optimal database table structure and build the best index. You also need to design
MySQL Query performance optimizationThe optimization of MySQL query performance involves many aspects, including library table structure, establishing reasonable index and reasonable query. The library table structure includes how to design
For high-performance database operation, it is not enough to design the optimal library table structure, and to establish the best index, but also need reasonable design query. If the query is poorly written, high performance cannot be achieved even
1. Full backup and incremental backup 1.1 full-scale backupFull-volume data is all the data in the database, and a full backup is the backup of all the data in the database.Back Up all libraries:mysqldump -uroot -p123456 -S /data/3306/mysql.sock -F -
MySQL provides standard SQL mode matching and an extended regular expression mode matching format based on Unix utilities such as vi, grep, and sed.I. SQL Mode
SQL pattern matching allows you to use "_" to match any single character, while "%"
Turn on caching, set cache size, and implement the following:
1, modify the configuration file, Windows under the My.ini,linux is my.cnf;
On the last append to the configuration file:
The code is as follows
Copy Code
Logs in MySQL include: error log, binary log, General query log, slow query log, and so on. Here is the main introduction of the more commonly used two features: General query log and slow query log.1) General query log: Records established client
This article introduces four database query methods by combining text and text: Basic query, connection query, subquery, and regular expression query, for more information, see query data to obtain the required data from the database. Data query is
MySQL常用指令,java,php程序员,数据库工程师必备。程序员小冰常用资料整理MySQL common commands (for reference)The most common display commands are:1. Display the list of databases.show databases;2. Display the data table in the library:Use MySQL;Show tables;3, display the
1. Use the select statement to query the select * from data table name of a data table. 2. query the select Field 1 and 2from data table of one or more fields in the table; 3. query the specified data in the table. select * from the data table name
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.