Mysql parameter optimization bitsCN.com
Mysql parameter optimization
### The internal directory used to store InnoDB, which is sufficient for setting 16 MB for big data
Innodb_additional_mem_pool_size = 16 M
### Set the total InnoDB cache size,
MySQL statement audit bitsCN.com
MySQL statement review
Show databases; // display all DATABASES
Select database (); // view the current DATABASE
Show tables; // displays the table name.
USER db_name [;] // switch database
DESC tb_name;/DESCRIBE
MySQL EXPLAIN command MySQLexplain
BitsCN.com
EXPLAIN commands in MySQL
Explain shows how mysql uses indexes to process select statements and connect tables. It can help you select better indexes and write more optimized query statements.
You
MySQLInnoDB manages and backs up binary logs bitsCN.com
MySQL InnoDB manages and backs up binary logs
(I) importance of binary logs
If there is data backup at a certain point in time and all binary logs from then on
You can replay the binary
Modify the mysql table type. in the actual test, run bitsCN.com.
Modify the mysql table type. the test is executable.
When I modified the mysql table type today, I searched the internet and said it was used.
Alter table Name type = MyISAM;
Mysql quick paging optimization instance bitsCN.com with millions of database records
Mysql quick paging optimization instance with millions of database records
How high is MySql Performance? I have been using php for more than half a year. I
Mysql stored procedure memo bitsCN.com
Mysql stored procedure memo
1. export the stored procedure and back up the stored procedure
Mysqldump-u root-p-n-t-d-R -- triggers =
False my_db_name> c:/bakproc. SQL
2. get the year, month, and
When the character utf8 encoding exceeds 3 bits, the error is inserted into the Mysql database and the bitsCN.com
When the character utf8 encoding exceeds three characters is inserted into the Mysql database, the error is rectified.
Incorrect
Mysql common operations add new users assign permissions to modify table creation indexes and other bitsCN.com
Mysql common operations include adding new users, assigning permissions, modifying tables, and creating indexes
Bin> mysql-u root
Mysql>
Mysqlshowstatus command bitsCN.com
Mysql show status command
Command: show status;
Aborted_clients indicates the number of dropped connections because the client fails to properly close the connection.
The number of connection times of the MySQL
The group_concat () function summarizes bitsCN. comgroup_concat (), which returns a string with a non-NULL value from a group of connections.
It is abstract and hard to understand.
Generally, group_concat () calculates which rows belong to the
Mysql: Communicationslinkfailure solves bitsCN.com
Mysql: Communications link failure solution
When you use Connector/J to connect to the MySQL database, the following error will be reported after the program runs for a long time:
Mysql backup recovery optimization bitsCN.com
Mysql backup recovery optimization
Mysql backup and recovery
Mysqldump, ibbackup, replication
Backup score:
Hot Backup (Hot Backup) online Backup, no impact on DB
Backup when Cold Backup
PerconaXtraBackup2.1.2forMySQL bitsCN.com
Percona XtraBackup 2.1.2 for MySQL is released. XtraBackup is an open-source tool used to back up the InnoDB database of MySQL.
This version mainly fixes the following bugs:
Using Perl'sDBD::MySQLPackage
MySql analysis command bitsCN.com
MySql analysis command
Analyze Table
When optimizing SQL statements, MySQL Optimizer must first collect related information, including the cardinality of the table (which can be translated as "hash degree "), it
Mysql full-text index bitsCN.com
This article briefly describes the full-text index application example, MYSQL demo version 5.5.24.
Q: When is full-text index applicable?
A: full-text indexing is currently A key technology for big data search.
For
BitsCN.com
Count and overwrite indexes in the MySQL Optimizer
Symptom description
In fact, it is important to note that an optimizer still needs to be improved.
Based on the where condition and the fields in select_list, The Optimizer
Mysql table sharding principle bitsCN.com
Mysql table sharding principles
Mysql table sharding principles
When using mysql in large quantities and with high data access, we will introduce the mysql sharding standards to improve the performance of
Linux forgets mysqlroot password bitsCN.com
Http://zhidao.baidu.com/question/39198255.htmlFollow these steps to reset the MySQL root password:1. first confirm that the server is in a secure state, that is, no one can connect to the MySQL database at
Bad SQL statement bitsCN.com
Bad SQL statements
A colleague sent an SQL statement saying that the SQL statement occupies a large amount of server disk space during running, which is about 10 GB, which is ultra-slow.
Select min (order_id),
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.
A Free Trial That Lets You Build Big!
Start building with 50+ products and up to 12 months usage for Elastic Compute Service