環(huán)境:mysql引擎:innodb?表結(jié)構(gòu):mh_uid_user兩個(gè)字段,username為索引mh_user?八個(gè)字段,username為索引500W條數(shù)據(jù)時(shí),insert一條數(shù)據(jù)的執(zhí)行時(shí)間是20ms+根據(jù)主鍵或索引select一條數(shù)據(jù)差不多是1-10ms全局select一條數(shù)據(jù)估計(jì)是3s?。。?第一條根據(jù)索...[繼續(xù)閱讀]