1. Installation
Download http://www.percona.com/downloads/XtraBackup/from official websiteCan choose the compiler version and the two-in-plate, the two-in-plate still need to install dependent Perl-dbd-mysqlyum install cmake gcc gcc-c++ libaio
When a database field is a BLOB type, we need to be aware of using the Setbinarystream (Int,inputstream,int) method in PreparedStatementWhen inserting data into a BLOB field type, use Javaio's inputstream to read the file.Instead, when you read the
1.--prefix=prefix: Specifies the program installation path;2.--enable-assembler: Using assembly mode, (document Description:compiling in x86 (and SPARC) versions of common string operations, which s Hould result in more performance. Assembly x86
Want to use navicate for MySQL connection MySQL, found only 30 days to try, feel very uncomfortable, buy words found the price of more than 1000, good expensive software.So want to crack, online try some methods not, finally found a way toHack tool
1. If there is an or in the condition, it will not be used even if there is a conditional index (which is why the use of or is minimized);2. For multi-column indexes, not the first part of the use, the index is not used;3.like queries are preceded
1.This function has none of deterministic, NO SQLReason:MySQL if Bin-log is turned on, we have to specify whether our function is1 Deterministic indeterminate2 No SQL does not have SQL statements and of course does not modify the data3 READS SQL
MySQL version: Mysql-5.5.33-win321. Unzip the install-free package to the specified directory Mysql_home2.cmd enter Mysql_home\bin to register MySQL service: mysqld--install MySQL3. Start MySQL service: net start MySQL4.root Enter Mysql:mysql-uroot5.
Before that article is Flask+redis, if using flask+mysql how to achieve it?To create a database:CREATE DATABASE ' web12306 ' DEFAULT CHARACTER SET UTF8;To create a table:CREATE TABLE ' web12306 ' (' user_email ' varchar () NOT NULL default ' ', '
Impact of InnoDB Isolation Mode on MySQL Performance
I have written two articles over the past few months: one is the dangerous debt related to the history of InnoDB transactions, and the other is the truth about the serious performance problems
What if MySQL replication lags behind? In fact, the method is very simple
MySQL replication is generally considered very effective. After the master server makes changes, the slave server can make the corresponding changes within several seconds.
Performance Comparison of MySQL insertion methods with large data volumes
Whether in daily business data processing or Database Import/Export, a large amount of data may be inserted. Both the insertion method and the database engine will affect
My MYSQL Study Notes (1)
This is my personal notes for learning MYSQL through online articles. I hope this will help you.1. DEFUALT keywords
CREATE TABLE emp(id INT DEFAULT 12)
2. Set the auto-increment column (auto_increment)
create table temp2(
My MYSQL Study Notes (3) -- Operators
1. Security equals operator ()
Select null nullunion allselect null 1 union ALLSELECT 1 0 UNION allSELECT NULL = NULL
Note that the difference between this operator and equal to (=) is that when both
MySQL Chinese insert error Incorrectstringvalue: & #39; \ xCC \ xEC \ xB2 \ xC5 & #39;Preface: failed to input Chinese characters. Error: Incorrect string value: '\ xCC \ xEC \ xB2 \ xC5', as shown below:1. Check the character set of the database.
Create and delete users in Mysql1. Add a user (in two forms ):A. mysql> grant all on *. * to yushan @ "%" identified by "123 ";Mysql> flush privileges; (refresh the system permission table)(The execution will be completed in mysql. insert a record
[Mysql] export a Mysql table to Excel
Exporting a Mysql table to Excel is not as difficult as importing an Excel table to one of the Mysql tables (click to open the link,
Enter the following T-SQL statement directly:
Select * from a table into
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