SHOW FULL COLUMNS FROM `product_type` [ RunTime:0.001377s ]
SELECT `id`,`typeid`,`name`,`typestr` FROM `product_type` WHERE `id` NOT IN (11,12,13,14,15) AND `id` <= 750 [ RunTime:0.000501s ]
SHOW FULL COLUMNS FROM `o_cart` [ RunTime:0.001531s ]
SELECT COUNT(*) AS think_count FROM `o_cart` WHERE ( `userId` = 0 AND `visitIP` = '216.73.216.21' ) [ RunTime:0.000309s ]
SHOW FULL COLUMNS FROM `ad` [ RunTime:0.001183s ]
SELECT * FROM `ad` WHERE `isDisplay` = 1 [ RunTime:0.000358s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `id` = 22 LIMIT 1 [ RunTime:0.000406s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `typeid` = 22 [ RunTime:0.000255s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `typeid` IN (132,133,134,135,136,137,138,139,140,141) [ RunTime:0.001197s ]
SHOW FULL COLUMNS FROM `stock` [ RunTime:0.002271s ]
SELECT COUNT(*) AS think_count FROM `stock` `s` INNER JOIN `user` `u` ON `s`.`userid`=`u`.`stockuserid` WHERE ( `status` <> 2 AND `categoryid` IN (132,133,134,135,136,137,138,139,140,141) ) AND `u`.`lockUser` = '0' [ RunTime:0.012147s ]
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` IN (132,133,134,135,136,137,138,139,140,141) ) ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.004233s ]
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 ('7127','14780','7565','5058','2475','4467','8283','5013','6413','247','2004','6553','4106','4466','4665','8280','14785','14791','8282','4041') ORDER BY FIELD(s.id, 7127,14780,7565,5058,2475,4467,8283,5013,6413,247,2004,6553,4106,4466,4665,8280,14785,14791,8282,4041) [ RunTime:0.003654s ]
SHOW FULL COLUMNS FROM `stock_pra` [ RunTime:0.001614s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 7127 LIMIT 4 [ RunTime:0.000515s ]
SHOW FULL COLUMNS FROM `stock_price` [ RunTime:0.001072s ]
SELECT * FROM `stock_price` WHERE `stockid` = 7127 ORDER BY `minOrder` ASC [ RunTime:0.000658s ]
SHOW FULL COLUMNS FROM `stock_unitquantity` [ RunTime:0.000919s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 7127 ORDER BY `unit` DESC [ RunTime:0.002368s ]
SHOW FULL COLUMNS FROM `stock_warehousequantity` [ RunTime:0.005756s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 7127 LIMIT 2 [ RunTime:0.000705s ]
SELECT * FROM `stock_price` WHERE `stockid` = 7127 ORDER BY `minOrder` ASC [ RunTime:0.001334s ]
SHOW FULL COLUMNS FROM `stock_pra_lib` [ RunTime:0.001061s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'BSS138NH6327XTSA2' OR `brand` LIKE 'INFINEON%' ) ) LIMIT 1 [ RunTime:0.007118s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 14780 LIMIT 4 [ RunTime:0.000374s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14780 ORDER BY `minOrder` ASC [ RunTime:0.000609s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 14780 ORDER BY `unit` DESC [ RunTime:0.001200s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 14780 LIMIT 2 [ RunTime:0.002826s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14780 ORDER BY `minOrder` ASC [ RunTime:0.001116s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'FDV303N' OR `brand` LIKE 'ONSEMI%' ) ) LIMIT 1 [ RunTime:0.008239s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 7565 LIMIT 4 [ RunTime:0.002824s ]
SELECT * FROM `stock_price` WHERE `stockid` = 7565 ORDER BY `minOrder` ASC [ RunTime:0.003118s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 7565 ORDER BY `unit` DESC [ RunTime:0.001495s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 7565 LIMIT 2 [ RunTime:0.003824s ]
SELECT * FROM `stock_price` WHERE `stockid` = 7565 ORDER BY `minOrder` ASC [ RunTime:0.000502s ]
select * from pdf where partno='IRF7103TRPBF' and brandshort='INFINEON' limit 1 [ RunTime:0.003199s ]
select foldpath,foldpath2,filename from pdf_file where id=1111645 limit 1 [ RunTime:0.007472s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'IRF7103TRPBF' OR `brand` LIKE 'INFINEON%' ) ) LIMIT 1 [ RunTime:0.010625s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 5058 LIMIT 4 [ RunTime:0.004603s ]
SELECT * FROM `stock_price` WHERE `stockid` = 5058 ORDER BY `minOrder` ASC [ RunTime:0.005907s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 5058 ORDER BY `unit` DESC [ RunTime:0.004667s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 5058 LIMIT 2 [ RunTime:0.001715s ]
SELECT * FROM `stock_price` WHERE `stockid` = 5058 ORDER BY `minOrder` ASC [ RunTime:0.000698s ]
select * from pdf where partno='BSS138BK,215' and brandshort='NEXPERIA' limit 1 [ RunTime:0.007551s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'BSS138BK,215' OR `brand` LIKE 'NEXPERIA%' ) ) LIMIT 1 [ RunTime:0.008289s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 2475 LIMIT 4 [ RunTime:0.000473s ]
SELECT * FROM `stock_price` WHERE `stockid` = 2475 ORDER BY `minOrder` ASC [ RunTime:0.000694s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 2475 ORDER BY `unit` DESC [ RunTime:0.000848s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 2475 LIMIT 2 [ RunTime:0.001821s ]
SELECT * FROM `stock_price` WHERE `stockid` = 2475 ORDER BY `minOrder` ASC [ RunTime:0.001446s ]
select * from pdf where partno='2N7002,215' and brandshort='NEXPERIA' limit 1 [ RunTime:0.002966s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '2N7002,215' OR `brand` LIKE 'NEXPERIA%' ) ) LIMIT 1 [ RunTime:0.006296s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 4467 LIMIT 4 [ RunTime:0.004162s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4467 ORDER BY `minOrder` ASC [ RunTime:0.004739s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 4467 ORDER BY `unit` DESC [ RunTime:0.000554s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 4467 LIMIT 2 [ RunTime:0.000492s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4467 ORDER BY `minOrder` ASC [ RunTime:0.000267s ]
select * from pdf where partno='NDS331N' and brandshort='ONSEMI' limit 1 [ RunTime:0.003687s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'NDS331N' OR `brand` LIKE 'ONSEMI%' ) ) LIMIT 1 [ RunTime:0.012458s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 8283 LIMIT 4 [ RunTime:0.002084s ]
SELECT * FROM `stock_price` WHERE `stockid` = 8283 ORDER BY `minOrder` ASC [ RunTime:0.001016s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 8283 ORDER BY `unit` DESC [ RunTime:0.000384s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 8283 LIMIT 2 [ RunTime:0.000475s ]
SELECT * FROM `stock_price` WHERE `stockid` = 8283 ORDER BY `minOrder` ASC [ RunTime:0.000259s ]
select * from pdf where partno='DMG2305UX-7' and brandshort='DIODES INC.' limit 1 [ RunTime:0.002005s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'DMG2305UX-7' OR `brand` LIKE 'DIODES INC.%' ) ) LIMIT 1 [ RunTime:0.004758s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 5013 LIMIT 4 [ RunTime:0.002280s ]
SELECT * FROM `stock_price` WHERE `stockid` = 5013 ORDER BY `minOrder` ASC [ RunTime:0.004561s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 5013 ORDER BY `unit` DESC [ RunTime:0.001188s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 5013 LIMIT 2 [ RunTime:0.000760s ]
SELECT * FROM `stock_price` WHERE `stockid` = 5013 ORDER BY `minOrder` ASC [ RunTime:0.000414s ]
select * from pdf where partno='BSS138PS,115' and brandshort='NEXPERIA' limit 1 [ RunTime:0.001263s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'BSS138PS,115' OR `brand` LIKE 'NEXPERIA%' ) ) LIMIT 1 [ RunTime:0.006494s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 6413 LIMIT 4 [ RunTime:0.000386s ]
SELECT * FROM `stock_price` WHERE `stockid` = 6413 ORDER BY `minOrder` ASC [ RunTime:0.000623s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 6413 ORDER BY `unit` DESC [ RunTime:0.001192s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 6413 LIMIT 2 [ RunTime:0.003202s ]
SELECT * FROM `stock_price` WHERE `stockid` = 6413 ORDER BY `minOrder` ASC [ RunTime:0.000515s ]
select * from pdf where partno='BSS84' and brandshort='ONSEMI' limit 1 [ RunTime:0.002475s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'BSS84' OR `brand` LIKE 'ONSEMI%' ) ) LIMIT 1 [ RunTime:0.006306s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 247 LIMIT 4 [ RunTime:0.001262s ]
SELECT * FROM `stock_price` WHERE `stockid` = 247 ORDER BY `minOrder` ASC [ RunTime:0.000784s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 247 ORDER BY `unit` DESC [ RunTime:0.000473s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 247 LIMIT 2 [ RunTime:0.001333s ]
SELECT * FROM `stock_price` WHERE `stockid` = 247 ORDER BY `minOrder` ASC [ RunTime:0.000261s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'BSS84PH6327XTSA2' OR `brand` LIKE 'INFINEON%' ) ) LIMIT 1 [ RunTime:0.005074s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 2004 LIMIT 4 [ RunTime:0.000688s ]
SELECT * FROM `stock_price` WHERE `stockid` = 2004 ORDER BY `minOrder` ASC [ RunTime:0.000599s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 2004 ORDER BY `unit` DESC [ RunTime:0.000673s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 2004 LIMIT 2 [ RunTime:0.000456s ]
SELECT * FROM `stock_price` WHERE `stockid` = 2004 ORDER BY `minOrder` ASC [ RunTime:0.000251s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'NTS4101PT1G' OR `brand` LIKE 'ONSEMI%' ) ) LIMIT 1 [ RunTime:0.006022s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 6553 LIMIT 4 [ RunTime:0.000329s ]
SELECT * FROM `stock_price` WHERE `stockid` = 6553 ORDER BY `minOrder` ASC [ RunTime:0.001590s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 6553 ORDER BY `unit` DESC [ RunTime:0.004369s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 6553 LIMIT 2 [ RunTime:0.000599s ]
SELECT * FROM `stock_price` WHERE `stockid` = 6553 ORDER BY `minOrder` ASC [ RunTime:0.000264s ]
select * from pdf where partno='2N7002P,215' and brandshort='NEXPERIA' limit 1 [ RunTime:0.001943s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '2N7002P,215' OR `brand` LIKE 'NEXPERIA%' ) ) LIMIT 1 [ RunTime:0.005025s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 4106 LIMIT 4 [ RunTime:0.002434s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4106 ORDER BY `minOrder` ASC [ RunTime:0.002783s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 4106 ORDER BY `unit` DESC [ RunTime:0.000523s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 4106 LIMIT 2 [ RunTime:0.000510s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4106 ORDER BY `minOrder` ASC [ RunTime:0.002687s ]
select * from pdf where partno='IRLML0060TRPBF' and brandshort='INFINEON' limit 1 [ RunTime:0.001659s ]
select foldpath,foldpath2,filename from pdf_file where id=817312 limit 1 [ RunTime:0.003352s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'IRLML0060TRPBF' OR `brand` LIKE 'INFINEON%' ) ) LIMIT 1 [ RunTime:0.005281s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 4466 LIMIT 4 [ RunTime:0.007124s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4466 ORDER BY `minOrder` ASC [ RunTime:0.000424s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 4466 ORDER BY `unit` DESC [ RunTime:0.000362s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 4466 LIMIT 2 [ RunTime:0.002351s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4466 ORDER BY `minOrder` ASC [ RunTime:0.000270s ]
select * from pdf where partno='SI2308BDS-T1-GE3' and brandshort='VISHAY' limit 1 [ RunTime:0.002127s ]
select foldpath,foldpath2,filename from pdf_file where id=1058600 limit 1 [ RunTime:0.003311s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'SI2308BDS-T1-GE3' OR `brand` LIKE 'VISHAY%' ) ) LIMIT 1 [ RunTime:0.016940s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 4665 LIMIT 4 [ RunTime:0.003302s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4665 ORDER BY `minOrder` ASC [ RunTime:0.001042s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 4665 ORDER BY `unit` DESC [ RunTime:0.000578s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 4665 LIMIT 2 [ RunTime:0.005399s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4665 ORDER BY `minOrder` ASC [ RunTime:0.000398s ]
select * from pdf where partno='BSS138P,215' and brandshort='NEXPERIA' limit 1 [ RunTime:0.001863s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'BSS138P,215' OR `brand` LIKE 'NEXPERIA%' ) ) LIMIT 1 [ RunTime:0.009474s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 8280 LIMIT 4 [ RunTime:0.002193s ]
SELECT * FROM `stock_price` WHERE `stockid` = 8280 ORDER BY `minOrder` ASC [ RunTime:0.008998s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 8280 ORDER BY `unit` DESC [ RunTime:0.001163s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 8280 LIMIT 2 [ RunTime:0.001271s ]
SELECT * FROM `stock_price` WHERE `stockid` = 8280 ORDER BY `minOrder` ASC [ RunTime:0.000365s ]
select * from pdf where partno='DMG1012T-7' and brandshort='DIODES INC.' limit 1 [ RunTime:0.001755s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'DMG1012T-7' OR `brand` LIKE 'DIODES INC.%' ) ) LIMIT 1 [ RunTime:0.002795s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 14785 LIMIT 4 [ RunTime:0.001081s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14785 ORDER BY `minOrder` ASC [ RunTime:0.000791s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 14785 ORDER BY `unit` DESC [ RunTime:0.002925s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 14785 LIMIT 2 [ RunTime:0.000555s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14785 ORDER BY `minOrder` ASC [ RunTime:0.000343s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'FDN337N' OR `brand` LIKE 'ONSEMI%' ) ) LIMIT 1 [ RunTime:0.012973s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 14791 LIMIT 4 [ RunTime:0.000525s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14791 ORDER BY `minOrder` ASC [ RunTime:0.005919s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 14791 ORDER BY `unit` DESC [ RunTime:0.002896s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 14791 LIMIT 2 [ RunTime:0.000599s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14791 ORDER BY `minOrder` ASC [ RunTime:0.000353s ]
select * from pdf where partno='FDN340P' and brandshort='ONSEMI' limit 1 [ RunTime:0.002197s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'FDN340P' OR `brand` LIKE 'ONSEMI%' ) ) LIMIT 1 [ RunTime:0.014015s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 8282 LIMIT 4 [ RunTime:0.001174s ]
SELECT * FROM `stock_price` WHERE `stockid` = 8282 ORDER BY `minOrder` ASC [ RunTime:0.000441s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 8282 ORDER BY `unit` DESC [ RunTime:0.002239s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 8282 LIMIT 2 [ RunTime:0.011096s ]
SELECT * FROM `stock_price` WHERE `stockid` = 8282 ORDER BY `minOrder` ASC [ RunTime:0.000337s ]
select * from pdf where partno='DMG2305UX-13' and brandshort='DIODES INC.' limit 1 [ RunTime:0.001860s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'DMG2305UX-13' OR `brand` LIKE 'DIODES INC.%' ) ) LIMIT 1 [ RunTime:0.000724s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 4041 LIMIT 4 [ RunTime:0.000508s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4041 ORDER BY `minOrder` ASC [ RunTime:0.000891s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 4041 ORDER BY `unit` DESC [ RunTime:0.000903s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 4041 LIMIT 2 [ RunTime:0.000903s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4041 ORDER BY `minOrder` ASC [ RunTime:0.002931s ]
select * from pdf where partno='BSC059N04LSGATMA1' and brandshort='INFINEON' limit 1 [ RunTime:0.003422s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'BSC059N04LSGATMA1' OR `brand` LIKE 'INFINEON%' ) ) LIMIT 1 [ RunTime:0.020308s ]
SELECT brand, count(*) as count FROM `stock` WHERE ( `status` <> 2 AND `categoryid` IN (132,133,134,135,136,137,138,139,140,141) ) AND `brand` IS NOT NULL AND `brand` <> '' GROUP BY `brand` ORDER BY `count` DESC LIMIT 10000 [ RunTime:0.011546s ]