Show processlist shows which threads are running. You can also use the mysqladmin processlist statement to obtain this information. If you have SUPER permission, you can see all the threads. Otherwise, you can only view your own thread (that is, the
In actual applications, when show processlist is used, most of my systems are sending data! That is, I have been wondering why so many sending data stays in my system. It is really not so slow to send query results to the client!The document
1. Show processlist view the number of processes in MySQL
2. freem-M view memory
3. view system running status on top
4. View load in uptime
Use crontab-L to set the threshold, and then send an email alarm.
The Linux uptime command is
Performing State analysisSleep statusUsually indicates that the resource is not released, and if it is through a connection pool, the sleep state should be constant within a certain number of rangesActual combat example: due to the front-end data
A unibilling machine suddenly had a heavy load in the first few days. The CPU is found to be heavily occupied in top. The AGI program runs very slowly, and a zombie process occurs. In fact, there were only about 50 concurrent calls. Far from the
MySQL Thread status descriptionThe most critical of this command is the State column, which is listed in the following categories:
State
Meaning
After create
When a thread creates a table (including temporary
RDS for MySQL is using the InnoDB engine. Unlike the MyISAM engine, which provides only table locks, InnoDB provides different levels of locks. However, in our daily operations, due to improper SQL operations on the database caused a long lock,
Show Processlist shows which threads are running, and if you have super privileges, you can see all the threads, otherwise you will only see your own thread (that is, the thread associated with the MySQL account you are using), and if you do not use
Today testers reflect that a test environment MySQL server query is very slow, sometimes login not on, in top found the CPU is heavily occupied, system memory, Jave program runs very slow, log on to the server,Show full processlist brush screen A
MySQL introduced metadatalock in 5.5. as the name suggests, metadatalock is not designed to protect data in tables, but to protect databaseobjects (database objects. Including table structure, schema, stored procedures, functions, triggers, and
PHP database persistent connection mysql_pconnect details. The persistent connection to MySQL in PHP has a good goal but a bad reputation. Why. After close observation, we found that this guy was not easy. he had a bad reputation for the persistent
PHP's MySQL persistent connection, a good goal, but has a bad reputation, often a very shy. What the hell is this? Close-up observation found that this guy is not easy ah, to see the face of Apache, but also to listen to the MySQL command.For PHP
PHP's MySQL persistent connection, a good goal, but has a bad reputation, often a very shy. What the hell is this? Close-up observation found that this guy is not easy ah, to see the face of Apache, but also to listen to the MySQL command.
For PHP
PHP's MySQL persistent connection, a good goal, but has a bad reputation, often a very shy. What the hell is this? Close-up observation found that this guy is not easy ah, to see the face of Apache, but also to listen to the MySQL command. For PHP
Show ProcesslistShow Processlist shows which threads are running. You can also use the Mysqladmin processlist statement to get this information.The meaning and purpose of each column:ID columnAn identity that is useful when you want to kill a
Sleep statusUsually indicates that the resource is not released, and if it is through a connection pool, the sleep state should be constant within a certain number of rangesActual combat example: due to the front-end data output (especially the
Considerations for MySQL big data operations
Http://netkiller.github.io/journal/mysql.parallel.htmlMr. Neo Chen (netkiller), Chen Jingfeng (BG7NYT)
Xishan Meidi, Minzhi Street, Longhua New District, Shenzhen city, Guangdong province, China518131+ 86
From MySQL Manual
6. MySQL Synchronization
The synchronization function was introduced in MySQL 3.23.15. It can copy data from one MySQL server to another. This chapter describes various replication features of MySQL. This section describes the
Document category: Database
Keyword: MySQL master slave
Recently, due to project requirements, Mysql Data Synchronization has been set on Linux servers. Fortunately, there are a lot of network resources, and Google has all of them, but the actual
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.