SHOW FULL COLUMNS FROM `product_type` [ RunTime:0.002004s ]
SELECT `id`,`typeid`,`name`,`typestr` FROM `product_type` WHERE `id` NOT IN (11,12,13,14,15) AND `id` <= 750 [ RunTime:0.000500s ]
SHOW FULL COLUMNS FROM `o_cart` [ RunTime:0.002093s ]
SELECT COUNT(*) AS think_count FROM `o_cart` WHERE ( `userId` = 0 AND `visitIP` = '216.73.216.186' ) [ RunTime:0.000321s ]
SHOW FULL COLUMNS FROM `ad` [ RunTime:0.002015s ]
SELECT * FROM `ad` WHERE `isDisplay` = 1 [ RunTime:0.000271s ]
SHOW FULL COLUMNS FROM `icreplace` [ RunTime:0.001804s ]
SELECT COUNT(*) AS think_count FROM `icreplace` `r` LEFT JOIN `stock_brand` `b1` ON `b1`.`id`=`r`.`brandid` LEFT JOIN `stock_brand` `b2` ON `b2`.`id`=`r`.`icbrandid` LEFT JOIN `stock` `s` ON `s`.`partno`=`r`.`partno` LEFT JOIN `product_type` `t` ON `t`.`id`=`s`.`categoryid` [ RunTime:0.000346s ]
SELECT `r`.*,`b1`.`brandshort`,`b1`.`brandcn`,b2.brandshort replaceBrandshort,b2.brandcn replaceBrandcn,`s`.`categoryid`,`s`.`note`,`s`.`imgurl`,`t`.`name` FROM `icreplace` `r` LEFT JOIN `stock_brand` `b1` ON `b1`.`id`=`r`.`brandid` LEFT JOIN `stock_brand` `b2` ON `b2`.`id`=`r`.`icbrandid` LEFT JOIN `stock` `s` ON `s`.`partno`=`r`.`partno` LEFT JOIN `product_type` `t` ON `t`.`id`=`s`.`categoryid` ORDER BY `r`.`id` DESC LIMIT 297180,10 [ RunTime:1.400760s ]
SHOW FULL COLUMNS FROM `stock` [ RunTime:0.002153s ]
SELECT `id` FROM `stock` WHERE `partno` = 'LM393' AND `brand` = 'TI' LIMIT 1 [ RunTime:0.000507s ]
SELECT `id` FROM `stock` WHERE `partno` = 'LM393' LIMIT 1 [ RunTime:0.001543s ]
SELECT `id` FROM `stock` WHERE `partno` = 'AIP393L' LIMIT 1 [ RunTime:0.001636s ]
SELECT `id` FROM `stock` WHERE `partno` = 'TL331LV' AND `brand` = 'TI' LIMIT 1 [ RunTime:0.008323s ]
SELECT `id` FROM `stock` WHERE `partno` = 'TL331LV' LIMIT 1 [ RunTime:0.000267s ]
SELECT `id` FROM `stock` WHERE `partno` = 'AIP331LV' LIMIT 1 [ RunTime:0.000263s ]
SELECT `id` FROM `stock` WHERE `partno` = 'LM311' AND `brand` = 'TI' LIMIT 1 [ RunTime:0.000468s ]
SELECT `id` FROM `stock` WHERE `partno` = 'LM311' LIMIT 1 [ RunTime:0.001597s ]
SELECT `id` FROM `stock` WHERE `partno` = 'AIP311' LIMIT 1 [ RunTime:0.004689s ]
SELECT `id` FROM `stock` WHERE `partno` = 'LM211' AND `brand` = 'TI' LIMIT 1 [ RunTime:0.000441s ]
SELECT `id` FROM `stock` WHERE `partno` = 'LM211' LIMIT 1 [ RunTime:0.001197s ]
SELECT `id` FROM `stock` WHERE `partno` = 'AIP211' LIMIT 1 [ RunTime:0.002532s ]
SELECT `id` FROM `stock` WHERE `partno` = 'LM293' AND `brand` IS NULL LIMIT 1 [ RunTime:0.000336s ]
SELECT `id` FROM `stock` WHERE `partno` = 'LM293' LIMIT 1 [ RunTime:0.000893s ]
SELECT `id` FROM `stock` WHERE `partno` = 'AIP293' LIMIT 1 [ RunTime:0.003456s ]
SELECT `id` FROM `stock` WHERE `partno` = 'LM293' AND `brand` IS NULL LIMIT 1 [ RunTime:0.000158s ]
SELECT `id` FROM `stock` WHERE `partno` = 'LM293' LIMIT 1 [ RunTime:0.000140s ]
SELECT `id` FROM `stock` WHERE `partno` = 'AIP293' LIMIT 1 [ RunTime:0.000141s ]
SELECT `id` FROM `stock` WHERE `partno` = 'LM293' AND `brand` = 'TI' LIMIT 1 [ RunTime:0.000312s ]
SELECT `id` FROM `stock` WHERE `partno` = 'LM293' LIMIT 1 [ RunTime:0.000148s ]
SELECT `id` FROM `stock` WHERE `partno` = 'AIP293' LIMIT 1 [ RunTime:0.000172s ]
SELECT `id` FROM `stock` WHERE `partno` = 'LM393' AND `brand` IS NULL LIMIT 1 [ RunTime:0.001344s ]
SELECT `id` FROM `stock` WHERE `partno` = 'LM393' LIMIT 1 [ RunTime:0.002693s ]
SELECT `id` FROM `stock` WHERE `partno` = 'AIP393' LIMIT 1 [ RunTime:0.001911s ]
SELECT `id` FROM `stock` WHERE `partno` = 'LM393' AND `brand` IS NULL LIMIT 1 [ RunTime:0.000162s ]
SELECT `id` FROM `stock` WHERE `partno` = 'LM393' LIMIT 1 [ RunTime:0.000140s ]
SELECT `id` FROM `stock` WHERE `partno` = 'AIP393' LIMIT 1 [ RunTime:0.000141s ]
SELECT `id` FROM `stock` WHERE `partno` = 'LM393' AND `brand` = 'TI' LIMIT 1 [ RunTime:0.001371s ]
SELECT `id` FROM `stock` WHERE `partno` = 'LM393' LIMIT 1 [ RunTime:0.000151s ]
SELECT `id` FROM `stock` WHERE `partno` = 'AIP393' LIMIT 1 [ RunTime:0.000141s ]