1. Install the required program 1. Install the development environment and mysql database in advance;
650) this. width = 650; "border =" 0 "alt =" "src =" http://www.bkjia.com/uploads/allimg/131227/1Z00a648-0.png "/>
650) this. width = 650;
BinlogYesMysqlLogs that are printed in binary format are not encrypted by default and are not compressed. Each normal binlog File Header has a four-byte mark with a value of 0xfe 0x62 0x69 0x6e. LOG_EVENT is the unit in binlog. Normally, binlog
Okay! I have always thought that I am not smart, so I wrote this article in the most detailed and clear way. I believe, what I can understand is something you can understand.
My environment: MySQL: mysql-essential-5.1.51-win32
Jdbc driver: I have
This article mainly introducesMySQLDatabaseINI FileThrough these attributes, we can understand some MySQL database initialization knowledge. Let's take a look at it.
(1) back_log:The number of connections that MySQL can have. When the main MySQL
MySQL databaseOfStorage EngineIs what we will introduce in this article. It includes:MyISAMAndInnoDBMyISAM is the default storage engine of MySQL. Based on the traditional ISAM type, full-text search is supported, but it is not transaction-safe and
We know thatMySQL database OptimizationThere are many methods on the Internet. This article mainly introduces the optimization experience of a MySQL database user, hoping to help you.
Optimization experience:
Run the show variables command to view
MySQLDatabaseTIMESTAMPSetting the default value is what we will introduce in this article. We know that CURRENT_TIMESTAMP: When I update this record, this field of this record will not change.
CURRENT_TIMESTAMP on update CURRENT_TIMESTAMP: When I
Linux cron failed to execute MySQLIn this article, we will mainly introduce the solution to instance problems. Next let's take a look at this part.
1. first, in order to count the average number of online users on the server, a SHELL script is
PhpMyAdmin 3.4.9 is released.
PhpMyAdmin is a popular Web-based MySQL database management tool. It is written based on PHP and allows you to easily operate and manage MySQL over the Internet. PhpMyAdmin allows you to create and delete databases,
Although MySQL is one of the most popular programs, many developers think it is necessary to split it into other projects, and each branch project has its own expertise. This demand, as well as Oracle's concerns about the slow growth of core
: Http://dev.mysql.com/downloads/cluster/7.0.html
Improvement record: http://dev.mysql.com/doc/refman/5.5/en/mysql-cluster-news.html
MySQL Cluster is a highly practical and redundant MySQL version suitable for distributed computing environments.
Mind Map
Jieshao
The most storage engines used in mysql are innodb and myisam. As the default storage engine of Mysql, myisam is worth learning. The following is my understanding of myisam mentioned in the High-Performance MYSQL. Please give me
If you do not know the new features and improvements of MySQL 5.6, you can learn from here.
The main purpose of my article is to test the performance.
I use Sysbench workloads (Read-Only/Read-Write) for testing. The following is my test environment:
Recently, I just entered a new company and took over a site here. The architecture design of this site is not reasonable, so MySQL is always under great pressure, the Locked process often times out, so a Linux Shell script is compiled to kill these
There is a table whose id is the primary key. In this way, a record can be returned:Copy codeThe Code is as follows:"SELECT * FROM t HAVING id = MIN (id );"However, if you replace MIN with MAX, the returned result is null:Copy codeThe Code is as
Mysql searches for multiple fields In mysql, If You Want To sort a field, you can use the following SQL statementSELECT * FROM 'table _ name' order by 'field'However, what should I do if I want to sort a field and then another field? You can use the
1. The table's primary key and foreign key must have an index;
2. Indexes should be available for tables with more than 300 of the data volume;
3. For tables that are often connected to other tables, indexes should be created on the connection
I tried several methods that Google had not solved. Then I suddenly remembered the iis port usage when I started apache (because apache also used port 80 ), so open the command line
Netstat-aon | findstr" 3306"
Result Display
Silently scolded "
What is a transaction? A transaction is a logical group of operations that constitute each unit of this group of operations. If it fails or fails, it is a transaction.Note: mysql DATA supports transactions, but must be an innoDB Storage engine.Solve
Installation environment: centos 5.4Mysql version: mysql 5.1.xx is directly installed using rpmRequired Software: xtrabackup 1.2.22 directly installed with rpm1. Master:/etc/my. cnf Copy codeThe Code is as follows:[Mysqld]Server-id = 1Log-bin innodb_
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