The MySQL plug-in storage engine is a component in the MySQL database server. it performs actual data I/O operations for the database, and allows and enforces specific feature sets for special application requirements. One of the main advantages of
How does mysql automatically back up databases in windows:
Specifically, if you need to use the Task Scheduler to run automatically, perform the following steps:
1. click Start, select "program"> "attachment"> "system tools"> "task Plan" (or "set">
MySQL data export and import tool: mysqldump
MySQL mysqldump is used for export. The basic usage is as follows:
Shell> mysqldump [OPTIONS] database [tables]
If you do not specify any tables, the entire database will be exported.
Run mysqldump --
Use MySQLInnoDB engine lock mechanism to solve deadlocks:
When I used Show innodb status to check the engine status, I found a deadlock problem:
* ** (1) TRANSACTION:
TRANSACTION 0 677833455, ACTIVE 0 sec, process no 11393, OS thread id 278546
1. record set: the record set is the query result of a table structure similar to the records that meet the query conditions. use the select statement for query syntax: select column name from table name where query condition expression orderby sort
FLOAT and DOUBLE types support the use of standard floating point operations for approximate calculation. The DECIMAL type is used to store precise decimals. Because the cpu does not support direct DECIMAL computing, in MySQL and later versions, the
This article mainly introduces the mysql prompt ERROR1044 (42000): Accessdeniedforuser
1. problem description:
The following information is displayed when you create a database on the MySQL console:
Mysql> create database python;ERROR 1044 (42000):
This article describes how to disable Mysql logs to protect disk space in lnmp. For more information, see
Mysql installed in the LNMP one-click package enables Mysql logs by default. if the website reads and writes data to the database frequently,
For obtaining the MySQL execution plan, we can view it through the explain method. the explain method looks simple and actually contains a lot of content, especially the type column in the output result. Understanding these different types plays an
1. by default, csv files made in windows are in the gbk character set, while mysql sets the default utf8 character set. Therefore, convert the files to the utf8 format. Iconv-fgbk-tutf8tmpfile name .csv-otmpfile name 2.csv 2. use the SQL command to
This article mainly introduces the summary of MySQL log maintenance policies. if you need a friend, you can refer to the mysql server that will be tossed over the next few days. so I collected some maintenance policies on the Internet and then
Text, varchar, char personal understanding of storage length this document is limited to mysql 5.5 or above
Summary in utf8 format
Mysql provides the following description in mysql official documentation:
1. refer to the following description in
10 configuration items MySQL must adjust from: http://www.opsers.org/server/10-configuration-mysql-mysql-must-adjust-optimization.html
Most configurations can be changed using set global at runtime. This is a very convenient method that enables you
MySQL modifies the default character set
When I was working on a program project today, I needed to modify the default character set of MySQL. Baidu tried several methods in the blog post and finally succeeded. However, I feel that the blog posts
Very useful Linux commands: Ruby
Determine whether a user exists. create a user if the user does not exist
User = 'grep' ^ admin: '/etc/passwd'
If [-z "$ user"]; then
Groupadd admin
Useradd-d/home/admin-s/bin/bash-g admin
Echo '200' | passwd --
InnoDb architecture and features (Innodb storage engine reading notes) background thread
Master Thread
The core background thread is responsible for asynchronously refreshing the data in the buffer pool to the disk. For example, refresh dirty
The InnoDB storage engine innoDB is the default transaction engine of mysql. it is also the most important and widely used storage engine. It is designed to handle a large number of short-term transactions. short-term transactions are normally
On the official website, a bug may be solved in future versions (the current version has been fixed, so it is best to update it). Currently, there are two ways to circumvent this problem: 1: to maximize mysqlworkbench, you can see a small number of
We sometimes need to check the execution history of mysql. for example, when we perform SQL optimization, we should at least know what the executed SQL is. the framework will generally help us assemble the SQL, therefore, the SQL statement may not
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