SHOW FULL COLUMNS FROM `product_type` [ RunTime:0.004132s ]
SELECT `id`,`typeid`,`name`,`typestr` FROM `product_type` WHERE `id` NOT IN (11,12,13,14,15) AND `id` <= 750 [ RunTime:0.000685s ]
SHOW FULL COLUMNS FROM `o_cart` [ RunTime:0.001465s ]
SELECT COUNT(*) AS think_count FROM `o_cart` WHERE ( `userId` = 0 AND `visitIP` = '216.73.216.121' ) [ RunTime:0.006168s ]
SHOW FULL COLUMNS FROM `ad` [ RunTime:0.001279s ]
SELECT * FROM `ad` WHERE `isDisplay` = 1 [ RunTime:0.005747s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `id` = 0 LIMIT 1 [ RunTime:0.006088s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `typeid` = 0 [ RunTime:0.004951s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `typeid` IN (1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,800,1068,1296,1456,1822,1929,2017,2101,2342,2393,2475,2518,2568) [ RunTime:0.008879s ]
SHOW FULL COLUMNS FROM `stock` [ RunTime:0.001561s ]
SELECT COUNT(*) AS think_count FROM `stock` `s` INNER JOIN `user` `u` ON `s`.`userid`=`u`.`stockuserid` WHERE ( `status` <> 2 ) AND `u`.`lockUser` = '0' [ RunTime:1.641740s ]
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 ) ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 8640,20 [ RunTime:0.180493s ]
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 ('11246847','11944230','11161352','11229618','11944120','11249646','11229102','11170583','11481371','11230012','11166274','11494598','10467870','10675430','11944049','10439255','11978552','11919260','11413938','11148841') ORDER BY FIELD(s.id, 11246847,11944230,11161352,11229618,11944120,11249646,11229102,11170583,11481371,11230012,11166274,11494598,10467870,10675430,11944049,10439255,11978552,11919260,11413938,11148841) [ RunTime:0.010513s ]
SHOW FULL COLUMNS FROM `stock_pra` [ RunTime:0.001103s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 11246847 LIMIT 4 [ RunTime:0.004580s ]
SHOW FULL COLUMNS FROM `stock_price` [ RunTime:0.003849s ]
SELECT * FROM `stock_price` WHERE `stockid` = 11246847 ORDER BY `minOrder` ASC [ RunTime:0.007425s ]
SHOW FULL COLUMNS FROM `stock_unitquantity` [ RunTime:0.000952s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 11246847 ORDER BY `unit` DESC [ RunTime:0.000422s ]
SHOW FULL COLUMNS FROM `stock_warehousequantity` [ RunTime:0.002740s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 11246847 LIMIT 2 [ RunTime:0.002721s ]
SELECT * FROM `stock_price` WHERE `stockid` = 11246847 ORDER BY `minOrder` ASC [ RunTime:0.001840s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 11944230 LIMIT 4 [ RunTime:0.000745s ]
SELECT * FROM `stock_price` WHERE `stockid` = 11944230 ORDER BY `minOrder` ASC [ RunTime:0.000399s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 11944230 ORDER BY `unit` DESC [ RunTime:0.000433s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 11944230 LIMIT 2 [ RunTime:0.001406s ]
SELECT * FROM `stock_price` WHERE `stockid` = 11944230 ORDER BY `minOrder` ASC [ RunTime:0.001769s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 11161352 LIMIT 4 [ RunTime:0.000944s ]
SELECT * FROM `stock_price` WHERE `stockid` = 11161352 ORDER BY `minOrder` ASC [ RunTime:0.000387s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 11161352 ORDER BY `unit` DESC [ RunTime:0.000377s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 11161352 LIMIT 2 [ RunTime:0.002847s ]
SELECT * FROM `stock_price` WHERE `stockid` = 11161352 ORDER BY `minOrder` ASC [ RunTime:0.005989s ]
select * from pdf where partno='ROX2SJ10R' and brandshort='TE Connectivity Passive Product' limit 1 [ RunTime:0.006835s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 11229618 LIMIT 4 [ RunTime:0.007029s ]
SELECT * FROM `stock_price` WHERE `stockid` = 11229618 ORDER BY `minOrder` ASC [ RunTime:0.007122s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 11229618 ORDER BY `unit` DESC [ RunTime:0.004034s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 11229618 LIMIT 2 [ RunTime:0.004573s ]
SELECT * FROM `stock_price` WHERE `stockid` = 11229618 ORDER BY `minOrder` ASC [ RunTime:0.000425s ]
select * from pdf where partno='HSME-A100-M02J1' and brandshort='Broadcom Limited' limit 1 [ RunTime:0.003781s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 11944120 LIMIT 4 [ RunTime:0.000859s ]
SELECT * FROM `stock_price` WHERE `stockid` = 11944120 ORDER BY `minOrder` ASC [ RunTime:0.002072s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 11944120 ORDER BY `unit` DESC [ RunTime:0.001857s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 11944120 LIMIT 2 [ RunTime:0.002575s ]
SELECT * FROM `stock_price` WHERE `stockid` = 11944120 ORDER BY `minOrder` ASC [ RunTime:0.000349s ]
select * from pdf where partno='BLM03BD471SN1D' and brandshort='Murata Electronics' limit 1 [ RunTime:0.002614s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 11249646 LIMIT 4 [ RunTime:0.001117s ]
SELECT * FROM `stock_price` WHERE `stockid` = 11249646 ORDER BY `minOrder` ASC [ RunTime:0.000588s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 11249646 ORDER BY `unit` DESC [ RunTime:0.000572s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 11249646 LIMIT 2 [ RunTime:0.001879s ]
SELECT * FROM `stock_price` WHERE `stockid` = 11249646 ORDER BY `minOrder` ASC [ RunTime:0.001860s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 11229102 LIMIT 4 [ RunTime:0.009778s ]
SELECT * FROM `stock_price` WHERE `stockid` = 11229102 ORDER BY `minOrder` ASC [ RunTime:0.006413s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 11229102 ORDER BY `unit` DESC [ RunTime:0.002289s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 11229102 LIMIT 2 [ RunTime:0.000632s ]
SELECT * FROM `stock_price` WHERE `stockid` = 11229102 ORDER BY `minOrder` ASC [ RunTime:0.000389s ]
select * from pdf where partno='5990260007F' and brandshort='Dialight' limit 1 [ RunTime:0.001908s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 11170583 LIMIT 4 [ RunTime:0.003549s ]
SELECT * FROM `stock_price` WHERE `stockid` = 11170583 ORDER BY `minOrder` ASC [ RunTime:0.001028s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 11170583 ORDER BY `unit` DESC [ RunTime:0.001133s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 11170583 LIMIT 2 [ RunTime:0.000541s ]
SELECT * FROM `stock_price` WHERE `stockid` = 11170583 ORDER BY `minOrder` ASC [ RunTime:0.000356s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 11481371 LIMIT 4 [ RunTime:0.003603s ]
SELECT * FROM `stock_price` WHERE `stockid` = 11481371 ORDER BY `minOrder` ASC [ RunTime:0.003381s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 11481371 ORDER BY `unit` DESC [ RunTime:0.000521s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 11481371 LIMIT 2 [ RunTime:0.000491s ]
SELECT * FROM `stock_price` WHERE `stockid` = 11481371 ORDER BY `minOrder` ASC [ RunTime:0.000333s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 11230012 LIMIT 4 [ RunTime:0.000800s ]
SELECT * FROM `stock_price` WHERE `stockid` = 11230012 ORDER BY `minOrder` ASC [ RunTime:0.000507s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 11230012 ORDER BY `unit` DESC [ RunTime:0.001902s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 11230012 LIMIT 2 [ RunTime:0.006354s ]
SELECT * FROM `stock_price` WHERE `stockid` = 11230012 ORDER BY `minOrder` ASC [ RunTime:0.000387s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 11166274 LIMIT 4 [ RunTime:0.000877s ]
SELECT * FROM `stock_price` WHERE `stockid` = 11166274 ORDER BY `minOrder` ASC [ RunTime:0.000517s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 11166274 ORDER BY `unit` DESC [ RunTime:0.000499s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 11166274 LIMIT 2 [ RunTime:0.001339s ]
SELECT * FROM `stock_price` WHERE `stockid` = 11166274 ORDER BY `minOrder` ASC [ RunTime:0.003057s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 11494598 LIMIT 4 [ RunTime:0.001509s ]
SELECT * FROM `stock_price` WHERE `stockid` = 11494598 ORDER BY `minOrder` ASC [ RunTime:0.002707s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 11494598 ORDER BY `unit` DESC [ RunTime:0.000532s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 11494598 LIMIT 2 [ RunTime:0.002690s ]
SELECT * FROM `stock_price` WHERE `stockid` = 11494598 ORDER BY `minOrder` ASC [ RunTime:0.000357s ]
select * from pdf where partno='0521160411' and brandshort='Molex' limit 1 [ RunTime:0.004457s ]
select foldpath,foldpath2,filename from pdf_file where id=752656 limit 1 [ RunTime:0.002309s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 10467870 LIMIT 4 [ RunTime:0.013577s ]
SELECT * FROM `stock_price` WHERE `stockid` = 10467870 ORDER BY `minOrder` ASC [ RunTime:0.001541s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 10467870 ORDER BY `unit` DESC [ RunTime:0.004989s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 10467870 LIMIT 2 [ RunTime:0.003283s ]
SELECT * FROM `stock_price` WHERE `stockid` = 10467870 ORDER BY `minOrder` ASC [ RunTime:0.006416s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 10675430 LIMIT 4 [ RunTime:0.007564s ]
SELECT * FROM `stock_price` WHERE `stockid` = 10675430 ORDER BY `minOrder` ASC [ RunTime:0.006480s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 10675430 ORDER BY `unit` DESC [ RunTime:0.006188s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 10675430 LIMIT 2 [ RunTime:0.003799s ]
SELECT * FROM `stock_price` WHERE `stockid` = 10675430 ORDER BY `minOrder` ASC [ RunTime:0.008475s ]
select * from pdf where partno='C0402C479B5GACAUTO' and brandshort='KEMET' limit 1 [ RunTime:0.008420s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 11944049 LIMIT 4 [ RunTime:0.006987s ]
SELECT * FROM `stock_price` WHERE `stockid` = 11944049 ORDER BY `minOrder` ASC [ RunTime:0.003617s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 11944049 ORDER BY `unit` DESC [ RunTime:0.000536s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 11944049 LIMIT 2 [ RunTime:0.000527s ]
SELECT * FROM `stock_price` WHERE `stockid` = 11944049 ORDER BY `minOrder` ASC [ RunTime:0.000533s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 10439255 LIMIT 4 [ RunTime:0.003461s ]
SELECT * FROM `stock_price` WHERE `stockid` = 10439255 ORDER BY `minOrder` ASC [ RunTime:0.004819s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 10439255 ORDER BY `unit` DESC [ RunTime:0.016454s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 10439255 LIMIT 2 [ RunTime:0.001215s ]
SELECT * FROM `stock_price` WHERE `stockid` = 10439255 ORDER BY `minOrder` ASC [ RunTime:0.000733s ]
select * from pdf where partno='CGJ5L4C0G2H272J160AA' and brandshort='TDK Corporation' limit 1 [ RunTime:0.005078s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 11978552 LIMIT 4 [ RunTime:0.008288s ]
SELECT * FROM `stock_price` WHERE `stockid` = 11978552 ORDER BY `minOrder` ASC [ RunTime:0.001655s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 11978552 ORDER BY `unit` DESC [ RunTime:0.004017s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 11978552 LIMIT 2 [ RunTime:0.000855s ]
SELECT * FROM `stock_price` WHERE `stockid` = 11978552 ORDER BY `minOrder` ASC [ RunTime:0.000511s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 11919260 LIMIT 4 [ RunTime:0.001081s ]
SELECT * FROM `stock_price` WHERE `stockid` = 11919260 ORDER BY `minOrder` ASC [ RunTime:0.003365s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 11919260 ORDER BY `unit` DESC [ RunTime:0.001641s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 11919260 LIMIT 2 [ RunTime:0.007198s ]
SELECT * FROM `stock_price` WHERE `stockid` = 11919260 ORDER BY `minOrder` ASC [ RunTime:0.001067s ]
select * from pdf where partno='F31K-1A7H1-11006' and brandshort='Amphenol ICC FCI' limit 1 [ RunTime:0.006138s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 11413938 LIMIT 4 [ RunTime:0.004966s ]
SELECT * FROM `stock_price` WHERE `stockid` = 11413938 ORDER BY `minOrder` ASC [ RunTime:0.001816s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 11413938 ORDER BY `unit` DESC [ RunTime:0.003905s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 11413938 LIMIT 2 [ RunTime:0.003261s ]
SELECT * FROM `stock_price` WHERE `stockid` = 11413938 ORDER BY `minOrder` ASC [ RunTime:0.000363s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 11148841 LIMIT 4 [ RunTime:0.001870s ]
SELECT * FROM `stock_price` WHERE `stockid` = 11148841 ORDER BY `minOrder` ASC [ RunTime:0.000505s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 11148841 ORDER BY `unit` DESC [ RunTime:0.000477s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 11148841 LIMIT 2 [ RunTime:0.000461s ]
SELECT * FROM `stock_price` WHERE `stockid` = 11148841 ORDER BY `minOrder` ASC [ RunTime:0.001165s ]
SELECT brand, count(*) as count FROM `stock` WHERE ( `status` <> 2 ) AND `brand` IS NOT NULL AND `brand` <> '' GROUP BY `brand` ORDER BY `count` DESC LIMIT 10000 [ RunTime:1.931631s ]