SHOW FULL COLUMNS FROM `product_type` [ RunTime:0.001908s ]
SELECT `id`,`typeid`,`name`,`typestr` FROM `product_type` WHERE `id` NOT IN (11,12,13,14,15) AND `id` <= 750 [ RunTime:0.000746s ]
SHOW FULL COLUMNS FROM `o_cart` [ RunTime:0.002689s ]
SELECT COUNT(*) AS think_count FROM `o_cart` WHERE ( `userId` = 0 AND `visitIP` = '216.73.216.121' ) [ RunTime:0.003491s ]
SHOW FULL COLUMNS FROM `ad` [ RunTime:0.002863s ]
SELECT * FROM `ad` WHERE `isDisplay` = 1 [ RunTime:0.000584s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `id` = 0 LIMIT 1 [ RunTime:0.000331s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `typeid` = 0 [ RunTime:0.000227s ]
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.000447s ]
SHOW FULL COLUMNS FROM `stock` [ RunTime:0.001236s ]
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:0.000280s ]
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 9740,20 [ RunTime:0.104428s ]
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 ('13688','13680','7707','3203','1144','10510196','4598','2143','14545','1075','10435954','14088','2183','5527','666','10501430','13986','10477268','10441501','10598') ORDER BY FIELD(s.id, 13688,13680,7707,3203,1144,10510196,4598,2143,14545,1075,10435954,14088,2183,5527,666,10501430,13986,10477268,10441501,10598) [ RunTime:0.013331s ]
SHOW FULL COLUMNS FROM `stock_pra` [ RunTime:0.001112s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 13688 LIMIT 4 [ RunTime:0.000849s ]
SHOW FULL COLUMNS FROM `stock_price` [ RunTime:0.000968s ]
SELECT * FROM `stock_price` WHERE `stockid` = 13688 ORDER BY `minOrder` ASC [ RunTime:0.004349s ]
SHOW FULL COLUMNS FROM `stock_unitquantity` [ RunTime:0.001233s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 13688 ORDER BY `unit` DESC [ RunTime:0.006205s ]
SHOW FULL COLUMNS FROM `stock_warehousequantity` [ RunTime:0.002894s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 13688 LIMIT 2 [ RunTime:0.007606s ]
SELECT * FROM `stock_price` WHERE `stockid` = 13688 ORDER BY `minOrder` ASC [ RunTime:0.005986s ]
SHOW FULL COLUMNS FROM `stock_pra_lib` [ RunTime:0.002411s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'GARRYFLEX BLOCK 240 GRIT' OR `brand` LIKE 'GARRYSON%' ) ) LIMIT 1 [ RunTime:0.003996s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 13680 LIMIT 4 [ RunTime:0.008030s ]
SELECT * FROM `stock_price` WHERE `stockid` = 13680 ORDER BY `minOrder` ASC [ RunTime:0.011854s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 13680 ORDER BY `unit` DESC [ RunTime:0.001360s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 13680 LIMIT 2 [ RunTime:0.000768s ]
SELECT * FROM `stock_price` WHERE `stockid` = 13680 ORDER BY `minOrder` ASC [ RunTime:0.003305s ]
select * from pdf where partno='43020-0600' and brandshort='MOLEX' limit 1 [ RunTime:0.007132s ]
select foldpath,foldpath2,filename from pdf_file where id=827932 limit 1 [ RunTime:0.007296s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '43020-0600' OR `brand` LIKE 'MOLEX%' ) ) LIMIT 1 [ RunTime:0.011222s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 7707 LIMIT 4 [ RunTime:0.002353s ]
SELECT * FROM `stock_price` WHERE `stockid` = 7707 ORDER BY `minOrder` ASC [ RunTime:0.004662s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 7707 ORDER BY `unit` DESC [ RunTime:0.000441s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 7707 LIMIT 2 [ RunTime:0.000409s ]
SELECT * FROM `stock_price` WHERE `stockid` = 7707 ORDER BY `minOrder` ASC [ RunTime:0.003525s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'IPD100N04S402ATMA1' OR `brand` LIKE 'INFINEON%' ) ) LIMIT 1 [ RunTime:0.010197s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 3203 LIMIT 4 [ RunTime:0.005225s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3203 ORDER BY `minOrder` ASC [ RunTime:0.001366s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 3203 ORDER BY `unit` DESC [ RunTime:0.003753s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 3203 LIMIT 2 [ RunTime:0.001298s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3203 ORDER BY `minOrder` ASC [ RunTime:0.000268s ]
select * from pdf where partno='CRCW12064K30FKEA' and brandshort='VISHAY' limit 1 [ RunTime:0.007485s ]
select foldpath,foldpath2,filename from pdf_file where id=1487005 limit 1 [ RunTime:0.005283s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'CRCW12064K30FKEA' OR `brand` LIKE 'VISHAY%' ) ) LIMIT 1 [ RunTime:0.012872s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 1144 LIMIT 4 [ RunTime:0.002482s ]
SELECT * FROM `stock_price` WHERE `stockid` = 1144 ORDER BY `minOrder` ASC [ RunTime:0.006045s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 1144 ORDER BY `unit` DESC [ RunTime:0.005855s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 1144 LIMIT 2 [ RunTime:0.003628s ]
SELECT * FROM `stock_price` WHERE `stockid` = 1144 ORDER BY `minOrder` ASC [ RunTime:0.000339s ]
select * from pdf where partno='74HC245D,653' and brandshort='NEXPERIA' limit 1 [ RunTime:0.003609s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '74HC245D,653' OR `brand` LIKE 'NEXPERIA%' ) ) LIMIT 1 [ RunTime:0.011595s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 10510196 LIMIT 4 [ RunTime:0.008188s ]
SELECT * FROM `stock_price` WHERE `stockid` = 10510196 ORDER BY `minOrder` ASC [ RunTime:0.000661s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 10510196 ORDER BY `unit` DESC [ RunTime:0.002515s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 10510196 LIMIT 2 [ RunTime:0.000387s ]
SELECT * FROM `stock_price` WHERE `stockid` = 10510196 ORDER BY `minOrder` ASC [ RunTime:0.000259s ]
select * from pdf where partno='CGA6M3X7R2A155K200AB' and brandshort='TDK Corporation' limit 1 [ RunTime:0.005942s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 4598 LIMIT 4 [ RunTime:0.005677s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4598 ORDER BY `minOrder` ASC [ RunTime:0.006316s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 4598 ORDER BY `unit` DESC [ RunTime:0.001363s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 4598 LIMIT 2 [ RunTime:0.003551s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4598 ORDER BY `minOrder` ASC [ RunTime:0.000350s ]
select * from pdf where partno='RS02B1R000FE70' and brandshort='VISHAY' limit 1 [ RunTime:0.013291s ]
select foldpath,foldpath2,filename from pdf_file where id=1920123 limit 1 [ RunTime:0.010423s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'RS02B1R000FE70' OR `brand` LIKE 'VISHAY%' ) ) LIMIT 1 [ RunTime:0.014047s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 2143 LIMIT 4 [ RunTime:0.000415s ]
SELECT * FROM `stock_price` WHERE `stockid` = 2143 ORDER BY `minOrder` ASC [ RunTime:0.006008s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 2143 ORDER BY `unit` DESC [ RunTime:0.012310s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 2143 LIMIT 2 [ RunTime:0.003030s ]
SELECT * FROM `stock_price` WHERE `stockid` = 2143 ORDER BY `minOrder` ASC [ RunTime:0.000289s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'RJHSE-5381' OR `brand` LIKE 'AMPHENOL COMMUNICATIONS SOLUTIONS%' ) ) LIMIT 1 [ RunTime:0.016806s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 14545 LIMIT 4 [ RunTime:0.011069s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14545 ORDER BY `minOrder` ASC [ RunTime:0.002321s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 14545 ORDER BY `unit` DESC [ RunTime:0.000866s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 14545 LIMIT 2 [ RunTime:0.000621s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14545 ORDER BY `minOrder` ASC [ RunTime:0.000371s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'LF-65B' OR `brand` LIKE 'MULTICOMP PRO%' ) ) LIMIT 1 [ RunTime:0.007071s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 1075 LIMIT 4 [ RunTime:0.018897s ]
SELECT * FROM `stock_price` WHERE `stockid` = 1075 ORDER BY `minOrder` ASC [ RunTime:0.014588s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 1075 ORDER BY `unit` DESC [ RunTime:0.001735s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 1075 LIMIT 2 [ RunTime:0.000985s ]
SELECT * FROM `stock_price` WHERE `stockid` = 1075 ORDER BY `minOrder` ASC [ RunTime:0.000358s ]
select * from pdf where partno='MCCTB106M016' and brandshort='MULTICOMP' limit 1 [ RunTime:0.006731s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'MCCTB106M016' OR `brand` LIKE 'MULTICOMP%' ) ) LIMIT 1 [ RunTime:0.005838s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 10435954 LIMIT 4 [ RunTime:0.010207s ]
SELECT * FROM `stock_price` WHERE `stockid` = 10435954 ORDER BY `minOrder` ASC [ RunTime:0.005169s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 10435954 ORDER BY `unit` DESC [ RunTime:0.001926s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 10435954 LIMIT 2 [ RunTime:0.003945s ]
SELECT * FROM `stock_price` WHERE `stockid` = 10435954 ORDER BY `minOrder` ASC [ RunTime:0.002648s ]
select * from pdf where partno='C1210C392JBGACAUTO' and brandshort='KEMET' limit 1 [ RunTime:0.004339s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 14088 LIMIT 4 [ RunTime:0.000760s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14088 ORDER BY `minOrder` ASC [ RunTime:0.000727s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 14088 ORDER BY `unit` DESC [ RunTime:0.001733s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 14088 LIMIT 2 [ RunTime:0.005081s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14088 ORDER BY `minOrder` ASC [ RunTime:0.000846s ]
select * from pdf where partno='RC0805FR-073K9L' and brandshort='YAGEO' limit 1 [ RunTime:0.012079s ]
select foldpath,foldpath2,filename from pdf_file where id=1976034 limit 1 [ RunTime:0.002523s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'RC0805FR-073K9L' OR `brand` LIKE 'YAGEO%' ) ) LIMIT 1 [ RunTime:0.005875s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 2183 LIMIT 4 [ RunTime:0.000658s ]
SELECT * FROM `stock_price` WHERE `stockid` = 2183 ORDER BY `minOrder` ASC [ RunTime:0.008354s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 2183 ORDER BY `unit` DESC [ RunTime:0.007043s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 2183 LIMIT 2 [ RunTime:0.000465s ]
SELECT * FROM `stock_price` WHERE `stockid` = 2183 ORDER BY `minOrder` ASC [ RunTime:0.007252s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'SPC19829' OR `brand` LIKE 'MULTICOMP%' ) ) LIMIT 1 [ RunTime:0.005915s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 5527 LIMIT 4 [ RunTime:0.001060s ]
SELECT * FROM `stock_price` WHERE `stockid` = 5527 ORDER BY `minOrder` ASC [ RunTime:0.005320s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 5527 ORDER BY `unit` DESC [ RunTime:0.013252s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 5527 LIMIT 2 [ RunTime:0.000537s ]
SELECT * FROM `stock_price` WHERE `stockid` = 5527 ORDER BY `minOrder` ASC [ RunTime:0.000726s ]
select * from pdf where partno='C1210C476M8PACTU' and brandshort='KEMET' limit 1 [ RunTime:0.006504s ]
select foldpath,foldpath2,filename from pdf_file where id=2060976 limit 1 [ RunTime:0.009618s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'C1210C476M8PACTU' OR `brand` LIKE 'KEMET%' ) ) LIMIT 1 [ RunTime:0.009365s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 666 LIMIT 4 [ RunTime:0.004576s ]
SELECT * FROM `stock_price` WHERE `stockid` = 666 ORDER BY `minOrder` ASC [ RunTime:0.004759s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 666 ORDER BY `unit` DESC [ RunTime:0.002826s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 666 LIMIT 2 [ RunTime:0.002949s ]
SELECT * FROM `stock_price` WHERE `stockid` = 666 ORDER BY `minOrder` ASC [ RunTime:0.001873s ]
select * from pdf where partno='53398-0671' and brandshort='MOLEX' limit 1 [ RunTime:0.006893s ]
select foldpath,foldpath2,filename from pdf_file where id=853675 limit 1 [ RunTime:0.007539s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '53398-0671' OR `brand` LIKE 'MOLEX%' ) ) LIMIT 1 [ RunTime:0.011815s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 10501430 LIMIT 4 [ RunTime:0.003792s ]
SELECT * FROM `stock_price` WHERE `stockid` = 10501430 ORDER BY `minOrder` ASC [ RunTime:0.000331s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 10501430 ORDER BY `unit` DESC [ RunTime:0.006494s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 10501430 LIMIT 2 [ RunTime:0.000344s ]
SELECT * FROM `stock_price` WHERE `stockid` = 10501430 ORDER BY `minOrder` ASC [ RunTime:0.000192s ]
select * from pdf where partno='C3225X5R1C106M200AA' and brandshort='TDK Corporation' limit 1 [ RunTime:0.008972s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 13986 LIMIT 4 [ RunTime:0.001486s ]
SELECT * FROM `stock_price` WHERE `stockid` = 13986 ORDER BY `minOrder` ASC [ RunTime:0.002959s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 13986 ORDER BY `unit` DESC [ RunTime:0.009162s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 13986 LIMIT 2 [ RunTime:0.009134s ]
SELECT * FROM `stock_price` WHERE `stockid` = 13986 ORDER BY `minOrder` ASC [ RunTime:0.006079s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'BC107' OR `brand` LIKE 'MULTICOMP PRO%' ) ) LIMIT 1 [ RunTime:0.004540s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 10477268 LIMIT 4 [ RunTime:0.005198s ]
SELECT * FROM `stock_price` WHERE `stockid` = 10477268 ORDER BY `minOrder` ASC [ RunTime:0.004610s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 10477268 ORDER BY `unit` DESC [ RunTime:0.004565s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 10477268 LIMIT 2 [ RunTime:0.002114s ]
SELECT * FROM `stock_price` WHERE `stockid` = 10477268 ORDER BY `minOrder` ASC [ RunTime:0.000295s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 10441501 LIMIT 4 [ RunTime:0.003961s ]
SELECT * FROM `stock_price` WHERE `stockid` = 10441501 ORDER BY `minOrder` ASC [ RunTime:0.002261s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 10441501 ORDER BY `unit` DESC [ RunTime:0.002973s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 10441501 LIMIT 2 [ RunTime:0.004264s ]
SELECT * FROM `stock_price` WHERE `stockid` = 10441501 ORDER BY `minOrder` ASC [ RunTime:0.000381s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 10598 LIMIT 4 [ RunTime:0.001923s ]
SELECT * FROM `stock_price` WHERE `stockid` = 10598 ORDER BY `minOrder` ASC [ RunTime:0.002818s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 10598 ORDER BY `unit` DESC [ RunTime:0.000526s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 10598 LIMIT 2 [ RunTime:0.002325s ]
SELECT * FROM `stock_price` WHERE `stockid` = 10598 ORDER BY `minOrder` ASC [ RunTime:0.000499s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '87439-0900' OR `brand` LIKE 'MOLEX%' ) ) LIMIT 1 [ RunTime:0.008081s ]
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:0.387597s ]