SHOW FULL COLUMNS FROM `product_type` [ RunTime:0.001636s ]
SELECT `id`,`typeid`,`name`,`typestr` FROM `product_type` WHERE `id` NOT IN (11,12,13,14,15) AND `id` <= 750 [ RunTime:0.000835s ]
SHOW FULL COLUMNS FROM `o_cart` [ RunTime:0.001258s ]
SELECT COUNT(*) AS think_count FROM `o_cart` WHERE ( `userId` = 0 AND `visitIP` = '216.73.216.186' ) [ RunTime:0.000330s ]
SHOW FULL COLUMNS FROM `ad` [ RunTime:0.001788s ]
SELECT * FROM `ad` WHERE `isDisplay` = 1 [ RunTime:0.000328s ]
SHOW FULL COLUMNS FROM `icreplace` [ RunTime:0.001629s ]
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.000372s ]
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 297190,10 [ RunTime:1.836051s ]
SHOW FULL COLUMNS FROM `stock` [ RunTime:0.002076s ]
SELECT `id` FROM `stock` WHERE `partno` = 'LM2903' AND `brand` IS NULL LIMIT 1 [ RunTime:0.015797s ]
SELECT `id` FROM `stock` WHERE `partno` = 'LM2903' LIMIT 1 [ RunTime:0.010298s ]
SELECT `id` FROM `stock` WHERE `partno` = 'AIP2903' LIMIT 1 [ RunTime:0.000295s ]
SELECT `id` FROM `stock` WHERE `partno` = 'LM2903' AND `brand` IS NULL LIMIT 1 [ RunTime:0.007247s ]
SELECT `id` FROM `stock` WHERE `partno` = 'LM2903' LIMIT 1 [ RunTime:0.000165s ]
SELECT `id` FROM `stock` WHERE `partno` = 'AIP2903' LIMIT 1 [ RunTime:0.002248s ]
SELECT `id` FROM `stock` WHERE `partno` = 'LM2903' AND `brand` = 'TI' LIMIT 1 [ RunTime:0.007349s ]
SELECT `id` FROM `stock` WHERE `partno` = 'LM2903' LIMIT 1 [ RunTime:0.005096s ]
SELECT `id` FROM `stock` WHERE `partno` = 'AIP2903' LIMIT 1 [ RunTime:0.000410s ]
SELECT `id` FROM `stock` WHERE `partno` = 'LM339' AND `brand` = 'TI' LIMIT 1 [ RunTime:0.000369s ]
SELECT `id` FROM `stock` WHERE `partno` = 'LM339' LIMIT 1 [ RunTime:0.000338s ]
SELECT `id` FROM `stock` WHERE `partno` = 'AIP339' LIMIT 1 [ RunTime:0.000593s ]
SELECT `id` FROM `stock` WHERE `partno` = 'LM239' AND `brand` = 'TI' LIMIT 1 [ RunTime:0.005106s ]
SELECT `id` FROM `stock` WHERE `partno` = 'LM239' LIMIT 1 [ RunTime:0.031509s ]
SELECT `id` FROM `stock` WHERE `partno` = 'AIP239' LIMIT 1 [ RunTime:0.002178s ]
SELECT `id` FROM `stock` WHERE `partno` = 'LM2901' AND `brand` = 'TI' LIMIT 1 [ RunTime:0.002570s ]
SELECT `id` FROM `stock` WHERE `partno` = 'LM2901' LIMIT 1 [ RunTime:0.001663s ]
SELECT `id` FROM `stock` WHERE `partno` = 'AIP2901' LIMIT 1 [ RunTime:0.003270s ]
SELECT `id` FROM `stock` WHERE `partno` = 'TL2845' AND `brand` = 'TI' LIMIT 1 [ RunTime:0.012989s ]
SELECT `id` FROM `stock` WHERE `partno` = 'TL2845' LIMIT 1 [ RunTime:0.008375s ]
SELECT `id` FROM `stock` WHERE `partno` = 'AIP2845' LIMIT 1 [ RunTime:0.003493s ]
SELECT `id` FROM `stock` WHERE `partno` = 'TL3845' AND `brand` = 'TI' LIMIT 1 [ RunTime:0.001779s ]
SELECT `id` FROM `stock` WHERE `partno` = 'TL3845' LIMIT 1 [ RunTime:0.000623s ]
SELECT `id` FROM `stock` WHERE `partno` = 'AIP3845' LIMIT 1 [ RunTime:0.000539s ]
SELECT `id` FROM `stock` WHERE `partno` = 'TPS3809' AND `brand` = 'TI' LIMIT 1 [ RunTime:0.001686s ]
SELECT `id` FROM `stock` WHERE `partno` = 'TPS3809' LIMIT 1 [ RunTime:0.001981s ]
SELECT `id` FROM `stock` WHERE `partno` = 'AIP3809' LIMIT 1 [ RunTime:0.004881s ]
SELECT `id` FROM `stock` WHERE `partno` = 'MAX812' AND `brand` = 'ADI' LIMIT 1 [ RunTime:0.000707s ]
SELECT `id` FROM `stock` WHERE `partno` = 'MAX812' LIMIT 1 [ RunTime:0.000573s ]
SELECT `id` FROM `stock` WHERE `partno` = 'AIP812' LIMIT 1 [ RunTime:0.001831s ]