SHOW FULL COLUMNS FROM `product_type` [ RunTime:0.002183s ]
SELECT `id`,`typeid`,`name`,`typestr` FROM `product_type` WHERE `id` NOT IN (11,12,13,14,15) AND `id` <= 750 [ RunTime:0.000512s ]
SHOW FULL COLUMNS FROM `o_cart` [ RunTime:0.002094s ]
SELECT COUNT(*) AS think_count FROM `o_cart` WHERE ( `userId` = 0 AND `visitIP` = '216.73.216.147' ) [ RunTime:0.000315s ]
SHOW FULL COLUMNS FROM `ad` [ RunTime:0.002270s ]
SELECT * FROM `ad` WHERE `isDisplay` = 1 [ RunTime:0.000285s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `id` = 194 LIMIT 1 [ RunTime:0.000306s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `typeid` = 194 [ RunTime:0.000223s ]
SELECT `id`,`name` FROM `product_type` WHERE `typeid` = 27 [ RunTime:0.000218s ]
SHOW FULL COLUMNS FROM `stock` [ RunTime:0.002007s ]
SELECT COUNT(*) AS think_count FROM `stock` `s` INNER JOIN `user` `u` ON `s`.`userid`=`u`.`stockuserid` WHERE ( `status` <> 2 AND `categoryid` = 194 ) AND `u`.`lockUser` = '0' [ RunTime:0.005561s ]
SELECT `s`.`id` FROM `stock` `s` INNER JOIN `user` `u` ON `s`.`userid`=`u`.`stockuserid` WHERE `u`.`lockUser` = '0' AND ( (s.isDisplay = 1) ) AND ( `status` <> 2 AND `categoryid` = 194 ) ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.000902s ]
SELECT `s`.`id`,`s`.`userid`,`s`.`status`,`havePdf`,`categoryid`,`categories`,`minOrderPrice`,`minOrderQuantity`,`deliveryNum`,`sellNum`,`stockNum`,`code`,`partno`,`brand`,`package`,`imgurl`,`note`,`description`,`expiretime`,`pdfurl`,`t`.`name` FROM `stock` `s` INNER JOIN `user` `u` ON `s`.`userid`=`u`.`stockuserid` LEFT JOIN `product_type` `t` ON `t`.`id`=`s`.`categoryid` WHERE `u`.`lockUser` = '0' AND ( (s.isDisplay = 1) ) AND `s`.`id` IN ('14920','14910','14912','14917','14918','14909') ORDER BY FIELD(s.id, 14920,14910,14912,14917,14918,14909) [ RunTime:0.001042s ]
SHOW FULL COLUMNS FROM `stock_pra` [ RunTime:0.001786s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 14920 LIMIT 4 [ RunTime:0.005584s ]
SHOW FULL COLUMNS FROM `stock_price` [ RunTime:0.001814s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14920 ORDER BY `minOrder` ASC [ RunTime:0.000497s ]
SHOW FULL COLUMNS FROM `stock_unitquantity` [ RunTime:0.001651s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 14920 ORDER BY `unit` DESC [ RunTime:0.002852s ]
SHOW FULL COLUMNS FROM `stock_warehousequantity` [ RunTime:0.001808s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 14920 LIMIT 2 [ RunTime:0.002045s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14920 ORDER BY `minOrder` ASC [ RunTime:0.000245s ]
select * from pdf where partno='KSZ8041NLI-TR' and brandshort='MICROCHIP' limit 1 [ RunTime:0.001849s ]
SHOW FULL COLUMNS FROM `stock_pra_lib` [ RunTime:0.001511s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'KSZ8041NLI-TR' OR `brand` LIKE 'MICROCHIP%' ) ) LIMIT 1 [ RunTime:0.020726s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 14910 LIMIT 4 [ RunTime:0.020101s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14910 ORDER BY `minOrder` ASC [ RunTime:0.004123s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 14910 ORDER BY `unit` DESC [ RunTime:0.001472s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 14910 LIMIT 2 [ RunTime:0.010302s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14910 ORDER BY `minOrder` ASC [ RunTime:0.000694s ]
select * from pdf where partno='KSZ8041NLI-TR' and brandshort='MICROCHIP' limit 1 [ RunTime:0.000454s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'KSZ8041NLI-TR' OR `brand` LIKE 'MICROCHIP%' ) ) LIMIT 1 [ RunTime:0.000450s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 14912 LIMIT 4 [ RunTime:0.000625s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14912 ORDER BY `minOrder` ASC [ RunTime:0.001817s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 14912 ORDER BY `unit` DESC [ RunTime:0.002527s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 14912 LIMIT 2 [ RunTime:0.000855s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14912 ORDER BY `minOrder` ASC [ RunTime:0.000538s ]
select * from pdf where partno='KSZ9031RNXIC-TR' and brandshort='MICROCHIP' limit 1 [ RunTime:0.004001s ]
select foldpath,foldpath2,filename from pdf_file where id=1503653 limit 1 [ RunTime:0.002631s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'KSZ9031RNXIC-TR' OR `brand` LIKE 'MICROCHIP%' ) ) LIMIT 1 [ RunTime:0.019839s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 14917 LIMIT 4 [ RunTime:0.006430s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14917 ORDER BY `minOrder` ASC [ RunTime:0.004749s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 14917 ORDER BY `unit` DESC [ RunTime:0.000598s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 14917 LIMIT 2 [ RunTime:0.000599s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14917 ORDER BY `minOrder` ASC [ RunTime:0.001160s ]
select * from pdf where partno='KSZ8081MNXIA-TR' and brandshort='MICROCHIP' limit 1 [ RunTime:0.001143s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'KSZ8081MNXIA-TR' OR `brand` LIKE 'MICROCHIP%' ) ) LIMIT 1 [ RunTime:0.020443s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 14918 LIMIT 4 [ RunTime:0.005479s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14918 ORDER BY `minOrder` ASC [ RunTime:0.002561s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 14918 ORDER BY `unit` DESC [ RunTime:0.002045s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 14918 LIMIT 2 [ RunTime:0.001842s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14918 ORDER BY `minOrder` ASC [ RunTime:0.004756s ]
select * from pdf where partno='KSZ9131RNXI-TR' and brandshort='MICROCHIP' limit 1 [ RunTime:0.000714s ]
select foldpath,foldpath2,filename from pdf_file where id=2182166 limit 1 [ RunTime:0.002740s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'KSZ9131RNXI-TR' OR `brand` LIKE 'MICROCHIP%' ) ) LIMIT 1 [ RunTime:0.024181s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 14909 LIMIT 4 [ RunTime:0.002433s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14909 ORDER BY `minOrder` ASC [ RunTime:0.000565s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 14909 ORDER BY `unit` DESC [ RunTime:0.000495s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 14909 LIMIT 2 [ RunTime:0.000461s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14909 ORDER BY `minOrder` ASC [ RunTime:0.000275s ]
select * from pdf where partno='KSZ9031RNXIA-TR' and brandshort='MICROCHIP' limit 1 [ RunTime:0.000819s ]
select foldpath,foldpath2,filename from pdf_file where id=1503653 limit 1 [ RunTime:0.000530s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'KSZ9031RNXIA-TR' OR `brand` LIKE 'MICROCHIP%' ) ) LIMIT 1 [ RunTime:0.019752s ]
SELECT brand, count(*) as count FROM `stock` WHERE ( `status` <> 2 AND `categoryid` = 194 ) AND `brand` IS NOT NULL AND `brand` <> '' GROUP BY `brand` ORDER BY `count` DESC LIMIT 10000 [ RunTime:0.001016s ]