SHOW FULL COLUMNS FROM `product_type` [ RunTime:0.001112s ]
SELECT `id`,`typeid`,`name`,`typestr` FROM `product_type` WHERE `id` NOT IN (11,12,13,14,15) AND `id` <= 750 [ RunTime:0.003866s ]
SHOW FULL COLUMNS FROM `o_cart` [ RunTime:0.002301s ]
SELECT COUNT(*) AS think_count FROM `o_cart` WHERE ( `userId` = 0 AND `visitIP` = '216.73.216.186' ) [ RunTime:0.002795s ]
SHOW FULL COLUMNS FROM `ad` [ RunTime:0.001859s ]
SELECT * FROM `ad` WHERE `isDisplay` = 1 [ RunTime:0.004320s ]
SHOW FULL COLUMNS FROM `icreplace` [ RunTime:0.002056s ]
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.006848s ]
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.677844s ]
SHOW FULL COLUMNS FROM `stock` [ RunTime:0.001711s ]
SELECT `id` FROM `stock` WHERE `partno` = 'LM324' AND `brand` = 'TI' LIMIT 1 [ RunTime:0.005804s ]
SELECT `id` FROM `stock` WHERE `partno` = 'LM324' LIMIT 1 [ RunTime:0.005851s ]
SELECT `id` FROM `stock` WHERE `partno` = 'AIP324' LIMIT 1 [ RunTime:0.004423s ]
SELECT `id` FROM `stock` WHERE `partno` = 'LM224' AND `brand` = 'TI' LIMIT 1 [ RunTime:0.000491s ]
SELECT `id` FROM `stock` WHERE `partno` = 'LM224' LIMIT 1 [ RunTime:0.000391s ]
SELECT `id` FROM `stock` WHERE `partno` = 'AIP224' LIMIT 1 [ RunTime:0.000788s ]
SELECT `id` FROM `stock` WHERE `partno` = 'LM2902' AND `brand` = 'TI' LIMIT 1 [ RunTime:0.001264s ]
SELECT `id` FROM `stock` WHERE `partno` = 'LM2902' LIMIT 1 [ RunTime:0.000447s ]
SELECT `id` FROM `stock` WHERE `partno` = 'AIP2902' LIMIT 1 [ RunTime:0.000387s ]
SELECT `id` FROM `stock` WHERE `partno` = 'TLV3202' AND `brand` = 'TI' LIMIT 1 [ RunTime:0.004490s ]
SELECT `id` FROM `stock` WHERE `partno` = 'TLV3202' LIMIT 1 [ RunTime:0.013874s ]
SELECT `id` FROM `stock` WHERE `partno` = 'AIP3202' LIMIT 1 [ RunTime:0.012904s ]
SELECT `id` FROM `stock` WHERE `partno` = 'TLV3201' AND `brand` = 'TI' LIMIT 1 [ RunTime:0.006241s ]
SELECT `id` FROM `stock` WHERE `partno` = 'TLV3201' LIMIT 1 [ RunTime:0.014159s ]
SELECT `id` FROM `stock` WHERE `partno` = 'AIP3201' LIMIT 1 [ RunTime:0.017841s ]
SELECT `id` FROM `stock` WHERE `partno` = 'LM339' AND `brand` IS NULL LIMIT 1 [ RunTime:0.019762s ]
SELECT `id` FROM `stock` WHERE `partno` = 'LM339' LIMIT 1 [ RunTime:0.003142s ]
SELECT `id` FROM `stock` WHERE `partno` = 'AIP339L' LIMIT 1 [ RunTime:0.005202s ]
SELECT `id` FROM `stock` WHERE `partno` = 'LM339' AND `brand` = 'TI' LIMIT 1 [ RunTime:0.003333s ]
SELECT `id` FROM `stock` WHERE `partno` = 'LM339' LIMIT 1 [ RunTime:0.008356s ]
SELECT `id` FROM `stock` WHERE `partno` = 'AIP339L' LIMIT 1 [ RunTime:0.000410s ]
SELECT `id` FROM `stock` WHERE `partno` = 'LM393LV' AND `brand` = 'TI' LIMIT 1 [ RunTime:0.003694s ]
SELECT `id` FROM `stock` WHERE `partno` = 'LM393LV' LIMIT 1 [ RunTime:0.005574s ]
SELECT `id` FROM `stock` WHERE `partno` = 'AIP393LV' LIMIT 1 [ RunTime:0.014659s ]
SELECT `id` FROM `stock` WHERE `partno` = 'LM393' AND `brand` IS NULL LIMIT 1 [ RunTime:0.011294s ]
SELECT `id` FROM `stock` WHERE `partno` = 'LM393' LIMIT 1 [ RunTime:0.005670s ]
SELECT `id` FROM `stock` WHERE `partno` = 'AIP393L' LIMIT 1 [ RunTime:0.000600s ]
SELECT `id` FROM `stock` WHERE `partno` = 'LM393' AND `brand` IS NULL LIMIT 1 [ RunTime:0.005303s ]
SELECT `id` FROM `stock` WHERE `partno` = 'LM393' LIMIT 1 [ RunTime:0.000373s ]
SELECT `id` FROM `stock` WHERE `partno` = 'AIP393L' LIMIT 1 [ RunTime:0.000356s ]