如果你让他去用linux搭建一个web服务器,做一个linux网关,他就什么都不会了.他们把时间都浪费在了版本的转换上了.
bsp;|(initialization)|0.00000425|</P>|checkingquerycacheforquery|0.00004050|
|checkingpermissions|0.00001050|
|Openingtables|0.00018250|
|Systemlock|0.00000450|
|Tablelock|0.00001775|
|init|0.00001075|
|optimizing|0.00000550|
|executing|0.00002775|
|end|0.00000450|
|queryend|0.00000325|
|storingresultinquerycache|0.00000400|
|freeingitems|0.00000400|
|closingtables|0.00000500|
|loggingslowquery|0.00000300|
+--------------------------------+------------+
15rowsinset(0.00sec)
mysql>SHOWPROFILEFORQUERY28;
+-------------------------------------+------------+
|Status|Duration|
+-------------------------------------+------------+
|(initialization)|0.00000350|
|checkingquerycacheforquery|0.00000750|
|checkingprivilegesoncachedquery|0.00000500|
|checkingpermissions|0.00000525|
|sendingcachedresulttoclient|0.00001275|
|loggingslowquery|0.00000450|
+-------------------------------------+------------+
6rowsinset(0.00sec)mysql>SELECTsum(FORMAT(DURATION,6))ASDURATIONFROMINFORMATION_SCHEMA.PROFILINGWHEREQUERY_ID=27ORDERBYSEQ;
+----------+
|DURATION|
+----------+
|0.000326|
+----------+
1rowinset(0.00sec)mysql>SELECTsum(FORMAT(DURATION,6))ASDURATIONFROMINFORMATION_SCHEMA.PROFILINGWHEREQUERY_ID=28ORDERBYSEQ;
+----------+
|DURATION|
+----------+
|0.000039|
+----------+
1rowinset(0.00sec)
mysql>
从下面的例子中我们能够明晰的看出2次实行count语句的不同,SHOWPROFILEFORQUERY27展示的是第一次count统计的实行历程,包括了Openingtables、Tablelock等操纵。而SHOWPROFILEFORQUERY28展现了第二次count统计的实行历程,第二次count间接从查询缓存中前往count统计了局,经由过程对照2次统计的总实行工夫发明,缓存读的速率靠近物理读的10倍。经由过程利用SQL功能剖析器能够匡助我们对一些对照难以断定功能成绩的SQL举行诊断,找出成绩本源。
</p>上一页12
经常看到有人问用什么版本的linux好,其实只要你认真学习无论什么版本都挺好的。 |