SHOW FULL COLUMNS FROM `xms_category` [ RunTime:0.000697s ]
SELECT * FROM `xms_category` WHERE ( states=1 and isnav=1 and pid=0 ) ORDER BY sortid asc [ RunTime:0.000412s ]
SELECT * FROM `xms_category` WHERE `id` = 13 LIMIT 1 [ RunTime:0.000299s ]
SELECT * FROM `xms_category` WHERE `id` = 3 LIMIT 1 [ RunTime:0.000220s ]
SHOW FULL COLUMNS FROM `xms_site` [ RunTime:0.000447s ]
SELECT * FROM `xms_site` WHERE `id` = 1 LIMIT 1 [ RunTime:0.000213s ]
SHOW FULL COLUMNS FROM `xms_document` [ RunTime:0.000520s ]
SELECT `id`,`title`,`seotitle`,`seokeywords`,`seodescription` FROM `xms_document` WHERE `id` = 351 LIMIT 1 [ RunTime:0.000169s ]
SELECT `id`,`pid`,`orderby`,`suborderby` FROM `xms_category` WHERE `id` = 5 LIMIT 1 [ RunTime:0.000185s ]
SELECT * FROM `xms_document` WHERE ( states=1 and catid=5 ) ORDER BY sortid desc,createtime desc [ RunTime:0.000744s ]
SELECT `id`,`pid`,`orderby`,`suborderby` FROM `xms_category` WHERE `id` = 16 LIMIT 1 [ RunTime:0.000157s ]
SELECT * FROM `xms_document` WHERE ( states=1 and catid=16 ) ORDER BY sortid desc,createtime desc [ RunTime:0.000762s ]
SELECT * FROM `xms_category` WHERE ( states=1 and isnav=1 and pid=1 ) ORDER BY sortid asc [ RunTime:0.000356s ]
SELECT * FROM `xms_category` WHERE ( states=1 and isnav=1 and pid=1 ) ORDER BY sortid asc [ RunTime:0.000365s ]
SELECT * FROM `xms_category` WHERE ( states=1 and isnav=1 and pid=2 ) ORDER BY sortid asc [ RunTime:0.000349s ]
SELECT * FROM `xms_category` WHERE ( states=1 and isnav=1 and pid=3 ) ORDER BY sortid asc [ RunTime:0.000296s ]
SELECT * FROM `xms_category` WHERE ( states=1 and isnav=1 and pid=4 ) ORDER BY sortid asc [ RunTime:0.000283s ]
SELECT * FROM `xms_document` WHERE `id` = 351 LIMIT 1 [ RunTime:0.000287s ]
SELECT `id`,`catid`,`sortid`,`createtime` FROM `xms_document` WHERE `id` = 351 LIMIT 1 [ RunTime:0.000172s ]
SELECT `id`,`title`,`orderby`,`suborderby` FROM `xms_category` WHERE `id` = 13 LIMIT 1 [ RunTime:0.000147s ]
(SELECT rownum - 1 AS `ROW` FROM (SELECT *, (@i :=@i + 1) AS rownum FROM xms_document, (SELECT @i := 0) AS it WHERE states=1 and catid=13 ORDER BY sortid desc,createtime desc ) AS t1 WHERE id = 351) [ RunTime:0.001722s ]
(SELECT * FROM (SELECT (@i :=@i + 1) AS rownum,a.* FROM (SELECT @i := 0) AS it, xms_document AS a WHERE states=1 and catid=13 ORDER BY sortid desc,createtime desc) AS t1 WHERE rownum =7) [ RunTime:0.001892s ]
SELECT `id`,`catid`,`sortid`,`createtime` FROM `xms_document` WHERE `id` = 351 LIMIT 1 [ RunTime:0.000183s ]
SELECT `id`,`title`,`orderby`,`suborderby` FROM `xms_category` WHERE `id` = 13 LIMIT 1 [ RunTime:0.000142s ]
(SELECT rownum + 1 AS `ROW` FROM (SELECT *, (@i :=@i + 1) AS rownum FROM xms_document, (SELECT @i := 0) AS it WHERE states=1 and catid=13 ORDER BY sortid desc,createtime desc ) AS t1 WHERE id = 351) [ RunTime:0.001613s ]
(SELECT * FROM (SELECT (@i :=@i + 1) AS rownum,a.* FROM (SELECT @i := 0) AS it, xms_document AS a WHERE states=1 and catid=13 ORDER BY sortid desc,createtime desc) AS t1 WHERE rownum =9) [ RunTime:0.001771s ]
SELECT * FROM `xms_document` WHERE ( catid='32' and states=1 ) ORDER BY `id` DESC LIMIT 1 [ RunTime:0.000819s ]