SHOW FULL COLUMNS FROM `product_type` [ RunTime:0.001479s ]
SELECT `id`,`typeid`,`name`,`typestr` FROM `product_type` WHERE `id` NOT IN (11,12,13,14,15) AND `id` <= 750 [ RunTime:0.000683s ]
SHOW FULL COLUMNS FROM `o_cart` [ RunTime:0.001467s ]
SELECT COUNT(*) AS think_count FROM `o_cart` WHERE ( `userId` = 0 AND `visitIP` = '216.73.216.186' ) [ RunTime:0.002199s ]
SHOW FULL COLUMNS FROM `ad` [ RunTime:0.001415s ]
SELECT * FROM `ad` WHERE `isDisplay` = 1 [ RunTime:0.003384s ]
SHOW FULL COLUMNS FROM `icreplace` [ RunTime:0.001217s ]
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.001001s ]
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.490303s ]
SHOW FULL COLUMNS FROM `stock` [ RunTime:0.002532s ]
SELECT `id` FROM `stock` WHERE `partno` = 'LM393' AND `brand` = 'TI' LIMIT 1 [ RunTime:0.011230s ]
SELECT `id` FROM `stock` WHERE `partno` = 'LM393' LIMIT 1 [ RunTime:0.007182s ]
SELECT `id` FROM `stock` WHERE `partno` = 'AIP393L' LIMIT 1 [ RunTime:0.011678s ]
SELECT `id` FROM `stock` WHERE `partno` = 'TL331LV' AND `brand` = 'TI' LIMIT 1 [ RunTime:0.006191s ]
SELECT `id` FROM `stock` WHERE `partno` = 'TL331LV' LIMIT 1 [ RunTime:0.004949s ]
SELECT `id` FROM `stock` WHERE `partno` = 'AIP331LV' LIMIT 1 [ RunTime:0.005991s ]
SELECT `id` FROM `stock` WHERE `partno` = 'LM311' AND `brand` = 'TI' LIMIT 1 [ RunTime:0.002438s ]
SELECT `id` FROM `stock` WHERE `partno` = 'LM311' LIMIT 1 [ RunTime:0.012967s ]
SELECT `id` FROM `stock` WHERE `partno` = 'AIP311' LIMIT 1 [ RunTime:0.047171s ]
SELECT `id` FROM `stock` WHERE `partno` = 'LM211' AND `brand` = 'TI' LIMIT 1 [ RunTime:0.003740s ]
SELECT `id` FROM `stock` WHERE `partno` = 'LM211' LIMIT 1 [ RunTime:0.013415s ]
SELECT `id` FROM `stock` WHERE `partno` = 'AIP211' LIMIT 1 [ RunTime:0.037442s ]
SELECT `id` FROM `stock` WHERE `partno` = 'LM293' AND `brand` IS NULL LIMIT 1 [ RunTime:0.016295s ]
SELECT `id` FROM `stock` WHERE `partno` = 'LM293' LIMIT 1 [ RunTime:0.016362s ]
SELECT `id` FROM `stock` WHERE `partno` = 'AIP293' LIMIT 1 [ RunTime:0.020847s ]
SELECT `id` FROM `stock` WHERE `partno` = 'LM293' AND `brand` IS NULL LIMIT 1 [ RunTime:0.010203s ]
SELECT `id` FROM `stock` WHERE `partno` = 'LM293' LIMIT 1 [ RunTime:0.000564s ]
SELECT `id` FROM `stock` WHERE `partno` = 'AIP293' LIMIT 1 [ RunTime:0.005464s ]
SELECT `id` FROM `stock` WHERE `partno` = 'LM293' AND `brand` = 'TI' LIMIT 1 [ RunTime:0.015473s ]
SELECT `id` FROM `stock` WHERE `partno` = 'LM293' LIMIT 1 [ RunTime:0.014278s ]
SELECT `id` FROM `stock` WHERE `partno` = 'AIP293' LIMIT 1 [ RunTime:0.000350s ]
SELECT `id` FROM `stock` WHERE `partno` = 'LM393' AND `brand` IS NULL LIMIT 1 [ RunTime:0.011056s ]
SELECT `id` FROM `stock` WHERE `partno` = 'LM393' LIMIT 1 [ RunTime:0.001049s ]
SELECT `id` FROM `stock` WHERE `partno` = 'AIP393' LIMIT 1 [ RunTime:0.000628s ]
SELECT `id` FROM `stock` WHERE `partno` = 'LM393' AND `brand` IS NULL LIMIT 1 [ RunTime:0.000464s ]
SELECT `id` FROM `stock` WHERE `partno` = 'LM393' LIMIT 1 [ RunTime:0.003015s ]
SELECT `id` FROM `stock` WHERE `partno` = 'AIP393' LIMIT 1 [ RunTime:0.002569s ]
SELECT `id` FROM `stock` WHERE `partno` = 'LM393' AND `brand` = 'TI' LIMIT 1 [ RunTime:0.011959s ]
SELECT `id` FROM `stock` WHERE `partno` = 'LM393' LIMIT 1 [ RunTime:0.010463s ]
SELECT `id` FROM `stock` WHERE `partno` = 'AIP393' LIMIT 1 [ RunTime:0.018071s ]