High-Performance MySql evolution (13): Query cache mechanism bitsCN.com
Many database systems can cache execution plans. for identical SQL statements, you can use existing execution plans to skip the process of parsing and generating execution plans.
Clang compiled mysql (Ubuntu1064-bit) Ubuntu
BitsCN.com
Compile and install mysql (Ubuntu10 64-bit) http://www.cnblogs.com/2018/p/3482259.html this introduction gcc form compile and install mysql
Then we use clang to compile and check the specific
1) use indexes carefully and effectively to select appropriate indexes (prefix and optionality) and delete useless indexes. 2) using normalization, but not using over-normalization (at least the third paradigm) is an easy-to-understand and standard
MySQL Pinyin initial character query bitsCN.com
A module in a recent project needs to implement the Pinyin initial character query function. I checked the information online and modified the information to meet the project requirements.
The
Differences between INSERTIGNORE and INSERTINTO bitsCN.com
Example
Insert ignore indicates that if the same record already exists, the current new data is ignored;
Insert ignore into table (name) select name from table2
Example
Insert into
MysqlReplication (MASTER/slave server) configuration instance bitsCN.com part 1 configure MASTER (10.0.0.1)
1. enable binary logging on the master database server and assign a unique server-id. Open the configuration file/etc/qa_my.cnf and add the
MySQL write and insert data optimization configuration bitsCN.com
* Innodb_buffer_pool_size
If Innodb is used, this is an important variable. Compared with MyISAM, Innodb is more sensitive to buffer size. MySIAM may also use the default
Connect to Mysql bitsCN.com
There are several ways to connect to MySQL:
1. connection format in DOS window: mysql-h host address-u username-P port number-p user password
2. the installed Mysql comes with a command line client software. find it in
Mysql replication error: Relay_Log_Pos unchanged bitsCN.com
Recently, a Mysql SLAVE of the company experienced a delay of seconds. when we found the delay two days ago, we observed the slave status. everything was normal and thought that the recent
MySQL dynamically adds the column field bitsCN.com
Okay, I admit it was a major mistake in my project. during the trial run of this project, I modified the length and value of the database field twice, in order not to affect the existing data, I
What if MySQL forgets its password? bitsCN.com
Time: 2014.01.19
Location: Base
Bytes ----------------------------------------------------------------------------------------I. Background
Wow, when I debugged the code this evening, I found that the
MySQL study NOTE _ 2_ SQL data model and data type bitsCN.com
Create a data table (on) in MySQL)
I. create an SQL statement model for a data table [weak type]
Create table [if not exists] TABLE name (
Type of field name 1 column [attribute] [index],
Use LIMIT bitsCN.com IN Mysql subquery
Learn how to use the LIMIT method IN Mysql subquery IN.
A problem occurred in the project over the past two days. an error is reported after mysql LIMIT is used.
This is the requirement. I have three tables:
MySQL backup and recovery bitsCN.com
The MySQL backup command is mysqldump, which is included in the bin directory of the mysql installation package. Therefore, this command is run on the CMD end.
The command for restoring MySQL is source, which
MySQLSchema design (II) careful calculation, continuous bitsCN.com
Ru Zhiqiang said in "Zookeeper", "looking at Hongying again, it was not even a half-hour's work that would be delayed, and she never saw her eat a snack, at first glance, you will
Use Stored procedures and Event events to automatically create a partition bitsCN.com for the Mysql table
If you have less gossip, you can directly access the website.
BEGIN # Routine body goes here... declare minMonitTime date default CURDATE ();
A problem occurred IN the project of using the LIMIT application example bitsCN.com IN Mysql subquery IN the past two days. an error is reported after LIMIT is used.
This is the requirement. I have three tables: infor info table, mconfig material
Mysql log rolling bitsCN.com
1. View log informationMysql> show global variables like '% log % ';+ --------------------------------- +| Variable_name | Value |+ --------------------------------- +| Back_log | 50 || Bin log_cache_size | 32768 ||
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