MySQL???????????????
???????????? ???????[ 2014/6/6 13:13:20 ] ????????MySQL ?????
???????????ü??????????????????ζ??????????????????????г????£?(????λ????)
????1.?????????
????(????????????????С?????????
????(1).??????????С???????????(mediumint??int??????)??
????(2).??????????????not null???????????????null??
????(3).?????????????ε??????varchar??????ù????С???????????char??
????(4).???????????t????????????????????????????????????Ч??
????(5).??????????????????????????????????????????????????????????????????????????????????????????Щ??????????????????????????????????????Ρ???????????????????Σ?????????????Щ??Σ????????????????
????(6).???????????????浽?????????д????
????(7).??????ζ???????????
????(8).???Щ????£???????????????????????????????????????????????????????????????С??????????????????????
????2.???????
????(1).??????ó??????
????(2).explain ?????SQL???
????(3).??????????????????????????????α????????????????
????(4).LIMIT??価????? order by ???? distinct??????????????????full table scan??
????(5).??????????????м?????????? truncate table tablename ?????? delete from tablename??
????(6).????? STORE PROCEDURE ???? USER FUNCTION?????
????(7).?????insert????в??????????????????????? load data infile ??????????????????????indert????
????(8).???? OPTIMIZE TABLE ???????????
????(9).?????? date ????????????????????????????????? unsigned int ???????
????3.???????
????(1).????????
??????????????????????????????????У????????????????.
????(2).?????д(IO)
???????????y???в??е????????
????(3).CPU????
??????????????????У???????????CPU?????????????Щ?????
????(4).??????
??????CPU???????????????CPU???????????????????????????.
??????
???·???
??????????????????
2023/3/23 14:23:39???д?ò??????????
2023/3/22 16:17:39????????????????????Щ??
2022/6/14 16:14:27??????????????????????????
2021/10/18 15:37:44???????????????
2021/9/17 15:19:29???·???????·
2021/9/14 15:42:25?????????????
2021/5/28 17:25:47??????APP??????????
2021/5/8 17:01:11