SHOW FULL COLUMNS FROM `product_type` [ RunTime:0.002251s ]
SELECT `id`,`typeid`,`name`,`typestr` FROM `product_type` WHERE `id` NOT IN (11,12,13,14,15) AND `id` <= 750 [ RunTime:0.002524s ]
SHOW FULL COLUMNS FROM `o_cart` [ RunTime:0.002411s ]
SELECT COUNT(*) AS think_count FROM `o_cart` WHERE ( `userId` = 0 AND `visitIP` = '216.73.216.186' ) [ RunTime:0.005313s ]
SHOW FULL COLUMNS FROM `ad` [ RunTime:0.002025s ]
SELECT * FROM `ad` WHERE `isDisplay` = 1 [ RunTime:0.001230s ]
SHOW FULL COLUMNS FROM `icreplace` [ RunTime:0.002367s ]
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.000424s ]
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 297140,10 [ RunTime:1.488805s ]
SHOW FULL COLUMNS FROM `stock` [ RunTime:0.003161s ]
SELECT `id` FROM `stock` WHERE `partno` = 'AD8051' AND `brand` = 'ADI' LIMIT 1 [ RunTime:0.011197s ]
SELECT `id` FROM `stock` WHERE `partno` = 'AD8051' LIMIT 1 [ RunTime:0.004417s ]
SELECT `id` FROM `stock` WHERE `partno` = 'AIP8051' LIMIT 1 [ RunTime:0.000866s ]
SELECT `id` FROM `stock` WHERE `partno` = 'RC4558' AND `brand` = 'TI' LIMIT 1 [ RunTime:0.001057s ]
SELECT `id` FROM `stock` WHERE `partno` = 'RC4558' LIMIT 1 [ RunTime:0.000405s ]
SELECT `id` FROM `stock` WHERE `partno` = 'AIP4558S' LIMIT 1 [ RunTime:0.000374s ]
SELECT `id` FROM `stock` WHERE `partno` = 'RC4558' AND `brand` = 'TI' LIMIT 1 [ RunTime:0.006482s ]
SELECT `id` FROM `stock` WHERE `partno` = 'RC4558' LIMIT 1 [ RunTime:0.000152s ]
SELECT `id` FROM `stock` WHERE `partno` = 'AIP4588' LIMIT 1 [ RunTime:0.000601s ]
SELECT `id` FROM `stock` WHERE `partno` = 'RC4580' AND `brand` = 'TI' LIMIT 1 [ RunTime:0.001280s ]
SELECT `id` FROM `stock` WHERE `partno` = 'RC4580' LIMIT 1 [ RunTime:0.001052s ]
SELECT `id` FROM `stock` WHERE `partno` = 'AIP4580S' LIMIT 1 [ RunTime:0.000281s ]
SELECT `id` FROM `stock` WHERE `partno` = 'RC4580' AND `brand` = 'TI' LIMIT 1 [ RunTime:0.000153s ]
SELECT `id` FROM `stock` WHERE `partno` = 'RC4580' LIMIT 1 [ RunTime:0.000138s ]
SELECT `id` FROM `stock` WHERE `partno` = 'AIP4580' LIMIT 1 [ RunTime:0.000222s ]
SELECT `id` FROM `stock` WHERE `partno` = 'TL074' AND `brand` IS NULL LIMIT 1 [ RunTime:0.000298s ]
SELECT `id` FROM `stock` WHERE `partno` = 'TL074' LIMIT 1 [ RunTime:0.003899s ]
SELECT `id` FROM `stock` WHERE `partno` = 'AIP074' LIMIT 1 [ RunTime:0.001523s ]
SELECT `id` FROM `stock` WHERE `partno` = 'TL074' AND `brand` = 'TI' LIMIT 1 [ RunTime:0.010844s ]
SELECT `id` FROM `stock` WHERE `partno` = 'TL074' LIMIT 1 [ RunTime:0.003549s ]
SELECT `id` FROM `stock` WHERE `partno` = 'AIP074' LIMIT 1 [ RunTime:0.003274s ]
SELECT `id` FROM `stock` WHERE `partno` = 'TL064' AND `brand` IS NULL LIMIT 1 [ RunTime:0.006559s ]
SELECT `id` FROM `stock` WHERE `partno` = 'TL064' LIMIT 1 [ RunTime:0.002380s ]
SELECT `id` FROM `stock` WHERE `partno` = 'AIP064' LIMIT 1 [ RunTime:0.000672s ]
SELECT `id` FROM `stock` WHERE `partno` = 'TL064' AND `brand` = 'TI' LIMIT 1 [ RunTime:0.000607s ]
SELECT `id` FROM `stock` WHERE `partno` = 'TL064' LIMIT 1 [ RunTime:0.001791s ]
SELECT `id` FROM `stock` WHERE `partno` = 'AIP064' LIMIT 1 [ RunTime:0.000326s ]
SELECT `id` FROM `stock` WHERE `partno` = 'TL072' AND `brand` IS NULL LIMIT 1 [ RunTime:0.000599s ]
SELECT `id` FROM `stock` WHERE `partno` = 'TL072' LIMIT 1 [ RunTime:0.001948s ]
SELECT `id` FROM `stock` WHERE `partno` = 'AIP072' LIMIT 1 [ RunTime:0.001185s ]