SHOW FULL COLUMNS FROM `setting` [ RunTime:0.000516s ]
SHOW FULL COLUMNS FROM `category` [ RunTime:0.000569s ]
SELECT `id`,`category_name`,`myorder` FROM `category` WHERE ( `status` = 'enable' AND `parent_id` = 0 ) AND `category`.`delete_time` IS NULL [ RunTime:0.000458s ]
SELECT * FROM `category` WHERE ( `id` = 15 AND `status` = 'enable' ) AND `category`.`delete_time` IS NULL LIMIT 1 [ RunTime:0.000327s ]
SHOW FULL COLUMNS FROM `user_behavior` [ RunTime:0.000505s ]
SHOW FULL COLUMNS FROM `visitor_profile` [ RunTime:0.000426s ]
SELECT * FROM `visitor_profile` WHERE `visitor_id` = '71b2ae1fe876ef3419feb89c0882487d' AND `dim_type` = 'category' AND `dim_id` = 15 AND `keyword` = '' LIMIT 1 [ RunTime:0.000300s ]
SELECT `id`,`parent_id`,`category_name`,`icon`,`keywords`,`small_intro` FROM `category` WHERE ( `status` = 'enable' ) AND `category`.`delete_time` IS NULL ORDER BY `myorder` DESC [ RunTime:0.000686s ]
SHOW FULL COLUMNS FROM `content` [ RunTime:0.000539s ]
SELECT COUNT(*) AS think_count FROM ( SELECT count(*) AS think_count FROM `content` `content` LEFT JOIN `content_category` `cc` ON `content`.`id`=`cc`.`content_id` WHERE ( `content`.`status` = 'enable' AND `cc`.`delete_time` IS NULL AND `cc`.`category_id` = '15' ) AND `content`.`delete_time` IS NULL GROUP BY `content`.`id` ) `_group_count_` [ RunTime:0.044653s ]
SELECT `content`.`id`,`content`.`title`,`content`.`cover`,`content`.`cover_local`,`content`.`preview`,`content`.`preview_local`,`content`.`duration`,`content`.`target_url`,`content`.`rating`,`content`.`views`,`content`.`hits`,`content`.`published_at`,`content`.`create_time` FROM `content` `content` LEFT JOIN `content_category` `cc` ON `content`.`id`=`cc`.`content_id` WHERE ( `content`.`status` = 'enable' AND `cc`.`delete_time` IS NULL AND `cc`.`category_id` = '15' ) AND `content`.`delete_time` IS NULL GROUP BY `content`.`id` ORDER BY `content`.`myorder` DESC,`content`.`published_at` DESC,`content`.`id` DESC LIMIT 0,24 [ RunTime:0.193799s ]
SHOW FULL COLUMNS FROM `content_i18n` [ RunTime:0.001200s ]
SELECT `title`,`content_id` FROM `content_i18n` WHERE `lang` = 'th' AND `content_id` IN ('1119609','1119610','1119611','1119612','1119613','1119614','1119615','1119616','1119617','1119618','1119619','1119620','1119621','1119622','1119623','1119624','1119625','1119626','1119627','1119628','1119629','1119630','1119631','1119632') [ RunTime:0.000469s ]
SELECT * FROM `visitor_profile` WHERE `visitor_id` = '71b2ae1fe876ef3419feb89c0882487d' [ RunTime:0.001036s ]
SELECT `content_id` FROM `user_behavior` WHERE `visitor_id` = '71b2ae1fe876ef3419feb89c0882487d' AND `content_id` > 0 AND `action` = 'click' LIMIT 500 [ RunTime:0.001487s ]
SELECT `content`.`id`,`content`.`title`,`content`.`cover`,`content`.`cover_local`,`content`.`preview`,`content`.`preview_local`,`content`.`duration`,`content`.`target_url`,`content`.`rating`,`content`.`views`,`content`.`hits`,`content`.`published_at`,`content`.`create_time` FROM `content` `content` WHERE ( `content`.`status` = 'enable' AND `content`.`id` IN ('418142','323200','238317','1083387','175141','1069089','831728','1082797') ) AND `content`.`delete_time` IS NULL [ RunTime:0.000505s ]
SELECT `title`,`content_id` FROM `content_i18n` WHERE `lang` = 'th' AND `content_id` IN ('418142','323200','238317','1083387','175141','1069089','831728','1082797') [ RunTime:0.000937s ]
SHOW FULL COLUMNS FROM `ab_stat` [ RunTime:0.000484s ]
SELECT * FROM `ab_stat` WHERE `stat_date` = '2026-06-09' AND `ab_group` = 'B' AND `scene` = 'category' LIMIT 1 [ RunTime:0.000271s ]
UPDATE `ab_stat` SET `impressions` = 2824 , `update_time` = 1780996171 WHERE ( `id` = 20 ) [ RunTime:0.000249s ]
SHOW FULL COLUMNS FROM `ad` [ RunTime:0.000530s ]
SELECT * FROM `ad` WHERE ( `slot` = 'sidebar' AND `status` = 'enable' AND ( `start_time` IS NULL OR `start_time` <= '2026-06-09 17:09:31' ) AND ( `end_time` IS NULL OR `end_time` >= '2026-06-09 17:09:31' ) ) AND `ad`.`delete_time` IS NULL ORDER BY `myorder` DESC,`id` ASC [ RunTime:0.000394s ]