1. Login Configuration Interface2. Show ProcesslistView the processes currently in use3. Warnings suggest which parameters you should optimize.4, introduce the configuration of the slow query, the other can be configured on their own, are simple
Server on the use of MySQL command to insert data, many times will encounter the insertion of data garbled problem, export a SQL execution file, and then pour into the unbutn, the result garbled, toss 7-8 minutes,How to SolveWhen exporting the MySQL
In a database table, indexing a field can greatly improve query speed. Suppose we create a mytable table:Copy CodeThe code is as follows: CREATE TABLE mytable (ID INT NOT NULL, username VARCHAR (+) not NULL);We randomly inserted 10,000 records,
Today the company Daniel helped me fix the MySQL initialization password problem, record:~ PS aux | grep MySQLMetro 7149 0.0 0.0 2432772 564 s000 r+ 7:16 pm 0:00.00 grep--color=auto--EXCLUDE-DIR=.BZR--exclude-dir=cvs--exclude-dir =.git--exclude-dir=.
there are several declarative forms of error handling: § If any errors (not notFOUND), set L_error to1to continue execution after:DECLARE CONTINUEHANDLER forSQLEXCEPTIONSETL_error=1§ If any errors occur (not notFOUND), executes rollback and
Recently I have been doing the Order class project, using the transaction. Our database chooses MySQL, the storage engine chooses the INNODB,INNODB to have the good support to the transaction. In this article, we're going to pick up a piece of
The MySQL database disappears if the MySQL root password is not modified by the password () function under the Linux system. Some people may not know and directly modify the root password of MySQL, resulting in the MySQL database disappears problem,
Recently in the study of database backup, scheduled to perform backup tasks, where the backup script is set to the crontab command timed execution, the script content is as follows:[email protected] ~]# cat mysql-backup.sh#!/bin/bashDbpwd= '
Description1, red indicates key parameter2, "Global Cache", "Thread cache", the global cache is all thread sharing, the thread cache is each line thread attached the data when the creation of a thread ( if not set up a thread pool), if there is a 200
Summarize three kinds of MySQL foreign key constraint modeIf Table A's primary key is a field in table B, the field is called the Foreign key of Table B, table A is called the primary table, and table B is called from the table. Foreign keys are
Recently I have been doing the Order class project, using the transaction. Our database chooses MySQL, the storage engine chooses the INNODB,INNODB to have the good support to the transaction. In this article, we're going to pick up a piece of
Open eclipse1. Right-click the project for which you want to import the jar package, click Properties2. Choose Java build path on the left and select libraries on the right.3. Select Add External jars4. Select the jar package according to the pathOK,
(recently in learning MySQL optimization of some problems, the following is a few personal gains, if there is insufficient, please ask!) )Overview: When a table of data is large, such as 200G, it is too large, we only rely on the index is not good,
The main library occupies a large space, found in the OA data directory vigorously Binlog file many, in the server patrol process found that disk space is a large number of occupied, log in from the library to find the actual amount of data, should
The database size remains unchanged after the delete record of mysql is deleted, and mysqldelete
This problem occurs when conditions are followed after the DELETE operation.
Delete from table_name where Condition
After the data is deleted, the
Mysql Replication master-slave synchronization, mysqlreplication
Introduction:
Mysql master-slave synchronization is a common solution for enterprises. It is often used to back up databases. When the client operates the master database, the master
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