SHOW FULL COLUMNS FROM `product_type` [ RunTime:0.001803s ]
SELECT `id`,`typeid`,`name`,`typestr` FROM `product_type` WHERE `id` NOT IN (11,12,13,14,15) AND `id` <= 750 [ RunTime:0.000486s ]
SHOW FULL COLUMNS FROM `o_cart` [ RunTime:0.001300s ]
SELECT COUNT(*) AS think_count FROM `o_cart` WHERE ( `userId` = 0 AND `visitIP` = '216.73.216.186' ) [ RunTime:0.000230s ]
SHOW FULL COLUMNS FROM `ad` [ RunTime:0.000868s ]
SELECT * FROM `ad` WHERE `isDisplay` = 1 [ RunTime:0.000231s ]
SHOW FULL COLUMNS FROM `icreplace` [ RunTime:0.000869s ]
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.000225s ]
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.469570s ]
SHOW FULL COLUMNS FROM `stock` [ RunTime:0.001372s ]
SELECT `id` FROM `stock` WHERE `partno` = 'LM321/221' AND `brand` IS NULL LIMIT 1 [ RunTime:0.001350s ]
SELECT `id` FROM `stock` WHERE `partno` = 'LM321/221' LIMIT 1 [ RunTime:0.000964s ]
SELECT `id` FROM `stock` WHERE `partno` = 'AIP321' LIMIT 1 [ RunTime:0.000582s ]
SELECT `id` FROM `stock` WHERE `partno` = 'LM321' AND `brand` = 'TI' LIMIT 1 [ RunTime:0.004520s ]
SELECT `id` FROM `stock` WHERE `partno` = 'LM321' LIMIT 1 [ RunTime:0.000974s ]
SELECT `id` FROM `stock` WHERE `partno` = 'AIP321' LIMIT 1 [ RunTime:0.000199s ]
SELECT `id` FROM `stock` WHERE `partno` = 'LM358S' AND `brand` IS NULL LIMIT 1 [ RunTime:0.000333s ]
SELECT `id` FROM `stock` WHERE `partno` = 'LM358S' LIMIT 1 [ RunTime:0.001160s ]
SELECT `id` FROM `stock` WHERE `partno` = 'AIP358S' LIMIT 1 [ RunTime:0.000242s ]
SELECT `id` FROM `stock` WHERE `partno` = 'LM358S' AND `brand` = 'TI' LIMIT 1 [ RunTime:0.000285s ]
SELECT `id` FROM `stock` WHERE `partno` = 'LM358S' LIMIT 1 [ RunTime:0.000150s ]
SELECT `id` FROM `stock` WHERE `partno` = 'AIP358S' LIMIT 1 [ RunTime:0.000163s ]
SELECT `id` FROM `stock` WHERE `partno` = 'LM258' AND `brand` IS NULL LIMIT 1 [ RunTime:0.000326s ]
SELECT `id` FROM `stock` WHERE `partno` = 'LM258' LIMIT 1 [ RunTime:0.000540s ]
SELECT `id` FROM `stock` WHERE `partno` = 'AIP258' LIMIT 1 [ RunTime:0.002190s ]
SELECT `id` FROM `stock` WHERE `partno` = 'LM258' AND `brand` = 'TI' LIMIT 1 [ RunTime:0.000344s ]
SELECT `id` FROM `stock` WHERE `partno` = 'LM258' LIMIT 1 [ RunTime:0.000603s ]
SELECT `id` FROM `stock` WHERE `partno` = 'AIP258' LIMIT 1 [ RunTime:0.000138s ]
SELECT `id` FROM `stock` WHERE `partno` = 'LM358' AND `brand` IS NULL LIMIT 1 [ RunTime:0.000262s ]
SELECT `id` FROM `stock` WHERE `partno` = 'LM358' LIMIT 1 [ RunTime:0.001889s ]
SELECT `id` FROM `stock` WHERE `partno` = 'AIP358' LIMIT 1 [ RunTime:0.002279s ]
SELECT `id` FROM `stock` WHERE `partno` = 'LM358' AND `brand` = 'TI' LIMIT 1 [ RunTime:0.000293s ]
SELECT `id` FROM `stock` WHERE `partno` = 'LM358' LIMIT 1 [ RunTime:0.000149s ]
SELECT `id` FROM `stock` WHERE `partno` = 'AIP358' LIMIT 1 [ RunTime:0.000139s ]
SELECT `id` FROM `stock` WHERE `partno` = 'LM2904' AND `brand` IS NULL LIMIT 1 [ RunTime:0.000291s ]
SELECT `id` FROM `stock` WHERE `partno` = 'LM2904' LIMIT 1 [ RunTime:0.000848s ]
SELECT `id` FROM `stock` WHERE `partno` = 'AIP2904' LIMIT 1 [ RunTime:0.002046s ]
SELECT `id` FROM `stock` WHERE `partno` = 'LM2904' AND `brand` = 'TI' LIMIT 1 [ RunTime:0.000309s ]
SELECT `id` FROM `stock` WHERE `partno` = 'LM2904' LIMIT 1 [ RunTime:0.000176s ]
SELECT `id` FROM `stock` WHERE `partno` = 'AIP2904' LIMIT 1 [ RunTime:0.000170s ]