SHOW FULL COLUMNS FROM `product_type` [ RunTime:0.001497s ]
SELECT `id`,`typeid`,`name`,`typestr` FROM `product_type` WHERE `id` NOT IN (11,12,13,14,15) AND `id` <= 750 [ RunTime:0.000523s ]
SHOW FULL COLUMNS FROM `o_cart` [ RunTime:0.001582s ]
SELECT COUNT(*) AS think_count FROM `o_cart` WHERE ( `userId` = 0 AND `visitIP` = '216.73.216.121' ) [ RunTime:0.000311s ]
SHOW FULL COLUMNS FROM `ad` [ RunTime:0.001070s ]
SELECT * FROM `ad` WHERE `isDisplay` = 1 [ RunTime:0.000233s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `id` = 0 LIMIT 1 [ RunTime:0.000312s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `typeid` = 0 [ RunTime:0.000183s ]
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.000345s ]
SHOW FULL COLUMNS FROM `stock` [ RunTime:0.001562s ]
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.702251s ]
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 9080,20 [ RunTime:0.160922s ]
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 ('11150650','11274981','11488375','11150658','11487581','11412183','11150314','11483925','4520','11616502','11230677','11484527','11496397','7635','12607','11606934','11170276','11244284','4327','11481875') ORDER BY FIELD(s.id, 11150650,11274981,11488375,11150658,11487581,11412183,11150314,11483925,4520,11616502,11230677,11484527,11496397,7635,12607,11606934,11170276,11244284,4327,11481875) [ RunTime:0.004324s ]
SHOW FULL COLUMNS FROM `stock_pra` [ RunTime:0.001437s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 11150650 LIMIT 4 [ RunTime:0.001451s ]
SHOW FULL COLUMNS FROM `stock_price` [ RunTime:0.002307s ]
SELECT * FROM `stock_price` WHERE `stockid` = 11150650 ORDER BY `minOrder` ASC [ RunTime:0.000893s ]
SHOW FULL COLUMNS FROM `stock_unitquantity` [ RunTime:0.002461s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 11150650 ORDER BY `unit` DESC [ RunTime:0.000682s ]
SHOW FULL COLUMNS FROM `stock_warehousequantity` [ RunTime:0.002917s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 11150650 LIMIT 2 [ RunTime:0.000656s ]
SELECT * FROM `stock_price` WHERE `stockid` = 11150650 ORDER BY `minOrder` ASC [ RunTime:0.000306s ]
select * from pdf where partno='CF18JT4K30' and brandshort='Stackpole Electronics Inc' limit 1 [ RunTime:0.001517s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 11274981 LIMIT 4 [ RunTime:0.001261s ]
SELECT * FROM `stock_price` WHERE `stockid` = 11274981 ORDER BY `minOrder` ASC [ RunTime:0.000716s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 11274981 ORDER BY `unit` DESC [ RunTime:0.001622s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 11274981 LIMIT 2 [ RunTime:0.000457s ]
SELECT * FROM `stock_price` WHERE `stockid` = 11274981 ORDER BY `minOrder` ASC [ RunTime:0.003919s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 11488375 LIMIT 4 [ RunTime:0.007051s ]
SELECT * FROM `stock_price` WHERE `stockid` = 11488375 ORDER BY `minOrder` ASC [ RunTime:0.001581s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 11488375 ORDER BY `unit` DESC [ RunTime:0.000829s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 11488375 LIMIT 2 [ RunTime:0.000932s ]
SELECT * FROM `stock_price` WHERE `stockid` = 11488375 ORDER BY `minOrder` ASC [ RunTime:0.001482s ]
select * from pdf where partno='1727080002' and brandshort='Molex' limit 1 [ RunTime:0.001707s ]
select foldpath,foldpath2,filename from pdf_file where id=1827812 limit 1 [ RunTime:0.006212s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 11150658 LIMIT 4 [ RunTime:0.003204s ]
SELECT * FROM `stock_price` WHERE `stockid` = 11150658 ORDER BY `minOrder` ASC [ RunTime:0.001887s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 11150658 ORDER BY `unit` DESC [ RunTime:0.002749s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 11150658 LIMIT 2 [ RunTime:0.000524s ]
SELECT * FROM `stock_price` WHERE `stockid` = 11150658 ORDER BY `minOrder` ASC [ RunTime:0.001023s ]
select * from pdf where partno='CF12JT750R' and brandshort='Stackpole Electronics Inc' limit 1 [ RunTime:0.000815s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 11487581 LIMIT 4 [ RunTime:0.001152s ]
SELECT * FROM `stock_price` WHERE `stockid` = 11487581 ORDER BY `minOrder` ASC [ RunTime:0.000483s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 11487581 ORDER BY `unit` DESC [ RunTime:0.000775s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 11487581 LIMIT 2 [ RunTime:0.002624s ]
SELECT * FROM `stock_price` WHERE `stockid` = 11487581 ORDER BY `minOrder` ASC [ RunTime:0.000320s ]
select * from pdf where partno='1512072211' and brandshort='Molex' limit 1 [ RunTime:0.001283s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 11412183 LIMIT 4 [ RunTime:0.001595s ]
SELECT * FROM `stock_price` WHERE `stockid` = 11412183 ORDER BY `minOrder` ASC [ RunTime:0.000598s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 11412183 ORDER BY `unit` DESC [ RunTime:0.002013s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 11412183 LIMIT 2 [ RunTime:0.000412s ]
SELECT * FROM `stock_price` WHERE `stockid` = 11412183 ORDER BY `minOrder` ASC [ RunTime:0.000306s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 11150314 LIMIT 4 [ RunTime:0.000764s ]
SELECT * FROM `stock_price` WHERE `stockid` = 11150314 ORDER BY `minOrder` ASC [ RunTime:0.001210s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 11150314 ORDER BY `unit` DESC [ RunTime:0.000453s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 11150314 LIMIT 2 [ RunTime:0.000381s ]
SELECT * FROM `stock_price` WHERE `stockid` = 11150314 ORDER BY `minOrder` ASC [ RunTime:0.001060s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 11483925 LIMIT 4 [ RunTime:0.000735s ]
SELECT * FROM `stock_price` WHERE `stockid` = 11483925 ORDER BY `minOrder` ASC [ RunTime:0.006517s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 11483925 ORDER BY `unit` DESC [ RunTime:0.000416s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 11483925 LIMIT 2 [ RunTime:0.002444s ]
SELECT * FROM `stock_price` WHERE `stockid` = 11483925 ORDER BY `minOrder` ASC [ RunTime:0.000299s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 4520 LIMIT 4 [ RunTime:0.000393s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4520 ORDER BY `minOrder` ASC [ RunTime:0.000694s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 4520 ORDER BY `unit` DESC [ RunTime:0.002083s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 4520 LIMIT 2 [ RunTime:0.000408s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4520 ORDER BY `minOrder` ASC [ RunTime:0.000296s ]
select * from pdf where partno='BAV99-7-F' and brandshort='DIODES' limit 1 [ RunTime:0.002262s ]
select foldpath,foldpath2,filename from pdf_file where id=672072 limit 1 [ RunTime:0.000732s ]
SHOW FULL COLUMNS FROM `stock_pra_lib` [ RunTime:0.001320s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'BAV99-7-F' OR `brand` LIKE 'DIODES%' ) ) LIMIT 1 [ RunTime:0.004310s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 11616502 LIMIT 4 [ RunTime:0.000889s ]
SELECT * FROM `stock_price` WHERE `stockid` = 11616502 ORDER BY `minOrder` ASC [ RunTime:0.000435s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 11616502 ORDER BY `unit` DESC [ RunTime:0.000424s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 11616502 LIMIT 2 [ RunTime:0.000400s ]
SELECT * FROM `stock_price` WHERE `stockid` = 11616502 ORDER BY `minOrder` ASC [ RunTime:0.000290s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 11230677 LIMIT 4 [ RunTime:0.000813s ]
SELECT * FROM `stock_price` WHERE `stockid` = 11230677 ORDER BY `minOrder` ASC [ RunTime:0.000439s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 11230677 ORDER BY `unit` DESC [ RunTime:0.000384s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 11230677 LIMIT 2 [ RunTime:0.003411s ]
SELECT * FROM `stock_price` WHERE `stockid` = 11230677 ORDER BY `minOrder` ASC [ RunTime:0.000296s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 11484527 LIMIT 4 [ RunTime:0.000686s ]
SELECT * FROM `stock_price` WHERE `stockid` = 11484527 ORDER BY `minOrder` ASC [ RunTime:0.000411s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 11484527 ORDER BY `unit` DESC [ RunTime:0.000408s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 11484527 LIMIT 2 [ RunTime:0.000366s ]
SELECT * FROM `stock_price` WHERE `stockid` = 11484527 ORDER BY `minOrder` ASC [ RunTime:0.000287s ]
select * from pdf where partno='2064620200' and brandshort='Molex' limit 1 [ RunTime:0.002913s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 11496397 LIMIT 4 [ RunTime:0.004698s ]
SELECT * FROM `stock_price` WHERE `stockid` = 11496397 ORDER BY `minOrder` ASC [ RunTime:0.000460s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 11496397 ORDER BY `unit` DESC [ RunTime:0.000398s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 11496397 LIMIT 2 [ RunTime:0.000419s ]
SELECT * FROM `stock_price` WHERE `stockid` = 11496397 ORDER BY `minOrder` ASC [ RunTime:0.000289s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 7635 LIMIT 4 [ RunTime:0.000379s ]
SELECT * FROM `stock_price` WHERE `stockid` = 7635 ORDER BY `minOrder` ASC [ RunTime:0.000667s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 7635 ORDER BY `unit` DESC [ RunTime:0.000378s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 7635 LIMIT 2 [ RunTime:0.000381s ]
SELECT * FROM `stock_price` WHERE `stockid` = 7635 ORDER BY `minOrder` ASC [ RunTime:0.000297s ]
select * from pdf where partno='T495B106K025ATE750' and brandshort='KEMET' limit 1 [ RunTime:0.001703s ]
select foldpath,foldpath2,filename from pdf_file where id=1644890 limit 1 [ RunTime:0.001004s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'T495B106K025ATE750' OR `brand` LIKE 'KEMET%' ) ) LIMIT 1 [ RunTime:0.002768s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 12607 LIMIT 4 [ RunTime:0.000412s ]
SELECT * FROM `stock_price` WHERE `stockid` = 12607 ORDER BY `minOrder` ASC [ RunTime:0.000736s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 12607 ORDER BY `unit` DESC [ RunTime:0.000342s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 12607 LIMIT 2 [ RunTime:0.000402s ]
SELECT * FROM `stock_price` WHERE `stockid` = 12607 ORDER BY `minOrder` ASC [ RunTime:0.000302s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'RM24M9K' OR `brand` LIKE 'SOURIAU-SUNBANK / EATON%' ) ) LIMIT 1 [ RunTime:0.000887s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 11606934 LIMIT 4 [ RunTime:0.000751s ]
SELECT * FROM `stock_price` WHERE `stockid` = 11606934 ORDER BY `minOrder` ASC [ RunTime:0.000412s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 11606934 ORDER BY `unit` DESC [ RunTime:0.000396s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 11606934 LIMIT 2 [ RunTime:0.000390s ]
SELECT * FROM `stock_price` WHERE `stockid` = 11606934 ORDER BY `minOrder` ASC [ RunTime:0.000292s ]
select * from pdf where partno='AXK820145WG' and brandshort='Panasonic Electric Works' limit 1 [ RunTime:0.001204s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 11170276 LIMIT 4 [ RunTime:0.002556s ]
SELECT * FROM `stock_price` WHERE `stockid` = 11170276 ORDER BY `minOrder` ASC [ RunTime:0.000652s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 11170276 ORDER BY `unit` DESC [ RunTime:0.000597s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 11170276 LIMIT 2 [ RunTime:0.001291s ]
SELECT * FROM `stock_price` WHERE `stockid` = 11170276 ORDER BY `minOrder` ASC [ RunTime:0.000420s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 11244284 LIMIT 4 [ RunTime:0.003352s ]
SELECT * FROM `stock_price` WHERE `stockid` = 11244284 ORDER BY `minOrder` ASC [ RunTime:0.000695s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 11244284 ORDER BY `unit` DESC [ RunTime:0.001028s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 11244284 LIMIT 2 [ RunTime:0.001093s ]
SELECT * FROM `stock_price` WHERE `stockid` = 11244284 ORDER BY `minOrder` ASC [ RunTime:0.000401s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 4327 LIMIT 4 [ RunTime:0.000725s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4327 ORDER BY `minOrder` ASC [ RunTime:0.003032s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 4327 ORDER BY `unit` DESC [ RunTime:0.000763s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 4327 LIMIT 2 [ RunTime:0.001115s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4327 ORDER BY `minOrder` ASC [ RunTime:0.000406s ]
select * from pdf where partno='PMEG3030EP,115' and brandshort='NEXPERIA' limit 1 [ RunTime:0.001210s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'PMEG3030EP,115' OR `brand` LIKE 'NEXPERIA%' ) ) LIMIT 1 [ RunTime:0.006474s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 11481875 LIMIT 4 [ RunTime:0.001218s ]
SELECT * FROM `stock_price` WHERE `stockid` = 11481875 ORDER BY `minOrder` ASC [ RunTime:0.000467s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 11481875 ORDER BY `unit` DESC [ RunTime:0.001315s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 11481875 LIMIT 2 [ RunTime:0.000792s ]
SELECT * FROM `stock_price` WHERE `stockid` = 11481875 ORDER BY `minOrder` ASC [ RunTime:0.000301s ]
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.053858s ]