SHOW FULL COLUMNS FROM `product_type` [ RunTime:0.002458s ]
SELECT `id`,`typeid`,`name`,`typestr` FROM `product_type` WHERE `id` NOT IN (11,12,13,14,15) AND `id` <= 750 [ RunTime:0.003051s ]
SHOW FULL COLUMNS FROM `o_cart` [ RunTime:0.003171s ]
SELECT COUNT(*) AS think_count FROM `o_cart` WHERE ( `userId` = 0 AND `visitIP` = '216.73.216.121' ) [ RunTime:0.006152s ]
SHOW FULL COLUMNS FROM `ad` [ RunTime:0.002300s ]
SELECT * FROM `ad` WHERE `isDisplay` = 1 [ RunTime:0.011183s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `id` = 22 LIMIT 1 [ RunTime:0.000396s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `typeid` = 22 [ RunTime:0.002177s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `typeid` IN (132,133,134,135,136,137,138,139,140,141) [ RunTime:0.001305s ]
SHOW FULL COLUMNS FROM `stock` [ RunTime:0.002590s ]
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.024461s ]
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.015989s ]
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.033459s ]
SHOW FULL COLUMNS FROM `stock_pra` [ RunTime:0.005690s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 7127 LIMIT 4 [ RunTime:0.013075s ]
SHOW FULL COLUMNS FROM `stock_price` [ RunTime:0.006641s ]
SELECT * FROM `stock_price` WHERE `stockid` = 7127 ORDER BY `minOrder` ASC [ RunTime:0.002712s ]
SHOW FULL COLUMNS FROM `stock_unitquantity` [ RunTime:0.002548s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 7127 ORDER BY `unit` DESC [ RunTime:0.005493s ]
SHOW FULL COLUMNS FROM `stock_warehousequantity` [ RunTime:0.005536s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 7127 LIMIT 2 [ RunTime:0.005454s ]
SELECT * FROM `stock_price` WHERE `stockid` = 7127 ORDER BY `minOrder` ASC [ RunTime:0.006778s ]
SHOW FULL COLUMNS FROM `stock_pra_lib` [ RunTime:0.002763s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'BSS138NH6327XTSA2' OR `brand` LIKE 'INFINEON%' ) ) LIMIT 1 [ RunTime:0.023874s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 14780 LIMIT 4 [ RunTime:0.015712s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14780 ORDER BY `minOrder` ASC [ RunTime:0.018095s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 14780 ORDER BY `unit` DESC [ RunTime:0.001687s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 14780 LIMIT 2 [ RunTime:0.002609s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14780 ORDER BY `minOrder` ASC [ RunTime:0.000437s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'FDV303N' OR `brand` LIKE 'ONSEMI%' ) ) LIMIT 1 [ RunTime:0.002176s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 7565 LIMIT 4 [ RunTime:0.018105s ]
SELECT * FROM `stock_price` WHERE `stockid` = 7565 ORDER BY `minOrder` ASC [ RunTime:0.002307s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 7565 ORDER BY `unit` DESC [ RunTime:0.004217s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 7565 LIMIT 2 [ RunTime:0.007319s ]
SELECT * FROM `stock_price` WHERE `stockid` = 7565 ORDER BY `minOrder` ASC [ RunTime:0.007345s ]
select * from pdf where partno='IRF7103TRPBF' and brandshort='INFINEON' limit 1 [ RunTime:0.006490s ]
select foldpath,foldpath2,filename from pdf_file where id=1111645 limit 1 [ RunTime:0.004376s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'IRF7103TRPBF' OR `brand` LIKE 'INFINEON%' ) ) LIMIT 1 [ RunTime:0.020383s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 5058 LIMIT 4 [ RunTime:0.000731s ]
SELECT * FROM `stock_price` WHERE `stockid` = 5058 ORDER BY `minOrder` ASC [ RunTime:0.000774s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 5058 ORDER BY `unit` DESC [ RunTime:0.005231s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 5058 LIMIT 2 [ RunTime:0.009744s ]
SELECT * FROM `stock_price` WHERE `stockid` = 5058 ORDER BY `minOrder` ASC [ RunTime:0.003822s ]
select * from pdf where partno='BSS138BK,215' and brandshort='NEXPERIA' limit 1 [ RunTime:0.008330s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'BSS138BK,215' OR `brand` LIKE 'NEXPERIA%' ) ) LIMIT 1 [ RunTime:0.026227s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 2475 LIMIT 4 [ RunTime:0.007776s ]
SELECT * FROM `stock_price` WHERE `stockid` = 2475 ORDER BY `minOrder` ASC [ RunTime:0.006423s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 2475 ORDER BY `unit` DESC [ RunTime:0.003370s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 2475 LIMIT 2 [ RunTime:0.001996s ]
SELECT * FROM `stock_price` WHERE `stockid` = 2475 ORDER BY `minOrder` ASC [ RunTime:0.000496s ]
select * from pdf where partno='2N7002,215' and brandshort='NEXPERIA' limit 1 [ RunTime:0.002658s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '2N7002,215' OR `brand` LIKE 'NEXPERIA%' ) ) LIMIT 1 [ RunTime:0.002266s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 4467 LIMIT 4 [ RunTime:0.004468s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4467 ORDER BY `minOrder` ASC [ RunTime:0.003302s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 4467 ORDER BY `unit` DESC [ RunTime:0.011739s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 4467 LIMIT 2 [ RunTime:0.000948s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4467 ORDER BY `minOrder` ASC [ RunTime:0.000526s ]
select * from pdf where partno='NDS331N' and brandshort='ONSEMI' limit 1 [ RunTime:0.006900s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'NDS331N' OR `brand` LIKE 'ONSEMI%' ) ) LIMIT 1 [ RunTime:0.011898s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 8283 LIMIT 4 [ RunTime:0.006691s ]
SELECT * FROM `stock_price` WHERE `stockid` = 8283 ORDER BY `minOrder` ASC [ RunTime:0.001579s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 8283 ORDER BY `unit` DESC [ RunTime:0.001234s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 8283 LIMIT 2 [ RunTime:0.000405s ]
SELECT * FROM `stock_price` WHERE `stockid` = 8283 ORDER BY `minOrder` ASC [ RunTime:0.002989s ]
select * from pdf where partno='DMG2305UX-7' and brandshort='DIODES INC.' limit 1 [ RunTime:0.004355s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'DMG2305UX-7' OR `brand` LIKE 'DIODES INC.%' ) ) LIMIT 1 [ RunTime:0.007366s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 5013 LIMIT 4 [ RunTime:0.001478s ]
SELECT * FROM `stock_price` WHERE `stockid` = 5013 ORDER BY `minOrder` ASC [ RunTime:0.000401s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 5013 ORDER BY `unit` DESC [ RunTime:0.000379s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 5013 LIMIT 2 [ RunTime:0.000360s ]
SELECT * FROM `stock_price` WHERE `stockid` = 5013 ORDER BY `minOrder` ASC [ RunTime:0.000879s ]
select * from pdf where partno='BSS138PS,115' and brandshort='NEXPERIA' limit 1 [ RunTime:0.000921s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'BSS138PS,115' OR `brand` LIKE 'NEXPERIA%' ) ) LIMIT 1 [ RunTime:0.004984s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 6413 LIMIT 4 [ RunTime:0.005416s ]
SELECT * FROM `stock_price` WHERE `stockid` = 6413 ORDER BY `minOrder` ASC [ RunTime:0.000863s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 6413 ORDER BY `unit` DESC [ RunTime:0.000610s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 6413 LIMIT 2 [ RunTime:0.002949s ]
SELECT * FROM `stock_price` WHERE `stockid` = 6413 ORDER BY `minOrder` ASC [ RunTime:0.001927s ]
select * from pdf where partno='BSS84' and brandshort='ONSEMI' limit 1 [ RunTime:0.002238s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'BSS84' OR `brand` LIKE 'ONSEMI%' ) ) LIMIT 1 [ RunTime:0.017682s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 247 LIMIT 4 [ RunTime:0.002564s ]
SELECT * FROM `stock_price` WHERE `stockid` = 247 ORDER BY `minOrder` ASC [ RunTime:0.002748s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 247 ORDER BY `unit` DESC [ RunTime:0.001914s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 247 LIMIT 2 [ RunTime:0.000417s ]
SELECT * FROM `stock_price` WHERE `stockid` = 247 ORDER BY `minOrder` ASC [ RunTime:0.001160s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'BSS84PH6327XTSA2' OR `brand` LIKE 'INFINEON%' ) ) LIMIT 1 [ RunTime:0.012900s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 2004 LIMIT 4 [ RunTime:0.006726s ]
SELECT * FROM `stock_price` WHERE `stockid` = 2004 ORDER BY `minOrder` ASC [ RunTime:0.005802s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 2004 ORDER BY `unit` DESC [ RunTime:0.001371s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 2004 LIMIT 2 [ RunTime:0.000434s ]
SELECT * FROM `stock_price` WHERE `stockid` = 2004 ORDER BY `minOrder` ASC [ RunTime:0.001129s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'NTS4101PT1G' OR `brand` LIKE 'ONSEMI%' ) ) LIMIT 1 [ RunTime:0.016334s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 6553 LIMIT 4 [ RunTime:0.002037s ]
SELECT * FROM `stock_price` WHERE `stockid` = 6553 ORDER BY `minOrder` ASC [ RunTime:0.009538s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 6553 ORDER BY `unit` DESC [ RunTime:0.000692s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 6553 LIMIT 2 [ RunTime:0.001746s ]
SELECT * FROM `stock_price` WHERE `stockid` = 6553 ORDER BY `minOrder` ASC [ RunTime:0.001297s ]
select * from pdf where partno='2N7002P,215' and brandshort='NEXPERIA' limit 1 [ RunTime:0.005350s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '2N7002P,215' OR `brand` LIKE 'NEXPERIA%' ) ) LIMIT 1 [ RunTime:0.010191s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 4106 LIMIT 4 [ RunTime:0.010663s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4106 ORDER BY `minOrder` ASC [ RunTime:0.001239s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 4106 ORDER BY `unit` DESC [ RunTime:0.001098s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 4106 LIMIT 2 [ RunTime:0.002118s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4106 ORDER BY `minOrder` ASC [ RunTime:0.000512s ]
select * from pdf where partno='IRLML0060TRPBF' and brandshort='INFINEON' limit 1 [ RunTime:0.005558s ]
select foldpath,foldpath2,filename from pdf_file where id=817312 limit 1 [ RunTime:0.000604s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'IRLML0060TRPBF' OR `brand` LIKE 'INFINEON%' ) ) LIMIT 1 [ RunTime:0.016431s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 4466 LIMIT 4 [ RunTime:0.003913s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4466 ORDER BY `minOrder` ASC [ RunTime:0.001269s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 4466 ORDER BY `unit` DESC [ RunTime:0.000296s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 4466 LIMIT 2 [ RunTime:0.000271s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4466 ORDER BY `minOrder` ASC [ RunTime:0.000260s ]
select * from pdf where partno='SI2308BDS-T1-GE3' and brandshort='VISHAY' limit 1 [ RunTime:0.000318s ]
select foldpath,foldpath2,filename from pdf_file where id=1058600 limit 1 [ RunTime:0.000182s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'SI2308BDS-T1-GE3' OR `brand` LIKE 'VISHAY%' ) ) LIMIT 1 [ RunTime:0.000313s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 4665 LIMIT 4 [ RunTime:0.000609s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4665 ORDER BY `minOrder` ASC [ RunTime:0.002569s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 4665 ORDER BY `unit` DESC [ RunTime:0.000517s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 4665 LIMIT 2 [ RunTime:0.005390s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4665 ORDER BY `minOrder` ASC [ RunTime:0.001367s ]
select * from pdf where partno='BSS138P,215' and brandshort='NEXPERIA' limit 1 [ RunTime:0.001946s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'BSS138P,215' OR `brand` LIKE 'NEXPERIA%' ) ) LIMIT 1 [ RunTime:0.007648s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 8280 LIMIT 4 [ RunTime:0.005232s ]
SELECT * FROM `stock_price` WHERE `stockid` = 8280 ORDER BY `minOrder` ASC [ RunTime:0.001206s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 8280 ORDER BY `unit` DESC [ RunTime:0.000768s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 8280 LIMIT 2 [ RunTime:0.003370s ]
SELECT * FROM `stock_price` WHERE `stockid` = 8280 ORDER BY `minOrder` ASC [ RunTime:0.000407s ]
select * from pdf where partno='DMG1012T-7' and brandshort='DIODES INC.' limit 1 [ RunTime:0.001728s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'DMG1012T-7' OR `brand` LIKE 'DIODES INC.%' ) ) LIMIT 1 [ RunTime:0.000974s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 14785 LIMIT 4 [ RunTime:0.000592s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14785 ORDER BY `minOrder` ASC [ RunTime:0.003118s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 14785 ORDER BY `unit` DESC [ RunTime:0.002586s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 14785 LIMIT 2 [ RunTime:0.000745s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14785 ORDER BY `minOrder` ASC [ RunTime:0.000401s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'FDN337N' OR `brand` LIKE 'ONSEMI%' ) ) LIMIT 1 [ RunTime:0.014997s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 14791 LIMIT 4 [ RunTime:0.003174s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14791 ORDER BY `minOrder` ASC [ RunTime:0.000616s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 14791 ORDER BY `unit` DESC [ RunTime:0.004506s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 14791 LIMIT 2 [ RunTime:0.001434s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14791 ORDER BY `minOrder` ASC [ RunTime:0.000396s ]
select * from pdf where partno='FDN340P' and brandshort='ONSEMI' limit 1 [ RunTime:0.002177s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'FDN340P' OR `brand` LIKE 'ONSEMI%' ) ) LIMIT 1 [ RunTime:0.018122s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 8282 LIMIT 4 [ RunTime:0.002627s ]
SELECT * FROM `stock_price` WHERE `stockid` = 8282 ORDER BY `minOrder` ASC [ RunTime:0.002264s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 8282 ORDER BY `unit` DESC [ RunTime:0.001621s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 8282 LIMIT 2 [ RunTime:0.000815s ]
SELECT * FROM `stock_price` WHERE `stockid` = 8282 ORDER BY `minOrder` ASC [ RunTime:0.000346s ]
select * from pdf where partno='DMG2305UX-13' and brandshort='DIODES INC.' limit 1 [ RunTime:0.000993s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'DMG2305UX-13' OR `brand` LIKE 'DIODES INC.%' ) ) LIMIT 1 [ RunTime:0.001827s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 4041 LIMIT 4 [ RunTime:0.001661s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4041 ORDER BY `minOrder` ASC [ RunTime:0.008504s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 4041 ORDER BY `unit` DESC [ RunTime:0.000546s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 4041 LIMIT 2 [ RunTime:0.001639s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4041 ORDER BY `minOrder` ASC [ RunTime:0.000351s ]
select * from pdf where partno='BSC059N04LSGATMA1' and brandshort='INFINEON' limit 1 [ RunTime:0.000595s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'BSC059N04LSGATMA1' OR `brand` LIKE 'INFINEON%' ) ) LIMIT 1 [ RunTime:0.010237s ]
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.005426s ]