[ DB ] CONNECT:[ UseTime:0.000294s ] mysql:host=localhost;port=3306;dbname=www_novissa_cn;charset=utf8
[ SQL ] SHOW COLUMNS FROM `tp_config` [ RunTime:0.000935s ]
[ SQL ] SELECT * FROM `tp_config` [ RunTime:0.000365s ]
[ SQL ] SHOW COLUMNS FROM `tp_goods_category` [ RunTime:0.000791s ]
[ SQL ] SELECT * FROM `tp_goods_category` WHERE `is_show` = 1 ORDER BY `sort_order` [ RunTime:0.000370s ]
[ SQL ] SHOW COLUMNS FROM `tp_brand` [ RunTime:0.000689s ]
[ SQL ] SELECT `id`,`name`,`parent_cat_id`,`logo`,`is_hot` FROM `tp_brand` WHERE ( parent_cat_id>0 ) [ RunTime:0.000240s ]
[ SQL ] SELECT * FROM `tp_config` WHERE `inc_type` = 'shop_info' [ RunTime:0.000292s ]
[ SQL ] SHOW COLUMNS FROM `tp_article_cat` [ RunTime:0.000760s ]
[ SQL ] SELECT * FROM `tp_article_cat` WHERE ( parent_id = 1 ) [ RunTime:0.000206s ]
[ SQL ] SHOW COLUMNS FROM `tp_goods` [ RunTime:0.000908s ]
[ SQL ] SELECT * FROM `tp_goods` WHERE `goods_id` = 8 LIMIT 1 [ RunTime:0.000379s ]
[ SQL ] SELECT `name` FROM `tp_brand` WHERE `id` = 2 LIMIT 1 [ RunTime:0.000193s ]
[ SQL ] SHOW COLUMNS FROM `tp_goods_images` [ RunTime:0.000654s ]
[ SQL ] SELECT * FROM `tp_goods_images` WHERE `goods_id` = 8 [ RunTime:0.000216s ]
[ SQL ] SHOW COLUMNS FROM `tp_goods_attribute` [ RunTime:0.000674s ]
[ SQL ] SELECT `attr_id`,`attr_name` FROM `tp_goods_attribute` [ RunTime:0.000220s ]
[ SQL ] SHOW COLUMNS FROM `tp_goods_attr` [ RunTime:0.000653s ]
[ SQL ] SELECT `tp_goods_attr`.*,`tp_goods_attribute`.`attr_name` FROM `tp_goods_attr` INNER JOIN `tp_goods_attribute` ON `tp_goods_attr`.`attr_id`=`tp_goods_attribute`.`attr_id` WHERE `tp_goods_attr`.`goods_id` = 8 ORDER BY tp_goods_attribute.order desc,tp_goods_attribute.attr_id asc [ RunTime:0.000677s ]
[ SQL ] SHOW COLUMNS FROM `tp_spec_goods_price` [ RunTime:0.000715s ]
[ SQL ] SELECT GROUP_CONCAT(`key` ORDER BY store_count desc SEPARATOR '_') FROM `tp_spec_goods_price` WHERE `goods_id` = 8 LIMIT 1 [ RunTime:0.000244s ]
[ SQL ] SELECT * FROM `tp_spec_goods_price` WHERE `goods_id` = 8 [ RunTime:0.000235s ]
[ SQL ] SHOW COLUMNS FROM `tp_spec_image` [ RunTime:0.000656s ]
[ SQL ] SELECT `spec_image_id`,`src` FROM `tp_spec_image` WHERE `goods_id` = 8 AND `src` <> '' [ RunTime:0.000228s ]
[ SQL ] SELECT a.name,a.order,b.* FROM tp_spec AS a INNER JOIN tp_spec_item AS b ON a.id = b.spec_id WHERE b.id IN(27) ORDER BY b.id [ RunTime:0.000204s ]
[ SQL ] SELECT * FROM `tp_config` WHERE `inc_type` = 'shopping' [ RunTime:0.000270s ]
[ SQL ] SELECT `key`,`item_id`,`price`,`store_count` FROM `tp_spec_goods_price` WHERE `goods_id` = 8 [ RunTime:0.000218s ]
[ SQL ] UPDATE `tp_goods` SET `click_count`=1072 WHERE `goods_id` = 8 [ RunTime:0.004980s ]
[ SQL ] SHOW COLUMNS FROM `tp_comment` [ RunTime:0.000743s ]
[ SQL ] SELECT COUNT(*) AS tp_count FROM `tp_comment` WHERE `is_show` = 1 AND `goods_id` = 8 AND `parent_id` = 0 AND `user_id` > 0 AND ( ceil((deliver_rank + goods_rank + service_rank) / 3) in (4,5) ) LIMIT 1 [ RunTime:0.000279s ]
[ SQL ] SELECT COUNT(*) AS tp_count FROM `tp_comment` WHERE `is_show` = 1 AND `goods_id` = 8 AND `parent_id` = 0 AND `user_id` > 0 AND ( ceil((deliver_rank + goods_rank + service_rank) / 3) in (3) ) LIMIT 1 [ RunTime:0.000269s ]
[ SQL ] SELECT COUNT(*) AS tp_count FROM `tp_comment` WHERE `is_show` = 1 AND `goods_id` = 8 AND `parent_id` = 0 AND `user_id` > 0 AND ( ceil((deliver_rank + goods_rank + service_rank) / 3) in (0,1,2) ) LIMIT 1 [ RunTime:0.000260s ]
[ SQL ] SELECT COUNT(*) AS tp_count FROM `tp_comment` WHERE `is_show` = 1 AND `goods_id` = 8 AND `parent_id` = 0 AND `user_id` > 0 AND ( img !='' and img NOT LIKE 'N;%' ) LIMIT 1 [ RunTime:0.000281s ]
[ SQL ] SELECT `cat_id` FROM `tp_goods` WHERE `goods_id` = 8 LIMIT 1 [ RunTime:0.000202s ]
[ SQL ] SELECT `id`,`name`,`parent_id` FROM `tp_goods_category` [ RunTime:0.000175s ]
[ SQL ] SELECT * FROM `tp_goods_category` WHERE `id` = 4 LIMIT 1 [ RunTime:0.000200s ]
[ SQL ] SELECT * FROM `tp_goods_category` WHERE `id` <> 4 AND `parent_id` = 1 [ RunTime:0.000262s ]
[ SQL ] SELECT * FROM `tp_goods` WHERE `goods_id` <> 8 AND `cat_id` <> 4 AND `is_on_sale` = 1 LIMIT 12 [ RunTime:0.000380s ]