摘要: 最近遇到一条SQL线上执行超过5s,这显然无法忍受了,必须要优化了。 首先看眼库表结构和SQL语句。CREATE TABLE `xxxxx` ( `id` bigint(20) NOT NULL AUTO_INCREMENT, `owner` bigint(20) NOT NULL, `publicStatus` int(11) NOT NULL DEFAULT '0', `title` varchar(512) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT '', `type 阅读全文
posted @ 2013-11-20 15:06 billy鹏 阅读(6021) 评论(0) 推荐(1) 编辑