SHOW FULL COLUMNS FROM `product_type` [ RunTime:0.001466s ]
SELECT `id`,`typeid`,`name`,`typestr` FROM `product_type` WHERE `id` NOT IN (11,12,13,14,15) AND `id` <= 750 [ RunTime:0.003417s ]
SHOW FULL COLUMNS FROM `o_cart` [ RunTime:0.002494s ]
SELECT COUNT(*) AS think_count FROM `o_cart` WHERE ( `userId` = 0 AND `visitIP` = '216.73.216.186' ) [ RunTime:0.003125s ]
SHOW FULL COLUMNS FROM `ad` [ RunTime:0.001816s ]
SELECT * FROM `ad` WHERE `isDisplay` = 1 [ RunTime:0.000268s ]
SHOW FULL COLUMNS FROM `icreplace` [ RunTime:0.001863s ]
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.012077s ]
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 297160,10 [ RunTime:1.921735s ]
SHOW FULL COLUMNS FROM `stock` [ RunTime:0.001613s ]
SELECT `id` FROM `stock` WHERE `partno` = 'LM321/221' AND `brand` IS NULL LIMIT 1 [ RunTime:0.006389s ]
SELECT `id` FROM `stock` WHERE `partno` = 'LM321/221' LIMIT 1 [ RunTime:0.002285s ]
SELECT `id` FROM `stock` WHERE `partno` = 'AIP321' LIMIT 1 [ RunTime:0.017695s ]
SELECT `id` FROM `stock` WHERE `partno` = 'LM321' AND `brand` = 'TI' LIMIT 1 [ RunTime:0.008509s ]
SELECT `id` FROM `stock` WHERE `partno` = 'LM321' LIMIT 1 [ RunTime:0.009942s ]
SELECT `id` FROM `stock` WHERE `partno` = 'AIP321' LIMIT 1 [ RunTime:0.007151s ]
SELECT `id` FROM `stock` WHERE `partno` = 'LM358S' AND `brand` IS NULL LIMIT 1 [ RunTime:0.022971s ]
SELECT `id` FROM `stock` WHERE `partno` = 'LM358S' LIMIT 1 [ RunTime:0.000625s ]
SELECT `id` FROM `stock` WHERE `partno` = 'AIP358S' LIMIT 1 [ RunTime:0.005046s ]
SELECT `id` FROM `stock` WHERE `partno` = 'LM358S' AND `brand` = 'TI' LIMIT 1 [ RunTime:0.015496s ]
SELECT `id` FROM `stock` WHERE `partno` = 'LM358S' LIMIT 1 [ RunTime:0.025684s ]
SELECT `id` FROM `stock` WHERE `partno` = 'AIP358S' LIMIT 1 [ RunTime:0.013307s ]
SELECT `id` FROM `stock` WHERE `partno` = 'LM258' AND `brand` IS NULL LIMIT 1 [ RunTime:0.003142s ]
SELECT `id` FROM `stock` WHERE `partno` = 'LM258' LIMIT 1 [ RunTime:0.004762s ]
SELECT `id` FROM `stock` WHERE `partno` = 'AIP258' LIMIT 1 [ RunTime:0.031323s ]
SELECT `id` FROM `stock` WHERE `partno` = 'LM258' AND `brand` = 'TI' LIMIT 1 [ RunTime:0.008344s ]
SELECT `id` FROM `stock` WHERE `partno` = 'LM258' LIMIT 1 [ RunTime:0.000388s ]
SELECT `id` FROM `stock` WHERE `partno` = 'AIP258' LIMIT 1 [ RunTime:0.010635s ]
SELECT `id` FROM `stock` WHERE `partno` = 'LM358' AND `brand` IS NULL LIMIT 1 [ RunTime:0.004020s ]
SELECT `id` FROM `stock` WHERE `partno` = 'LM358' LIMIT 1 [ RunTime:0.006401s ]
SELECT `id` FROM `stock` WHERE `partno` = 'AIP358' LIMIT 1 [ RunTime:0.002024s ]
SELECT `id` FROM `stock` WHERE `partno` = 'LM358' AND `brand` = 'TI' LIMIT 1 [ RunTime:0.014528s ]
SELECT `id` FROM `stock` WHERE `partno` = 'LM358' LIMIT 1 [ RunTime:0.020027s ]
SELECT `id` FROM `stock` WHERE `partno` = 'AIP358' LIMIT 1 [ RunTime:0.011293s ]
SELECT `id` FROM `stock` WHERE `partno` = 'LM2904' AND `brand` IS NULL LIMIT 1 [ RunTime:0.007743s ]
SELECT `id` FROM `stock` WHERE `partno` = 'LM2904' LIMIT 1 [ RunTime:0.000480s ]
SELECT `id` FROM `stock` WHERE `partno` = 'AIP2904' LIMIT 1 [ RunTime:0.005183s ]
SELECT `id` FROM `stock` WHERE `partno` = 'LM2904' AND `brand` = 'TI' LIMIT 1 [ RunTime:0.009927s ]
SELECT `id` FROM `stock` WHERE `partno` = 'LM2904' LIMIT 1 [ RunTime:0.000298s ]
SELECT `id` FROM `stock` WHERE `partno` = 'AIP2904' LIMIT 1 [ RunTime:0.000262s ]