SQL optimization,Optimization objectives
1. IO reduction is always the easiest bottleneck for databases. This is determined by the database's responsibilities. More than 90% of database operations are occupied by I/O operations, reducing the number
CentOS6.9 install Mysql5.7 and centos6.9mysql5.7CentOS6.9 install Mysql5.7
1. Upload the installation package
2. Create a user and mysql directory 1. Create a mysql Group
Enter the command: groupadd mysql2. Create a mysql user and put it in the
Analysis of game and memo preparation Problems
Today, after the game and Kimono are backed up, they cannot be imported into the target database,
mysql -h10.66.125.733 --port 3306 -u sanda -pX12234455 --default-character-set=utf8 sanda_s10
Mysql 5.7.19 binary latest installation, mysql5.7.19
First download the zip archive version http://dev.mysql.com/downloads/mysql/ from the official website
MySQL v5.7.19 official version (32/64-bit installation version and zip decompress Version)
I.
Description of how MySQL deletes table data with foreign key constraints
When a table or a piece of data is deleted in MySQL
[Err] 1451-Cannot deleteorupdatea parent row: aforeignkeyconstraintfails (...)
This is because the foreign key
Create and Delete tables in mysql
The table creation command must be:
The name of the tables Table.
Region field name
Define each field (type, length, etc)
Syntax
The following is a general SQL syntax used to create a MySQL table:
CREATE
Centos7 mobile mysql5.7.19 data storage location operation method, centos7mysql5.7.19
Scenario: as the data volume increases, the disk of mysql is full and data needs to be moved to a large disk.
Method:
1. Disable mysql Service
service mysqld stop
MySQL removes spaces from a field in batches. mysql fields contain spaces.
Is there any way for Mysql to remove spaces in characters in a field in batches? It is not only a space before and after the string, but also a space in the middle of the
MySQL Optimization for Enterprise Production
Compared with other large databases such as Oracle, DB2, and SQL Server, MySQL has its own shortcomings, but this does not reduce its popularity. For individual users and small and medium-sized
Resolve the problem of selecting the storage time and date type in MySQL.
In general applications, we use the timestamp, datetime, int type to store the time format:
INt (corresponding to Integer or int in javaBean)
1. occupies 4 bytes
2. Fast query
Mysql master-slave synchronization Last_IO_Errno: 1236 error solution, last_io_errno1236
Mysql master-slave synchronization Last_IO_Errno: 1236 what is the cause of the error? How can we solve this problem? Let's take a look at the records and
Mysql uses the find_in_set () function to sort where in () sequentially, and mysqlfind_in_set
This article will introduce you to a tutorial on using the find_in_set () function to sort mysql in the order of where in (). I hope this tutorial will be
Difference between FIND_IN_SET () and IN Mysql: mysqlfind_in_set
The FIND_IN_SET function of Mysql was used in the project some time ago. After a while, the boss found me and said, "This needs to be changed to" IN ". Haha, you can only change it.
How to solve the problem after entering the password in the MySQL database and entering the password in mysql
Share the problem and solution after entering the password in the MySQL database
1 case study
I have been using the MySQL database to
How to view the storage location of MySQL Data Files: mysql file storage
We may have a question:After we installed MySQL locally (on our own computer), we also created many databases, tables, and stored a lot of data, but where have these contents
Explore mysql paging performance and mysql Paging
Several common paging methods:
1. Escalator Mode
The escalator mode generally only provides the previous or next page mode in navigation. Some products do not even provide the previous page function,
Navicat cannot be used to create functions.
The first time I wrote MySQL FUNCTION, I always reported an error,
Err] 1064-You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use
How does one install mysql on linux/mac and forget the password?
Preface
This article describes how to install mysql on linux/mac and how to forget the password. I will share the information for your reference. I will not talk about it here. Let's
Mysql logon warning Solution
I. Preface
We often see a warning when logging on to mysql:
Warning: Using a password on the command line interface can be insecure.
This makes people look uncomfortable, and when writing a script, this warning is output
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