????2?????????????

?????????????????????????????????????????????????????????????MySQL????????????????????????full-stack?????????????single-component??????????

??????????????????????????????????????MySQL ?????????????????

???????????????????????Web ??????y ????????????????????????????????????????????????MySQL ???????????????????????????

????MySQL ??????????????????????????????????????

??????卸?????????????????????????????????????????

???????????????????????????????????????????????????????????????

????????????妫�????????????????????????????????????谩??????????????????????????????????????????????????????????????????????

???????????????????????????????????????????MySQL ????????????????????????????????????????????????????????MySQL ??

??????????????schema ???????????

????????????????????????????

????????????????????????????????????????????????????“???????”?????????些???????效????

??????????????????????????????????????????????MySQL ?????????????????????????????????????小??????????????????????????????????????????????

??????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????泻?????????????????????????????????????????????????????????????????????????????小?

????2.1 ??????????

????????????????????????????????????????????????????????????????????????????????????t?????????????????????????????????????械????????纾�“????CPU ??????????????”????“????????????????????????”

?????????????貌?????????????????????纾� ???????latency?? ??????????throughput????????貌????????????

??????????????????????????????????

??????????

????????????????位?????????????????????????????????貌???????些???????????????????????TPC-C???慰?http://www.tpc.org????????????????????????????些????????煤贸???????????????????????????????OLTP?????????????????????????????????谩??????????位?????????????TPS??????些??????????????????TPM????

????????????????

?????????????????????????????????????????????????????位?????????????????????????????????位?????????????????小?????????????????????????????????????宀�???????????????????????????????????????????????????????尾???????????????????????????????????e?????????percentile responsetime??????????????????纾�???95% ??????????5 ??????????????95% ???????????????5 ?????????伞?

????????????????????????????????????????????????????????????????95% ????????????????????????????????????????????????些????????????????????????o??娼�????????????????