Home  >  Article  >  Database  >  MySQL慢查询专题_MySQL

MySQL慢查询专题_MySQL

WBOY
WBOYOriginal
2016-06-01 13:36:031228browse

bitsCN.com


MySQL慢查询专题

 

相关命令: 

mysql> show variables like 'slow%'; 

+---------------------+--------------------------------+ 

| Variable_name       | Value                          | 

+---------------------+--------------------------------+ 

| slow_launch_time    | 2                              | 

| slow_query_log      | OFF                            | 

| slow_query_log_file | /var/lib/mysql/mysql1-slow.log | 

+---------------------+--------------------------------+ 

3 rows in set (0.00 sec) 

bitsCN.com
Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn