SHOW FULL COLUMNS FROM `product_type` [ RunTime:0.001217s ]
SELECT `id`,`typeid`,`name`,`typestr` FROM `product_type` WHERE `id` NOT IN (11,12,13,14,15) AND `id` <= 750 [ RunTime:0.000454s ]
SHOW FULL COLUMNS FROM `o_cart` [ RunTime:0.001587s ]
SELECT COUNT(*) AS think_count FROM `o_cart` WHERE ( `userId` = 0 AND `visitIP` = '216.73.216.43' ) [ RunTime:0.000294s ]
SHOW FULL COLUMNS FROM `ad` [ RunTime:0.001042s ]
SELECT * FROM `ad` WHERE `isDisplay` = 1 [ RunTime:0.000226s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `id` = 410 LIMIT 1 [ RunTime:0.000263s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `typeid` = 410 [ RunTime:0.000184s ]
SELECT `id`,`name` FROM `product_type` WHERE `typeid` = 39 [ RunTime:0.000179s ]
SHOW FULL COLUMNS FROM `stock` [ RunTime:0.001603s ]
SELECT COUNT(*) AS think_count FROM `stock` `s` LEFT JOIN `product_type` `t` ON `t`.`id`=`s`.`categoryid` WHERE ( `status` <> 2 AND `categoryid` = 410 ) [ RunTime:0.000749s ]
SELECT `s`.`id`,`s`.`status`,`havePdf`,`categoryid`,`categories`,`minOrderPrice`,`minOrderQuantity`,`deliveryNum`,`sellNum`,`stockNum`,`code`,`partno`,`brand`,`package`,`imgurl`,`note`,`description`,`expiretime`,`pdfurl`,`t`.`name` FROM `stock` `s` LEFT JOIN `product_type` `t` ON `t`.`id`=`s`.`categoryid` WHERE ( `status` <> 2 AND `categoryid` = 410 ) ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.008758s ]
SHOW FULL COLUMNS FROM `stock_pra` [ RunTime:0.001639s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 12243 LIMIT 4 [ RunTime:0.000426s ]
SHOW FULL COLUMNS FROM `stock_price` [ RunTime:0.004579s ]
SELECT * FROM `stock_price` WHERE `stockid` = 12243 ORDER BY `minOrder` ASC [ RunTime:0.007073s ]
SHOW FULL COLUMNS FROM `stock_unitquantity` [ RunTime:0.001215s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 12243 ORDER BY `unit` DESC [ RunTime:0.000404s ]
SHOW FULL COLUMNS FROM `stock_warehousequantity` [ RunTime:0.001553s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 12243 LIMIT 2 [ RunTime:0.000360s ]
SELECT * FROM `stock_price` WHERE `stockid` = 12243 ORDER BY `minOrder` ASC [ RunTime:0.000195s ]
select * from pdf where partno='MT41K256M8DA-125:K' and brandshort='MICRON' limit 1 [ RunTime:0.000643s ]
SHOW FULL COLUMNS FROM `stock_pra_lib` [ RunTime:0.001368s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'MT41K256M8DA-125:K' OR `brand` LIKE 'MICRON%' ) ) LIMIT 1 [ RunTime:0.005200s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 16997 LIMIT 4 [ RunTime:0.004152s ]
SELECT * FROM `stock_price` WHERE `stockid` = 16997 ORDER BY `minOrder` ASC [ RunTime:0.009430s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 16997 ORDER BY `unit` DESC [ RunTime:0.000953s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 16997 LIMIT 2 [ RunTime:0.002299s ]
SELECT * FROM `stock_price` WHERE `stockid` = 16997 ORDER BY `minOrder` ASC [ RunTime:0.003515s ]
select * from pdf where partno='S80KS2564GACHI040' and brandshort='CYPRESS - INFINEON TECHNOLOGIES' limit 1 [ RunTime:0.001247s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'S80KS2564GACHI040' OR `brand` LIKE 'CYPRESS - INFINEON TECHNOLOGIES%' ) ) LIMIT 1 [ RunTime:0.000751s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 15979 LIMIT 4 [ RunTime:0.000292s ]
SELECT * FROM `stock_price` WHERE `stockid` = 15979 ORDER BY `minOrder` ASC [ RunTime:0.000293s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 15979 ORDER BY `unit` DESC [ RunTime:0.000297s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 15979 LIMIT 2 [ RunTime:0.000290s ]
SELECT * FROM `stock_price` WHERE `stockid` = 15979 ORDER BY `minOrder` ASC [ RunTime:0.002296s ]
select * from pdf where partno='S80KS2564GACHI040' and brandshort='CYPRESS - INFINEON TECHNOLOGIES' limit 1 [ RunTime:0.000258s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'S80KS2564GACHI040' OR `brand` LIKE 'CYPRESS - INFINEON TECHNOLOGIES%' ) ) LIMIT 1 [ RunTime:0.000204s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 12050 LIMIT 4 [ RunTime:0.000183s ]
SELECT * FROM `stock_price` WHERE `stockid` = 12050 ORDER BY `minOrder` ASC [ RunTime:0.000191s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 12050 ORDER BY `unit` DESC [ RunTime:0.000182s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 12050 LIMIT 2 [ RunTime:0.000180s ]
SELECT * FROM `stock_price` WHERE `stockid` = 12050 ORDER BY `minOrder` ASC [ RunTime:0.000178s ]
select * from pdf where partno='MT41K256M16TW-093:P' and brandshort='MICRON' limit 1 [ RunTime:0.000235s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'MT41K256M16TW-093:P' OR `brand` LIKE 'MICRON%' ) ) LIMIT 1 [ RunTime:0.000194s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 13267 LIMIT 4 [ RunTime:0.000346s ]
SELECT * FROM `stock_price` WHERE `stockid` = 13267 ORDER BY `minOrder` ASC [ RunTime:0.003561s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 13267 ORDER BY `unit` DESC [ RunTime:0.005302s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 13267 LIMIT 2 [ RunTime:0.002345s ]
SELECT * FROM `stock_price` WHERE `stockid` = 13267 ORDER BY `minOrder` ASC [ RunTime:0.004152s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'S80KS2564GACHI040' OR `brand` LIKE 'CYPRESS - INFINEON TECHNOLOGIES%' ) ) LIMIT 1 [ RunTime:0.000183s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 12907 LIMIT 4 [ RunTime:0.000163s ]
SELECT * FROM `stock_price` WHERE `stockid` = 12907 ORDER BY `minOrder` ASC [ RunTime:0.000151s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 12907 ORDER BY `unit` DESC [ RunTime:0.000160s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 12907 LIMIT 2 [ RunTime:0.000152s ]
SELECT * FROM `stock_price` WHERE `stockid` = 12907 ORDER BY `minOrder` ASC [ RunTime:0.000160s ]
select * from pdf where partno='MT60B1G16HC-48B:A' and brandshort='MICRON' limit 1 [ RunTime:0.000248s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'MT60B1G16HC-48B:A' OR `brand` LIKE 'MICRON%' ) ) LIMIT 1 [ RunTime:0.000189s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 12051 LIMIT 4 [ RunTime:0.000163s ]
SELECT * FROM `stock_price` WHERE `stockid` = 12051 ORDER BY `minOrder` ASC [ RunTime:0.000149s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 12051 ORDER BY `unit` DESC [ RunTime:0.000151s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 12051 LIMIT 2 [ RunTime:0.000147s ]
SELECT * FROM `stock_price` WHERE `stockid` = 12051 ORDER BY `minOrder` ASC [ RunTime:0.000151s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'MT53E256M32D2DS-053 WT:B' OR `brand` LIKE 'MICRON%' ) ) LIMIT 1 [ RunTime:0.000168s ]
SELECT brand, count(*) as count FROM `stock` WHERE ( `status` <> 2 AND `categoryid` = 410 ) AND `brand` IS NOT NULL AND `brand` <> '' GROUP BY `brand` ORDER BY `count` DESC LIMIT 10000 [ RunTime:0.000713s ]