SHOW FULL COLUMNS FROM `ems_configs` [ RunTime:0.050143s ]
SELECT * FROM `ems_configs` WHERE `pid` > 0 [ RunTime:0.019321s ]
SHOW FULL COLUMNS FROM `ems_info` [ RunTime:0.057548s ]
SELECT * FROM `ems_info` WHERE `id` = 5 LIMIT 1 [ RunTime:0.021648s ]
UPDATE `ems_info` SET `views` = `views` + 1 WHERE `id` = 5 [ RunTime:0.018865s ]
SHOW FULL COLUMNS FROM `ems_category` [ RunTime:0.009465s ]
SELECT * FROM `ems_category` WHERE `id` = 24 LIMIT 1 [ RunTime:0.008253s ]
SELECT * FROM `ems_category` WHERE `id` = 24 LIMIT 1 [ RunTime:0.025606s ]
SELECT * FROM `ems_category` WHERE `id` = 5 LIMIT 1 [ RunTime:0.019185s ]
SELECT * FROM `ems_category` WHERE `id` = 24 LIMIT 1 [ RunTime:0.010106s ]
SELECT * FROM `ems_category` WHERE `id` = 5 LIMIT 1 [ RunTime:0.018249s ]
SELECT * FROM `ems_category` WHERE `pid` = 0 ORDER BY `sorting` ASC,`id` ASC [ RunTime:0.057468s ]
SELECT COUNT(*) AS think_count FROM `ems_category` WHERE `pid` = 1 [ RunTime:0.004044s ]
SELECT COUNT(*) AS think_count FROM `ems_category` WHERE `pid` = 2 [ RunTime:0.008560s ]
SELECT COUNT(*) AS think_count FROM `ems_category` WHERE `pid` = 3 [ RunTime:0.003270s ]
SELECT COUNT(*) AS think_count FROM `ems_category` WHERE `pid` = 4 [ RunTime:0.003174s ]
SELECT COUNT(*) AS think_count FROM `ems_category` WHERE `pid` = 5 [ RunTime:0.003451s ]
SELECT COUNT(*) AS think_count FROM `ems_category` WHERE `pid` = 6 [ RunTime:0.005464s ]
SELECT COUNT(*) AS think_count FROM `ems_category` WHERE `pid` = 7 [ RunTime:0.006429s ]
SELECT COUNT(*) AS think_count FROM `ems_category` WHERE `pid` = 8 [ RunTime:0.003025s ]
SELECT COUNT(*) AS think_count FROM `ems_category` WHERE `pid` = 31 [ RunTime:0.002518s ]
SELECT COUNT(*) AS think_count FROM `ems_category` WHERE `pid` = 32 [ RunTime:0.002612s ]
SELECT * FROM `ems_category` WHERE `pid` = 1 ORDER BY `sorting` ASC,`id` ASC [ RunTime:0.002747s ]
SELECT COUNT(*) AS think_count FROM `ems_category` WHERE `pid` = 17 [ RunTime:0.002489s ]
SELECT COUNT(*) AS think_count FROM `ems_category` WHERE `pid` = 18 [ RunTime:0.003359s ]
SELECT COUNT(*) AS think_count FROM `ems_category` WHERE `pid` = 19 [ RunTime:0.001545s ]
SELECT * FROM `ems_category` WHERE `pid` = 2 ORDER BY `sorting` ASC,`id` ASC [ RunTime:0.004458s ]
SELECT COUNT(*) AS think_count FROM `ems_category` WHERE `pid` = 9 [ RunTime:0.001090s ]
SELECT COUNT(*) AS think_count FROM `ems_category` WHERE `pid` = 10 [ RunTime:0.005055s ]
SELECT COUNT(*) AS think_count FROM `ems_category` WHERE `pid` = 11 [ RunTime:0.002523s ]
SELECT COUNT(*) AS think_count FROM `ems_category` WHERE `pid` = 12 [ RunTime:0.002475s ]
SELECT COUNT(*) AS think_count FROM `ems_category` WHERE `pid` = 13 [ RunTime:0.004365s ]
SELECT COUNT(*) AS think_count FROM `ems_category` WHERE `pid` = 14 [ RunTime:0.004897s ]
SELECT COUNT(*) AS think_count FROM `ems_category` WHERE `pid` = 15 [ RunTime:0.004400s ]
SELECT COUNT(*) AS think_count FROM `ems_category` WHERE `pid` = 16 [ RunTime:0.015763s ]
SELECT * FROM `ems_category` WHERE `pid` = 4 ORDER BY `sorting` ASC,`id` ASC [ RunTime:0.008423s ]
SELECT COUNT(*) AS think_count FROM `ems_category` WHERE `pid` = 20 [ RunTime:0.050460s ]
SELECT COUNT(*) AS think_count FROM `ems_category` WHERE `pid` = 21 [ RunTime:0.007991s ]
SELECT COUNT(*) AS think_count FROM `ems_category` WHERE `pid` = 22 [ RunTime:0.009775s ]
SELECT * FROM `ems_category` WHERE `pid` = 5 ORDER BY `sorting` ASC,`id` ASC [ RunTime:0.018496s ]
SELECT COUNT(*) AS think_count FROM `ems_category` WHERE `pid` = 23 [ RunTime:0.008238s ]
SELECT COUNT(*) AS think_count FROM `ems_category` WHERE `pid` = 24 [ RunTime:0.006494s ]
SELECT * FROM `ems_category` WHERE `pid` = 8 ORDER BY `sorting` ASC,`id` ASC [ RunTime:0.006656s ]
SELECT COUNT(*) AS think_count FROM `ems_category` WHERE `pid` = 25 [ RunTime:0.007753s ]
SELECT COUNT(*) AS think_count FROM `ems_category` WHERE `pid` = 26 [ RunTime:0.006478s ]
SELECT `id` FROM `ems_category` WHERE `pid` = 4 [ RunTime:0.006734s ]
SELECT `id` FROM `ems_category` WHERE `pid` IN (20,21,22) [ RunTime:0.006667s ]
SELECT COUNT(*) AS think_count FROM `ems_info` WHERE `is_hide` = 0 AND `cid` IN (4,20,21,22) [ RunTime:0.005419s ]
SELECT `id`,`cid`,`title`,`sub_title`,`intro`,`pic`,`add_time`,`pub_time`,`add_user`,`sorting`,`is_hide`,`author`,`source`,`views`,`tags`,`is_top`,`is_rec`,`is_auth` FROM `ems_info` WHERE `is_hide` = 0 AND `cid` IN (4,20,21,22) LIMIT 0,8 [ RunTime:0.007661s ]
SELECT `name` FROM `ems_category` WHERE `id` = 20 LIMIT 1 [ RunTime:0.018233s ]
SELECT * FROM `ems_category` WHERE `id` = 1 ORDER BY `sorting` ASC,`id` ASC [ RunTime:0.010211s ]
SELECT COUNT(*) AS think_count FROM `ems_category` WHERE `pid` = 1 [ RunTime:0.004993s ]
SELECT * FROM `ems_category` WHERE `pid` = 1 ORDER BY `sorting` ASC,`id` ASC LIMIT 6 [ RunTime:0.005132s ]
SELECT COUNT(*) AS think_count FROM `ems_category` WHERE `pid` = 17 [ RunTime:0.005619s ]
SELECT COUNT(*) AS think_count FROM `ems_category` WHERE `pid` = 18 [ RunTime:0.005717s ]
SELECT COUNT(*) AS think_count FROM `ems_category` WHERE `pid` = 19 [ RunTime:0.016587s ]
SELECT * FROM `ems_category` WHERE `id` = 12 ORDER BY `sorting` ASC,`id` ASC [ RunTime:0.006895s ]
SELECT COUNT(*) AS think_count FROM `ems_category` WHERE `pid` = 12 [ RunTime:0.003701s ]
SELECT * FROM `ems_category` WHERE `id` IN (1,2,3,4,5) ORDER BY `sorting` ASC,`id` ASC [ RunTime:0.004860s ]
SELECT COUNT(*) AS think_count FROM `ems_category` WHERE `pid` = 1 [ RunTime:0.007484s ]
SELECT COUNT(*) AS think_count FROM `ems_category` WHERE `pid` = 2 [ RunTime:0.009246s ]
SELECT COUNT(*) AS think_count FROM `ems_category` WHERE `pid` = 3 [ RunTime:0.003757s ]
SELECT COUNT(*) AS think_count FROM `ems_category` WHERE `pid` = 4 [ RunTime:0.007680s ]
SELECT COUNT(*) AS think_count FROM `ems_category` WHERE `pid` = 5 [ RunTime:0.002619s ]
SELECT * FROM `ems_category` WHERE `pid` = 1 ORDER BY `sorting` ASC,`id` ASC LIMIT 4 [ RunTime:0.010327s ]
SELECT COUNT(*) AS think_count FROM `ems_category` WHERE `pid` = 17 [ RunTime:0.005823s ]
SELECT COUNT(*) AS think_count FROM `ems_category` WHERE `pid` = 18 [ RunTime:0.003224s ]
SELECT COUNT(*) AS think_count FROM `ems_category` WHERE `pid` = 19 [ RunTime:0.002825s ]
SELECT * FROM `ems_category` WHERE `pid` = 2 ORDER BY `sorting` ASC,`id` ASC LIMIT 4 [ RunTime:0.015410s ]
SELECT COUNT(*) AS think_count FROM `ems_category` WHERE `pid` = 9 [ RunTime:0.005412s ]
SELECT COUNT(*) AS think_count FROM `ems_category` WHERE `pid` = 10 [ RunTime:0.003264s ]
SELECT COUNT(*) AS think_count FROM `ems_category` WHERE `pid` = 11 [ RunTime:0.001086s ]
SELECT COUNT(*) AS think_count FROM `ems_category` WHERE `pid` = 12 [ RunTime:0.002751s ]
SELECT * FROM `ems_category` WHERE `pid` = 3 ORDER BY `sorting` ASC,`id` ASC LIMIT 4 [ RunTime:0.001216s ]
SELECT * FROM `ems_category` WHERE `pid` = 4 ORDER BY `sorting` ASC,`id` ASC LIMIT 4 [ RunTime:0.005104s ]
SELECT COUNT(*) AS think_count FROM `ems_category` WHERE `pid` = 20 [ RunTime:0.004017s ]
SELECT COUNT(*) AS think_count FROM `ems_category` WHERE `pid` = 21 [ RunTime:0.002959s ]
SELECT COUNT(*) AS think_count FROM `ems_category` WHERE `pid` = 22 [ RunTime:0.000977s ]
SELECT * FROM `ems_category` WHERE `pid` = 5 ORDER BY `sorting` ASC,`id` ASC LIMIT 4 [ RunTime:0.001053s ]
SELECT COUNT(*) AS think_count FROM `ems_category` WHERE `pid` = 23 [ RunTime:0.006147s ]
SELECT COUNT(*) AS think_count FROM `ems_category` WHERE `pid` = 24 [ RunTime:0.002645s ]