WEB开发网
开发学院数据库MySQL Mysql教程:性能跟踪语句 阅读

Mysql教程:性能跟踪语句

 2008-08-30 11:07:25 来源:WEB开发网   
核心提示: 4 rows in set (0.00 sec)mysql> show profile cpu,block io,memory,swaps for query 4;+--+---+---++--+---+---+| Status | Duration| CPU_user| CPU_s

4 rows in set (0.00 sec)

mysql> show profile cpu,block io,memory,swaps for query 4;

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

| Status            | Duration | CPU_user | CPU_system | Block_ops_in | Block_ops_out | Swaps |

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

| (initialization)       | 0.000038 | 0     | 0     |      0 |       0 |   0 |

| checking permissions     | 0.000016 | 0     | 0     |      0 |       0 |   0 |

| Opening tables        | 0.000014 | 0     | 0     |      0 |       0 |   0 |

| System lock         | 0.000007 | 0     | 0     |      0 |       0 |   0 |

| Table lock          | 0.000013 | 0     | 0     |      0 |       0 |   0 |

| init             | 0.000015 | 0     | 0     |      0 |       0 |   0 |

| optimizing          | 0.000006 | 0     | 0     |      0 |       0 |   0 |

| statistics          | 0.000012 | 0     | 0     |      0 |       0 |   0 |

| preparing          | 0.000011 | 0     | 0     |      0 |       0 |   0 |

上一页  1 2 3 4 5 6 7 8 9 10  下一页

Tags:Mysql 教程 性能

编辑录入:爽爽 [复制链接] [打 印]
赞助商链接