SHOW FULL COLUMNS FROM `product_type` [ RunTime:0.001455s ]
SELECT `id`,`typeid`,`name`,`typestr` FROM `product_type` WHERE `id` NOT IN (11,12,13,14,15) AND `id` <= 750 [ RunTime:0.000514s ]
SHOW FULL COLUMNS FROM `o_cart` [ RunTime:0.001335s ]
SELECT COUNT(*) AS think_count FROM `o_cart` WHERE ( `userId` = 0 AND `visitIP` = '216.73.216.121' ) [ RunTime:0.000317s ]
SHOW FULL COLUMNS FROM `ad` [ RunTime:0.003847s ]
SELECT * FROM `ad` WHERE `isDisplay` = 1 [ RunTime:0.001066s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `id` = 22 LIMIT 1 [ RunTime:0.000324s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `typeid` = 22 [ RunTime:0.000207s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `typeid` IN (132,133,134,135,136,137,138,139,140,141) [ RunTime:0.000272s ]
SHOW FULL COLUMNS FROM `stock` [ RunTime:0.001639s ]
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.004204s ]
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.005338s ]
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.006217s ]
SHOW FULL COLUMNS FROM `stock_pra` [ RunTime:0.001242s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 7127 LIMIT 4 [ RunTime:0.000409s ]
SHOW FULL COLUMNS FROM `stock_price` [ RunTime:0.002449s ]
SELECT * FROM `stock_price` WHERE `stockid` = 7127 ORDER BY `minOrder` ASC [ RunTime:0.005477s ]
SHOW FULL COLUMNS FROM `stock_unitquantity` [ RunTime:0.002834s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 7127 ORDER BY `unit` DESC [ RunTime:0.004934s ]
SHOW FULL COLUMNS FROM `stock_warehousequantity` [ RunTime:0.002685s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 7127 LIMIT 2 [ RunTime:0.006719s ]
SELECT * FROM `stock_price` WHERE `stockid` = 7127 ORDER BY `minOrder` ASC [ RunTime:0.000316s ]
SHOW FULL COLUMNS FROM `stock_pra_lib` [ RunTime:0.001156s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'BSS138NH6327XTSA2' OR `brand` LIKE 'INFINEON%' ) ) LIMIT 1 [ RunTime:0.009066s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 14780 LIMIT 4 [ RunTime:0.000526s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14780 ORDER BY `minOrder` ASC [ RunTime:0.000560s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 14780 ORDER BY `unit` DESC [ RunTime:0.000731s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 14780 LIMIT 2 [ RunTime:0.002905s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14780 ORDER BY `minOrder` ASC [ RunTime:0.000293s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'FDV303N' OR `brand` LIKE 'ONSEMI%' ) ) LIMIT 1 [ RunTime:0.016705s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 7565 LIMIT 4 [ RunTime:0.000591s ]
SELECT * FROM `stock_price` WHERE `stockid` = 7565 ORDER BY `minOrder` ASC [ RunTime:0.014004s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 7565 ORDER BY `unit` DESC [ RunTime:0.003520s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 7565 LIMIT 2 [ RunTime:0.000459s ]
SELECT * FROM `stock_price` WHERE `stockid` = 7565 ORDER BY `minOrder` ASC [ RunTime:0.000325s ]
select * from pdf where partno='IRF7103TRPBF' and brandshort='INFINEON' limit 1 [ RunTime:0.005219s ]
select foldpath,foldpath2,filename from pdf_file where id=1111645 limit 1 [ RunTime:0.004555s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'IRF7103TRPBF' OR `brand` LIKE 'INFINEON%' ) ) LIMIT 1 [ RunTime:0.009255s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 5058 LIMIT 4 [ RunTime:0.006047s ]
SELECT * FROM `stock_price` WHERE `stockid` = 5058 ORDER BY `minOrder` ASC [ RunTime:0.001447s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 5058 ORDER BY `unit` DESC [ RunTime:0.000733s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 5058 LIMIT 2 [ RunTime:0.002100s ]
SELECT * FROM `stock_price` WHERE `stockid` = 5058 ORDER BY `minOrder` ASC [ RunTime:0.000306s ]
select * from pdf where partno='BSS138BK,215' and brandshort='NEXPERIA' limit 1 [ RunTime:0.002129s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'BSS138BK,215' OR `brand` LIKE 'NEXPERIA%' ) ) LIMIT 1 [ RunTime:0.007377s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 2475 LIMIT 4 [ RunTime:0.000680s ]
SELECT * FROM `stock_price` WHERE `stockid` = 2475 ORDER BY `minOrder` ASC [ RunTime:0.002607s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 2475 ORDER BY `unit` DESC [ RunTime:0.001356s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 2475 LIMIT 2 [ RunTime:0.001321s ]
SELECT * FROM `stock_price` WHERE `stockid` = 2475 ORDER BY `minOrder` ASC [ RunTime:0.000977s ]
select * from pdf where partno='2N7002,215' and brandshort='NEXPERIA' limit 1 [ RunTime:0.004453s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '2N7002,215' OR `brand` LIKE 'NEXPERIA%' ) ) LIMIT 1 [ RunTime:0.007502s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 4467 LIMIT 4 [ RunTime:0.001718s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4467 ORDER BY `minOrder` ASC [ RunTime:0.001982s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 4467 ORDER BY `unit` DESC [ RunTime:0.000825s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 4467 LIMIT 2 [ RunTime:0.001516s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4467 ORDER BY `minOrder` ASC [ RunTime:0.001461s ]
select * from pdf where partno='NDS331N' and brandshort='ONSEMI' limit 1 [ RunTime:0.007318s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'NDS331N' OR `brand` LIKE 'ONSEMI%' ) ) LIMIT 1 [ RunTime:0.017043s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 8283 LIMIT 4 [ RunTime:0.003977s ]
SELECT * FROM `stock_price` WHERE `stockid` = 8283 ORDER BY `minOrder` ASC [ RunTime:0.003115s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 8283 ORDER BY `unit` DESC [ RunTime:0.001783s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 8283 LIMIT 2 [ RunTime:0.002099s ]
SELECT * FROM `stock_price` WHERE `stockid` = 8283 ORDER BY `minOrder` ASC [ RunTime:0.000297s ]
select * from pdf where partno='DMG2305UX-7' and brandshort='DIODES INC.' limit 1 [ RunTime:0.006000s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'DMG2305UX-7' OR `brand` LIKE 'DIODES INC.%' ) ) LIMIT 1 [ RunTime:0.008849s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 5013 LIMIT 4 [ RunTime:0.002603s ]
SELECT * FROM `stock_price` WHERE `stockid` = 5013 ORDER BY `minOrder` ASC [ RunTime:0.000714s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 5013 ORDER BY `unit` DESC [ RunTime:0.003762s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 5013 LIMIT 2 [ RunTime:0.006128s ]
SELECT * FROM `stock_price` WHERE `stockid` = 5013 ORDER BY `minOrder` ASC [ RunTime:0.000318s ]
select * from pdf where partno='BSS138PS,115' and brandshort='NEXPERIA' limit 1 [ RunTime:0.003986s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'BSS138PS,115' OR `brand` LIKE 'NEXPERIA%' ) ) LIMIT 1 [ RunTime:0.005726s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 6413 LIMIT 4 [ RunTime:0.010483s ]
SELECT * FROM `stock_price` WHERE `stockid` = 6413 ORDER BY `minOrder` ASC [ RunTime:0.005165s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 6413 ORDER BY `unit` DESC [ RunTime:0.009420s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 6413 LIMIT 2 [ RunTime:0.016284s ]
SELECT * FROM `stock_price` WHERE `stockid` = 6413 ORDER BY `minOrder` ASC [ RunTime:0.001567s ]
select * from pdf where partno='BSS84' and brandshort='ONSEMI' limit 1 [ RunTime:0.005485s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'BSS84' OR `brand` LIKE 'ONSEMI%' ) ) LIMIT 1 [ RunTime:0.013250s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 247 LIMIT 4 [ RunTime:0.001765s ]
SELECT * FROM `stock_price` WHERE `stockid` = 247 ORDER BY `minOrder` ASC [ RunTime:0.003599s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 247 ORDER BY `unit` DESC [ RunTime:0.005046s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 247 LIMIT 2 [ RunTime:0.001206s ]
SELECT * FROM `stock_price` WHERE `stockid` = 247 ORDER BY `minOrder` ASC [ RunTime:0.000246s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'BSS84PH6327XTSA2' OR `brand` LIKE 'INFINEON%' ) ) LIMIT 1 [ RunTime:0.007204s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 2004 LIMIT 4 [ RunTime:0.001600s ]
SELECT * FROM `stock_price` WHERE `stockid` = 2004 ORDER BY `minOrder` ASC [ RunTime:0.006819s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 2004 ORDER BY `unit` DESC [ RunTime:0.000611s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 2004 LIMIT 2 [ RunTime:0.001514s ]
SELECT * FROM `stock_price` WHERE `stockid` = 2004 ORDER BY `minOrder` ASC [ RunTime:0.001118s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'NTS4101PT1G' OR `brand` LIKE 'ONSEMI%' ) ) LIMIT 1 [ RunTime:0.012525s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 6553 LIMIT 4 [ RunTime:0.001090s ]
SELECT * FROM `stock_price` WHERE `stockid` = 6553 ORDER BY `minOrder` ASC [ RunTime:0.001562s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 6553 ORDER BY `unit` DESC [ RunTime:0.000929s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 6553 LIMIT 2 [ RunTime:0.002555s ]
SELECT * FROM `stock_price` WHERE `stockid` = 6553 ORDER BY `minOrder` ASC [ RunTime:0.000852s ]
select * from pdf where partno='2N7002P,215' and brandshort='NEXPERIA' limit 1 [ RunTime:0.002842s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '2N7002P,215' OR `brand` LIKE 'NEXPERIA%' ) ) LIMIT 1 [ RunTime:0.007931s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 4106 LIMIT 4 [ RunTime:0.000679s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4106 ORDER BY `minOrder` ASC [ RunTime:0.001561s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 4106 ORDER BY `unit` DESC [ RunTime:0.006033s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 4106 LIMIT 2 [ RunTime:0.000868s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4106 ORDER BY `minOrder` ASC [ RunTime:0.000398s ]
select * from pdf where partno='IRLML0060TRPBF' and brandshort='INFINEON' limit 1 [ RunTime:0.002544s ]
select foldpath,foldpath2,filename from pdf_file where id=817312 limit 1 [ RunTime:0.003796s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'IRLML0060TRPBF' OR `brand` LIKE 'INFINEON%' ) ) LIMIT 1 [ RunTime:0.013908s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 4466 LIMIT 4 [ RunTime:0.003283s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4466 ORDER BY `minOrder` ASC [ RunTime:0.003874s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 4466 ORDER BY `unit` DESC [ RunTime:0.001144s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 4466 LIMIT 2 [ RunTime:0.000787s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4466 ORDER BY `minOrder` ASC [ RunTime:0.000392s ]
select * from pdf where partno='SI2308BDS-T1-GE3' and brandshort='VISHAY' limit 1 [ RunTime:0.005728s ]
select foldpath,foldpath2,filename from pdf_file where id=1058600 limit 1 [ RunTime:0.002654s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'SI2308BDS-T1-GE3' OR `brand` LIKE 'VISHAY%' ) ) LIMIT 1 [ RunTime:0.016566s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 4665 LIMIT 4 [ RunTime:0.000770s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4665 ORDER BY `minOrder` ASC [ RunTime:0.002976s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 4665 ORDER BY `unit` DESC [ RunTime:0.000688s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 4665 LIMIT 2 [ RunTime:0.001985s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4665 ORDER BY `minOrder` ASC [ RunTime:0.000403s ]
select * from pdf where partno='BSS138P,215' and brandshort='NEXPERIA' limit 1 [ RunTime:0.001913s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'BSS138P,215' OR `brand` LIKE 'NEXPERIA%' ) ) LIMIT 1 [ RunTime:0.006980s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 8280 LIMIT 4 [ RunTime:0.007647s ]
SELECT * FROM `stock_price` WHERE `stockid` = 8280 ORDER BY `minOrder` ASC [ RunTime:0.006394s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 8280 ORDER BY `unit` DESC [ RunTime:0.003953s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 8280 LIMIT 2 [ RunTime:0.002288s ]
SELECT * FROM `stock_price` WHERE `stockid` = 8280 ORDER BY `minOrder` ASC [ RunTime:0.000427s ]
select * from pdf where partno='DMG1012T-7' and brandshort='DIODES INC.' limit 1 [ RunTime:0.004999s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'DMG1012T-7' OR `brand` LIKE 'DIODES INC.%' ) ) LIMIT 1 [ RunTime:0.003279s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 14785 LIMIT 4 [ RunTime:0.028417s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14785 ORDER BY `minOrder` ASC [ RunTime:0.004783s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 14785 ORDER BY `unit` DESC [ RunTime:0.000726s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 14785 LIMIT 2 [ RunTime:0.000642s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14785 ORDER BY `minOrder` ASC [ RunTime:0.000398s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'FDN337N' OR `brand` LIKE 'ONSEMI%' ) ) LIMIT 1 [ RunTime:0.014493s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 14791 LIMIT 4 [ RunTime:0.004406s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14791 ORDER BY `minOrder` ASC [ RunTime:0.000684s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 14791 ORDER BY `unit` DESC [ RunTime:0.000716s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 14791 LIMIT 2 [ RunTime:0.001979s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14791 ORDER BY `minOrder` ASC [ RunTime:0.001087s ]
select * from pdf where partno='FDN340P' and brandshort='ONSEMI' limit 1 [ RunTime:0.008189s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'FDN340P' OR `brand` LIKE 'ONSEMI%' ) ) LIMIT 1 [ RunTime:0.015636s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 8282 LIMIT 4 [ RunTime:0.004493s ]
SELECT * FROM `stock_price` WHERE `stockid` = 8282 ORDER BY `minOrder` ASC [ RunTime:0.003179s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 8282 ORDER BY `unit` DESC [ RunTime:0.000657s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 8282 LIMIT 2 [ RunTime:0.000648s ]
SELECT * FROM `stock_price` WHERE `stockid` = 8282 ORDER BY `minOrder` ASC [ RunTime:0.000348s ]
select * from pdf where partno='DMG2305UX-13' and brandshort='DIODES INC.' limit 1 [ RunTime:0.001206s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'DMG2305UX-13' OR `brand` LIKE 'DIODES INC.%' ) ) LIMIT 1 [ RunTime:0.005122s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 4041 LIMIT 4 [ RunTime:0.000873s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4041 ORDER BY `minOrder` ASC [ RunTime:0.000654s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 4041 ORDER BY `unit` DESC [ RunTime:0.000649s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 4041 LIMIT 2 [ RunTime:0.000620s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4041 ORDER BY `minOrder` ASC [ RunTime:0.000393s ]
select * from pdf where partno='BSC059N04LSGATMA1' and brandshort='INFINEON' limit 1 [ RunTime:0.005981s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'BSC059N04LSGATMA1' OR `brand` LIKE 'INFINEON%' ) ) LIMIT 1 [ RunTime:0.013117s ]
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.007712s ]