SHOW FULL COLUMNS FROM `index_category` [ RunTime:0.000306s ]
SELECT * FROM `index_category` WHERE ( `status` = 1 ) AND `index_category`.`delete_time` IS NULL [ RunTime:0.000259s ]
SHOW FULL COLUMNS FROM `index_region` [ RunTime:0.001093s ]
SELECT * FROM `index_region` WHERE ( `status` = 1 ) AND `index_region`.`delete_time` IS NULL [ RunTime:0.000678s ]
SHOW FULL COLUMNS FROM `index_site` [ RunTime:0.001338s ]
SELECT * FROM `index_site` WHERE ( `id` = 1 AND `status` = 1 ) AND `index_site`.`delete_time` IS NULL LIMIT 1 [ RunTime:0.000007s ]
SHOW FULL COLUMNS FROM `index_article` [ RunTime:0.000999s ]
UPDATE `index_article` SET `view` = `view` + 1 WHERE ( `id` = 999 AND `status` = 1 ) AND `index_article`.`delete_time` IS NULL [ RunTime:0.002358s ]
SELECT * FROM `index_article` WHERE ( `id` = 999 AND `status` = 1 ) AND `index_article`.`delete_time` IS NULL LIMIT 1 [ RunTime:0.000487s ]
SELECT * FROM `index_category` WHERE ( `id` = 2 ) AND `index_category`.`delete_time` IS NULL [ RunTime:0.000353s ]
SELECT * FROM `index_region` WHERE ( `id` = 9 ) AND `index_region`.`delete_time` IS NULL [ RunTime:0.000026s ]
SELECT * FROM `index_category` WHERE ( `id` = 2 ) AND `index_category`.`delete_time` IS NULL LIMIT 1 [ RunTime:0.000000s ]
SELECT * FROM `index_region` WHERE ( `id` = 9 ) AND `index_region`.`delete_time` IS NULL LIMIT 1 [ RunTime:0.000268s ]
SELECT * FROM `index_article` WHERE ( `category_id` = 2 AND `region_id` = 9 AND `status` = 1 ) AND `index_article`.`delete_time` IS NULL ORDER BY `id` DESC LIMIT 10 [ RunTime:0.006001s ]
SELECT * FROM `index_article` WHERE ( `region_id` = 9 AND `status` = 1 ) AND `index_article`.`delete_time` IS NULL ORDER BY `id` DESC LIMIT 10 [ RunTime:0.000973s ]