SHOW FULL COLUMNS FROM `product_type` [ RunTime:0.002340s ]
SELECT `id`,`typeid`,`name`,`typestr` FROM `product_type` WHERE `id` NOT IN (11,12,13,14,15) AND `id` <= 750 [ RunTime:0.000663s ]
SHOW FULL COLUMNS FROM `o_cart` [ RunTime:0.003343s ]
SELECT COUNT(*) AS think_count FROM `o_cart` WHERE ( `userId` = 0 AND `visitIP` = '216.73.216.186' ) [ RunTime:0.000463s ]
SHOW FULL COLUMNS FROM `ad` [ RunTime:0.003601s ]
SELECT * FROM `ad` WHERE `isDisplay` = 1 [ RunTime:0.000761s ]
SHOW FULL COLUMNS FROM `icreplace` [ RunTime:0.001276s ]
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.000291s ]
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 297170,10 [ RunTime:1.425754s ]
SHOW FULL COLUMNS FROM `stock` [ RunTime:0.002175s ]
SELECT `id` FROM `stock` WHERE `partno` = 'LM324' AND `brand` = 'TI' LIMIT 1 [ RunTime:0.001183s ]
SELECT `id` FROM `stock` WHERE `partno` = 'LM324' LIMIT 1 [ RunTime:0.002761s ]
SELECT `id` FROM `stock` WHERE `partno` = 'AIP324' LIMIT 1 [ RunTime:0.001115s ]
SELECT `id` FROM `stock` WHERE `partno` = 'LM224' AND `brand` = 'TI' LIMIT 1 [ RunTime:0.002742s ]
SELECT `id` FROM `stock` WHERE `partno` = 'LM224' LIMIT 1 [ RunTime:0.004140s ]
SELECT `id` FROM `stock` WHERE `partno` = 'AIP224' LIMIT 1 [ RunTime:0.000280s ]
SELECT `id` FROM `stock` WHERE `partno` = 'LM2902' AND `brand` = 'TI' LIMIT 1 [ RunTime:0.000300s ]
SELECT `id` FROM `stock` WHERE `partno` = 'LM2902' LIMIT 1 [ RunTime:0.000240s ]
SELECT `id` FROM `stock` WHERE `partno` = 'AIP2902' LIMIT 1 [ RunTime:0.000810s ]
SELECT `id` FROM `stock` WHERE `partno` = 'TLV3202' AND `brand` = 'TI' LIMIT 1 [ RunTime:0.000662s ]
SELECT `id` FROM `stock` WHERE `partno` = 'TLV3202' LIMIT 1 [ RunTime:0.002342s ]
SELECT `id` FROM `stock` WHERE `partno` = 'AIP3202' LIMIT 1 [ RunTime:0.000481s ]
SELECT `id` FROM `stock` WHERE `partno` = 'TLV3201' AND `brand` = 'TI' LIMIT 1 [ RunTime:0.000445s ]
SELECT `id` FROM `stock` WHERE `partno` = 'TLV3201' LIMIT 1 [ RunTime:0.000360s ]
SELECT `id` FROM `stock` WHERE `partno` = 'AIP3201' LIMIT 1 [ RunTime:0.000362s ]
SELECT `id` FROM `stock` WHERE `partno` = 'LM339' AND `brand` IS NULL LIMIT 1 [ RunTime:0.001597s ]
SELECT `id` FROM `stock` WHERE `partno` = 'LM339' LIMIT 1 [ RunTime:0.001455s ]
SELECT `id` FROM `stock` WHERE `partno` = 'AIP339L' LIMIT 1 [ RunTime:0.000825s ]
SELECT `id` FROM `stock` WHERE `partno` = 'LM339' AND `brand` = 'TI' LIMIT 1 [ RunTime:0.004201s ]
SELECT `id` FROM `stock` WHERE `partno` = 'LM339' LIMIT 1 [ RunTime:0.002553s ]
SELECT `id` FROM `stock` WHERE `partno` = 'AIP339L' LIMIT 1 [ RunTime:0.000308s ]
SELECT `id` FROM `stock` WHERE `partno` = 'LM393LV' AND `brand` = 'TI' LIMIT 1 [ RunTime:0.001297s ]
SELECT `id` FROM `stock` WHERE `partno` = 'LM393LV' LIMIT 1 [ RunTime:0.005421s ]
SELECT `id` FROM `stock` WHERE `partno` = 'AIP393LV' LIMIT 1 [ RunTime:0.002120s ]
SELECT `id` FROM `stock` WHERE `partno` = 'LM393' AND `brand` IS NULL LIMIT 1 [ RunTime:0.001777s ]
SELECT `id` FROM `stock` WHERE `partno` = 'LM393' LIMIT 1 [ RunTime:0.001462s ]
SELECT `id` FROM `stock` WHERE `partno` = 'AIP393L' LIMIT 1 [ RunTime:0.000444s ]
SELECT `id` FROM `stock` WHERE `partno` = 'LM393' AND `brand` IS NULL LIMIT 1 [ RunTime:0.000304s ]
SELECT `id` FROM `stock` WHERE `partno` = 'LM393' LIMIT 1 [ RunTime:0.000240s ]
SELECT `id` FROM `stock` WHERE `partno` = 'AIP393L' LIMIT 1 [ RunTime:0.000232s ]