SHOW FULL COLUMNS FROM `product_type` [ RunTime:0.001302s ]
SELECT `id`,`typeid`,`name`,`typestr` FROM `product_type` WHERE `id` NOT IN (11,12,13,14,15) AND `id` <= 750 [ RunTime:0.000444s ]
SHOW FULL COLUMNS FROM `o_cart` [ RunTime:0.001601s ]
SELECT COUNT(*) AS think_count FROM `o_cart` WHERE ( `userId` = 0 AND `visitIP` = '216.73.216.165' ) [ RunTime:0.002391s ]
SHOW FULL COLUMNS FROM `ad` [ RunTime:0.001330s ]
SELECT * FROM `ad` WHERE `isDisplay` = 1 [ RunTime:0.000255s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `id` = 132 LIMIT 1 [ RunTime:0.000268s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `typeid` = 132 [ RunTime:0.000150s ]
SELECT `id`,`name` FROM `product_type` WHERE `typeid` = 22 [ RunTime:0.000146s ]
SHOW FULL COLUMNS FROM `stock` [ RunTime:0.001080s ]
SELECT COUNT(*) AS think_count FROM `stock` `s` INNER JOIN `user` `u` ON `s`.`userid`=`u`.`stockuserid` WHERE ( `status` <> 2 AND `categoryid` = 132 ) AND `u`.`lockUser` = '0' [ RunTime:0.002960s ]
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` = 132 ) ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.001785s ]
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.002559s ]
SHOW FULL COLUMNS FROM `stock_pra` [ RunTime:0.001527s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 7127 LIMIT 4 [ RunTime:0.000301s ]
SHOW FULL COLUMNS FROM `stock_price` [ RunTime:0.002177s ]
SELECT * FROM `stock_price` WHERE `stockid` = 7127 ORDER BY `minOrder` ASC [ RunTime:0.001749s ]
SHOW FULL COLUMNS FROM `stock_unitquantity` [ RunTime:0.000884s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 7127 ORDER BY `unit` DESC [ RunTime:0.000283s ]
SHOW FULL COLUMNS FROM `stock_warehousequantity` [ RunTime:0.001898s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 7127 LIMIT 2 [ RunTime:0.000304s ]
SELECT * FROM `stock_price` WHERE `stockid` = 7127 ORDER BY `minOrder` ASC [ RunTime:0.000512s ]
SHOW FULL COLUMNS FROM `stock_pra_lib` [ RunTime:0.001019s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'BSS138NH6327XTSA2' OR `brand` LIKE 'INFINEON%' ) ) LIMIT 1 [ RunTime:0.007795s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 14780 LIMIT 4 [ RunTime:0.000698s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14780 ORDER BY `minOrder` ASC [ RunTime:0.002001s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 14780 ORDER BY `unit` DESC [ RunTime:0.000470s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 14780 LIMIT 2 [ RunTime:0.002012s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14780 ORDER BY `minOrder` ASC [ RunTime:0.000211s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'FDV303N' OR `brand` LIKE 'ONSEMI%' ) ) LIMIT 1 [ RunTime:0.000209s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 7565 LIMIT 4 [ RunTime:0.000269s ]
SELECT * FROM `stock_price` WHERE `stockid` = 7565 ORDER BY `minOrder` ASC [ RunTime:0.000932s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 7565 ORDER BY `unit` DESC [ RunTime:0.002164s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 7565 LIMIT 2 [ RunTime:0.000319s ]
SELECT * FROM `stock_price` WHERE `stockid` = 7565 ORDER BY `minOrder` ASC [ RunTime:0.000519s ]
select * from pdf where partno='IRF7103TRPBF' and brandshort='INFINEON' limit 1 [ RunTime:0.004503s ]
select foldpath,foldpath2,filename from pdf_file where id=1111645 limit 1 [ RunTime:0.001802s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'IRF7103TRPBF' OR `brand` LIKE 'INFINEON%' ) ) LIMIT 1 [ RunTime:0.014277s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 5058 LIMIT 4 [ RunTime:0.002654s ]
SELECT * FROM `stock_price` WHERE `stockid` = 5058 ORDER BY `minOrder` ASC [ RunTime:0.002056s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 5058 ORDER BY `unit` DESC [ RunTime:0.000723s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 5058 LIMIT 2 [ RunTime:0.001605s ]
SELECT * FROM `stock_price` WHERE `stockid` = 5058 ORDER BY `minOrder` ASC [ RunTime:0.000430s ]
select * from pdf where partno='BSS138BK,215' and brandshort='NEXPERIA' limit 1 [ RunTime:0.009609s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'BSS138BK,215' OR `brand` LIKE 'NEXPERIA%' ) ) LIMIT 1 [ RunTime:0.009856s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 2475 LIMIT 4 [ RunTime:0.001393s ]
SELECT * FROM `stock_price` WHERE `stockid` = 2475 ORDER BY `minOrder` ASC [ RunTime:0.001015s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 2475 ORDER BY `unit` DESC [ RunTime:0.000665s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 2475 LIMIT 2 [ RunTime:0.002544s ]
SELECT * FROM `stock_price` WHERE `stockid` = 2475 ORDER BY `minOrder` ASC [ RunTime:0.002010s ]
select * from pdf where partno='2N7002,215' and brandshort='NEXPERIA' limit 1 [ RunTime:0.002810s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '2N7002,215' OR `brand` LIKE 'NEXPERIA%' ) ) LIMIT 1 [ RunTime:0.012231s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 4467 LIMIT 4 [ RunTime:0.002352s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4467 ORDER BY `minOrder` ASC [ RunTime:0.003227s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 4467 ORDER BY `unit` DESC [ RunTime:0.000633s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 4467 LIMIT 2 [ RunTime:0.000599s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4467 ORDER BY `minOrder` ASC [ RunTime:0.000424s ]
select * from pdf where partno='NDS331N' and brandshort='ONSEMI' limit 1 [ RunTime:0.005089s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'NDS331N' OR `brand` LIKE 'ONSEMI%' ) ) LIMIT 1 [ RunTime:0.017927s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 8283 LIMIT 4 [ RunTime:0.002148s ]
SELECT * FROM `stock_price` WHERE `stockid` = 8283 ORDER BY `minOrder` ASC [ RunTime:0.000926s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 8283 ORDER BY `unit` DESC [ RunTime:0.000749s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 8283 LIMIT 2 [ RunTime:0.000659s ]
SELECT * FROM `stock_price` WHERE `stockid` = 8283 ORDER BY `minOrder` ASC [ RunTime:0.005293s ]
select * from pdf where partno='DMG2305UX-7' and brandshort='DIODES INC.' limit 1 [ RunTime:0.001791s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'DMG2305UX-7' OR `brand` LIKE 'DIODES INC.%' ) ) LIMIT 1 [ RunTime:0.001968s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 5013 LIMIT 4 [ RunTime:0.000522s ]
SELECT * FROM `stock_price` WHERE `stockid` = 5013 ORDER BY `minOrder` ASC [ RunTime:0.000560s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 5013 ORDER BY `unit` DESC [ RunTime:0.000551s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 5013 LIMIT 2 [ RunTime:0.000474s ]
SELECT * FROM `stock_price` WHERE `stockid` = 5013 ORDER BY `minOrder` ASC [ RunTime:0.001700s ]
select * from pdf where partno='BSS138PS,115' and brandshort='NEXPERIA' limit 1 [ RunTime:0.000444s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'BSS138PS,115' OR `brand` LIKE 'NEXPERIA%' ) ) LIMIT 1 [ RunTime:0.008068s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 6413 LIMIT 4 [ RunTime:0.000501s ]
SELECT * FROM `stock_price` WHERE `stockid` = 6413 ORDER BY `minOrder` ASC [ RunTime:0.000699s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 6413 ORDER BY `unit` DESC [ RunTime:0.001828s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 6413 LIMIT 2 [ RunTime:0.004720s ]
SELECT * FROM `stock_price` WHERE `stockid` = 6413 ORDER BY `minOrder` ASC [ RunTime:0.000624s ]
select * from pdf where partno='BSS84' and brandshort='ONSEMI' limit 1 [ RunTime:0.003066s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'BSS84' OR `brand` LIKE 'ONSEMI%' ) ) LIMIT 1 [ RunTime:0.020310s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 247 LIMIT 4 [ RunTime:0.013310s ]
SELECT * FROM `stock_price` WHERE `stockid` = 247 ORDER BY `minOrder` ASC [ RunTime:0.000428s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 247 ORDER BY `unit` DESC [ RunTime:0.002049s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 247 LIMIT 2 [ RunTime:0.001354s ]
SELECT * FROM `stock_price` WHERE `stockid` = 247 ORDER BY `minOrder` ASC [ RunTime:0.001570s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'BSS84PH6327XTSA2' OR `brand` LIKE 'INFINEON%' ) ) LIMIT 1 [ RunTime:0.000271s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 2004 LIMIT 4 [ RunTime:0.000437s ]
SELECT * FROM `stock_price` WHERE `stockid` = 2004 ORDER BY `minOrder` ASC [ RunTime:0.011866s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 2004 ORDER BY `unit` DESC [ RunTime:0.004732s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 2004 LIMIT 2 [ RunTime:0.001495s ]
SELECT * FROM `stock_price` WHERE `stockid` = 2004 ORDER BY `minOrder` ASC [ RunTime:0.000595s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'NTS4101PT1G' OR `brand` LIKE 'ONSEMI%' ) ) LIMIT 1 [ RunTime:0.011634s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 6553 LIMIT 4 [ RunTime:0.000349s ]
SELECT * FROM `stock_price` WHERE `stockid` = 6553 ORDER BY `minOrder` ASC [ RunTime:0.000675s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 6553 ORDER BY `unit` DESC [ RunTime:0.000171s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 6553 LIMIT 2 [ RunTime:0.000870s ]
SELECT * FROM `stock_price` WHERE `stockid` = 6553 ORDER BY `minOrder` ASC [ RunTime:0.000211s ]
select * from pdf where partno='2N7002P,215' and brandshort='NEXPERIA' limit 1 [ RunTime:0.000275s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '2N7002P,215' OR `brand` LIKE 'NEXPERIA%' ) ) LIMIT 1 [ RunTime:0.000205s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 4106 LIMIT 4 [ RunTime:0.000267s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4106 ORDER BY `minOrder` ASC [ RunTime:0.000203s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 4106 ORDER BY `unit` DESC [ RunTime:0.001860s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 4106 LIMIT 2 [ RunTime:0.000306s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4106 ORDER BY `minOrder` ASC [ RunTime:0.003217s ]
select * from pdf where partno='IRLML0060TRPBF' and brandshort='INFINEON' limit 1 [ RunTime:0.000677s ]
select foldpath,foldpath2,filename from pdf_file where id=817312 limit 1 [ RunTime:0.000582s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'IRLML0060TRPBF' OR `brand` LIKE 'INFINEON%' ) ) LIMIT 1 [ RunTime:0.000183s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 4466 LIMIT 4 [ RunTime:0.002237s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4466 ORDER BY `minOrder` ASC [ RunTime:0.002225s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 4466 ORDER BY `unit` DESC [ RunTime:0.003841s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 4466 LIMIT 2 [ RunTime:0.000301s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4466 ORDER BY `minOrder` ASC [ RunTime:0.000167s ]
select * from pdf where partno='SI2308BDS-T1-GE3' and brandshort='VISHAY' limit 1 [ RunTime:0.001525s ]
select foldpath,foldpath2,filename from pdf_file where id=1058600 limit 1 [ RunTime:0.000518s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'SI2308BDS-T1-GE3' OR `brand` LIKE 'VISHAY%' ) ) LIMIT 1 [ RunTime:0.007279s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 4665 LIMIT 4 [ RunTime:0.000405s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4665 ORDER BY `minOrder` ASC [ RunTime:0.000223s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 4665 ORDER BY `unit` DESC [ RunTime:0.000183s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 4665 LIMIT 2 [ RunTime:0.002759s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4665 ORDER BY `minOrder` ASC [ RunTime:0.000974s ]
select * from pdf where partno='BSS138P,215' and brandshort='NEXPERIA' limit 1 [ RunTime:0.004909s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'BSS138P,215' OR `brand` LIKE 'NEXPERIA%' ) ) LIMIT 1 [ RunTime:0.003326s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 8280 LIMIT 4 [ RunTime:0.000535s ]
SELECT * FROM `stock_price` WHERE `stockid` = 8280 ORDER BY `minOrder` ASC [ RunTime:0.004755s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 8280 ORDER BY `unit` DESC [ RunTime:0.005100s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 8280 LIMIT 2 [ RunTime:0.004889s ]
SELECT * FROM `stock_price` WHERE `stockid` = 8280 ORDER BY `minOrder` ASC [ RunTime:0.001137s ]
select * from pdf where partno='DMG1012T-7' and brandshort='DIODES INC.' limit 1 [ RunTime:0.005940s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'DMG1012T-7' OR `brand` LIKE 'DIODES INC.%' ) ) LIMIT 1 [ RunTime:0.001017s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 14785 LIMIT 4 [ RunTime:0.005302s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14785 ORDER BY `minOrder` ASC [ RunTime:0.004791s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 14785 ORDER BY `unit` DESC [ RunTime:0.002389s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 14785 LIMIT 2 [ RunTime:0.000783s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14785 ORDER BY `minOrder` ASC [ RunTime:0.000724s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'FDN337N' OR `brand` LIKE 'ONSEMI%' ) ) LIMIT 1 [ RunTime:0.002564s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 14791 LIMIT 4 [ RunTime:0.008387s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14791 ORDER BY `minOrder` ASC [ RunTime:0.007853s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 14791 ORDER BY `unit` DESC [ RunTime:0.002905s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 14791 LIMIT 2 [ RunTime:0.003123s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14791 ORDER BY `minOrder` ASC [ RunTime:0.000309s ]
select * from pdf where partno='FDN340P' and brandshort='ONSEMI' limit 1 [ RunTime:0.003735s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'FDN340P' OR `brand` LIKE 'ONSEMI%' ) ) LIMIT 1 [ RunTime:0.010992s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 8282 LIMIT 4 [ RunTime:0.000548s ]
SELECT * FROM `stock_price` WHERE `stockid` = 8282 ORDER BY `minOrder` ASC [ RunTime:0.000313s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 8282 ORDER BY `unit` DESC [ RunTime:0.000289s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 8282 LIMIT 2 [ RunTime:0.000281s ]
SELECT * FROM `stock_price` WHERE `stockid` = 8282 ORDER BY `minOrder` ASC [ RunTime:0.001576s ]
select * from pdf where partno='DMG2305UX-13' and brandshort='DIODES INC.' limit 1 [ RunTime:0.009465s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'DMG2305UX-13' OR `brand` LIKE 'DIODES INC.%' ) ) LIMIT 1 [ RunTime:0.003112s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 4041 LIMIT 4 [ RunTime:0.000699s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4041 ORDER BY `minOrder` ASC [ RunTime:0.000496s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 4041 ORDER BY `unit` DESC [ RunTime:0.001010s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 4041 LIMIT 2 [ RunTime:0.002186s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4041 ORDER BY `minOrder` ASC [ RunTime:0.002355s ]
select * from pdf where partno='BSC059N04LSGATMA1' and brandshort='INFINEON' limit 1 [ RunTime:0.002537s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'BSC059N04LSGATMA1' OR `brand` LIKE 'INFINEON%' ) ) LIMIT 1 [ RunTime:0.000410s ]
SELECT brand, count(*) as count FROM `stock` WHERE ( `status` <> 2 AND `categoryid` = 132 ) AND `brand` IS NOT NULL AND `brand` <> '' GROUP BY `brand` ORDER BY `count` DESC LIMIT 10000 [ RunTime:0.007016s ]