SHOW FULL COLUMNS FROM `product_type` [ RunTime:0.002024s ]
SELECT `id`,`typeid`,`name`,`typestr` FROM `product_type` WHERE `id` NOT IN (11,12,13,14,15) AND `id` <= 750 [ RunTime:0.000683s ]
SHOW FULL COLUMNS FROM `o_cart` [ RunTime:0.002279s ]
SELECT COUNT(*) AS think_count FROM `o_cart` WHERE ( `userId` = 0 AND `visitIP` = '216.73.216.121' ) [ RunTime:0.000332s ]
SHOW FULL COLUMNS FROM `ad` [ RunTime:0.002067s ]
SELECT * FROM `ad` WHERE `isDisplay` = 1 [ RunTime:0.000288s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `id` = 0 LIMIT 1 [ RunTime:0.001433s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `typeid` = 0 [ RunTime:0.000256s ]
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.000481s ]
SHOW FULL COLUMNS FROM `stock` [ RunTime:0.002572s ]
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.687986s ]
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 9320,20 [ RunTime:0.037618s ]
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 ('11230707','11229901','11240134','10482760','8220','11493775','11486735','11416450','11415662','11918641','11932086','10483908','11608067','4389','10488228','11228717','6449','11601334','11950291','11481214') ORDER BY FIELD(s.id, 11230707,11229901,11240134,10482760,8220,11493775,11486735,11416450,11415662,11918641,11932086,10483908,11608067,4389,10488228,11228717,6449,11601334,11950291,11481214) [ RunTime:0.010460s ]
SHOW FULL COLUMNS FROM `stock_pra` [ RunTime:0.001239s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 11230707 LIMIT 4 [ RunTime:0.002587s ]
SHOW FULL COLUMNS FROM `stock_price` [ RunTime:0.002001s ]
SELECT * FROM `stock_price` WHERE `stockid` = 11230707 ORDER BY `minOrder` ASC [ RunTime:0.004444s ]
SHOW FULL COLUMNS FROM `stock_unitquantity` [ RunTime:0.001980s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 11230707 ORDER BY `unit` DESC [ RunTime:0.010115s ]
SHOW FULL COLUMNS FROM `stock_warehousequantity` [ RunTime:0.002128s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 11230707 LIMIT 2 [ RunTime:0.000688s ]
SELECT * FROM `stock_price` WHERE `stockid` = 11230707 ORDER BY `minOrder` ASC [ RunTime:0.002733s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 11229901 LIMIT 4 [ RunTime:0.003794s ]
SELECT * FROM `stock_price` WHERE `stockid` = 11229901 ORDER BY `minOrder` ASC [ RunTime:0.000299s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 11229901 ORDER BY `unit` DESC [ RunTime:0.001860s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 11229901 LIMIT 2 [ RunTime:0.002754s ]
SELECT * FROM `stock_price` WHERE `stockid` = 11229901 ORDER BY `minOrder` ASC [ RunTime:0.000201s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 11240134 LIMIT 4 [ RunTime:0.000699s ]
SELECT * FROM `stock_price` WHERE `stockid` = 11240134 ORDER BY `minOrder` ASC [ RunTime:0.003627s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 11240134 ORDER BY `unit` DESC [ RunTime:0.000299s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 11240134 LIMIT 2 [ RunTime:0.000461s ]
SELECT * FROM `stock_price` WHERE `stockid` = 11240134 ORDER BY `minOrder` ASC [ RunTime:0.001179s ]
select * from pdf where partno='PIC16LF1828T-I/ML' and brandshort='Microchip Technology' limit 1 [ RunTime:0.001578s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 10482760 LIMIT 4 [ RunTime:0.000941s ]
SELECT * FROM `stock_price` WHERE `stockid` = 10482760 ORDER BY `minOrder` ASC [ RunTime:0.005348s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 10482760 ORDER BY `unit` DESC [ RunTime:0.002776s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 10482760 LIMIT 2 [ RunTime:0.005234s ]
SELECT * FROM `stock_price` WHERE `stockid` = 10482760 ORDER BY `minOrder` ASC [ RunTime:0.000286s ]
select * from pdf where partno='C1206C104KARACTU' and brandshort='KEMET' limit 1 [ RunTime:0.001913s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 8220 LIMIT 4 [ RunTime:0.002010s ]
SELECT * FROM `stock_price` WHERE `stockid` = 8220 ORDER BY `minOrder` ASC [ RunTime:0.000679s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 8220 ORDER BY `unit` DESC [ RunTime:0.000368s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 8220 LIMIT 2 [ RunTime:0.003141s ]
SELECT * FROM `stock_price` WHERE `stockid` = 8220 ORDER BY `minOrder` ASC [ RunTime:0.000265s ]
select * from pdf where partno='NUP4202W1T2G' and brandshort='ONSEMI' limit 1 [ RunTime:0.001932s ]
select foldpath,foldpath2,filename from pdf_file where id=654994 limit 1 [ RunTime:0.000648s ]
SHOW FULL COLUMNS FROM `stock_pra_lib` [ RunTime:0.001179s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'NUP4202W1T2G' OR `brand` LIKE 'ONSEMI%' ) ) LIMIT 1 [ RunTime:0.006596s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 11493775 LIMIT 4 [ RunTime:0.003958s ]
SELECT * FROM `stock_price` WHERE `stockid` = 11493775 ORDER BY `minOrder` ASC [ RunTime:0.004595s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 11493775 ORDER BY `unit` DESC [ RunTime:0.001884s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 11493775 LIMIT 2 [ RunTime:0.000257s ]
SELECT * FROM `stock_price` WHERE `stockid` = 11493775 ORDER BY `minOrder` ASC [ RunTime:0.000154s ]
select * from pdf where partno='0022552042' and brandshort='Molex' limit 1 [ RunTime:0.002299s ]
select foldpath,foldpath2,filename from pdf_file where id=834144 limit 1 [ RunTime:0.002009s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 11486735 LIMIT 4 [ RunTime:0.001958s ]
SELECT * FROM `stock_price` WHERE `stockid` = 11486735 ORDER BY `minOrder` ASC [ RunTime:0.007086s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 11486735 ORDER BY `unit` DESC [ RunTime:0.003418s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 11486735 LIMIT 2 [ RunTime:0.001501s ]
SELECT * FROM `stock_price` WHERE `stockid` = 11486735 ORDER BY `minOrder` ASC [ RunTime:0.000166s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 11416450 LIMIT 4 [ RunTime:0.001585s ]
SELECT * FROM `stock_price` WHERE `stockid` = 11416450 ORDER BY `minOrder` ASC [ RunTime:0.000268s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 11416450 ORDER BY `unit` DESC [ RunTime:0.000234s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 11416450 LIMIT 2 [ RunTime:0.000227s ]
SELECT * FROM `stock_price` WHERE `stockid` = 11416450 ORDER BY `minOrder` ASC [ RunTime:0.001554s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 11415662 LIMIT 4 [ RunTime:0.000497s ]
SELECT * FROM `stock_price` WHERE `stockid` = 11415662 ORDER BY `minOrder` ASC [ RunTime:0.003666s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 11415662 ORDER BY `unit` DESC [ RunTime:0.000344s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 11415662 LIMIT 2 [ RunTime:0.000328s ]
SELECT * FROM `stock_price` WHERE `stockid` = 11415662 ORDER BY `minOrder` ASC [ RunTime:0.000249s ]
select * from pdf where partno='0193240011' and brandshort='Molex' limit 1 [ RunTime:0.001669s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 11918641 LIMIT 4 [ RunTime:0.000580s ]
SELECT * FROM `stock_price` WHERE `stockid` = 11918641 ORDER BY `minOrder` ASC [ RunTime:0.002707s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 11918641 ORDER BY `unit` DESC [ RunTime:0.002688s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 11918641 LIMIT 2 [ RunTime:0.000360s ]
SELECT * FROM `stock_price` WHERE `stockid` = 11918641 ORDER BY `minOrder` ASC [ RunTime:0.000259s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 11932086 LIMIT 4 [ RunTime:0.000779s ]
SELECT * FROM `stock_price` WHERE `stockid` = 11932086 ORDER BY `minOrder` ASC [ RunTime:0.006363s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 11932086 ORDER BY `unit` DESC [ RunTime:0.002094s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 11932086 LIMIT 2 [ RunTime:0.001877s ]
SELECT * FROM `stock_price` WHERE `stockid` = 11932086 ORDER BY `minOrder` ASC [ RunTime:0.000314s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 10483908 LIMIT 4 [ RunTime:0.000625s ]
SELECT * FROM `stock_price` WHERE `stockid` = 10483908 ORDER BY `minOrder` ASC [ RunTime:0.000348s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 10483908 ORDER BY `unit` DESC [ RunTime:0.000680s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 10483908 LIMIT 2 [ RunTime:0.000452s ]
SELECT * FROM `stock_price` WHERE `stockid` = 10483908 ORDER BY `minOrder` ASC [ RunTime:0.000280s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 11608067 LIMIT 4 [ RunTime:0.002276s ]
SELECT * FROM `stock_price` WHERE `stockid` = 11608067 ORDER BY `minOrder` ASC [ RunTime:0.000375s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 11608067 ORDER BY `unit` DESC [ RunTime:0.000324s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 11608067 LIMIT 2 [ RunTime:0.003699s ]
SELECT * FROM `stock_price` WHERE `stockid` = 11608067 ORDER BY `minOrder` ASC [ RunTime:0.000257s ]
select * from pdf where partno='M40-6203146R' and brandshort='Harwin Inc.' limit 1 [ RunTime:0.002834s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 4389 LIMIT 4 [ RunTime:0.000517s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4389 ORDER BY `minOrder` ASC [ RunTime:0.000441s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 4389 ORDER BY `unit` DESC [ RunTime:0.003453s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 4389 LIMIT 2 [ RunTime:0.000419s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4389 ORDER BY `minOrder` ASC [ RunTime:0.000680s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'SXH-002T-P0.6' OR `brand` LIKE 'JST (JAPAN SOLDERLESS TERMINALS)%' ) ) LIMIT 1 [ RunTime:0.002791s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 10488228 LIMIT 4 [ RunTime:0.001295s ]
SELECT * FROM `stock_price` WHERE `stockid` = 10488228 ORDER BY `minOrder` ASC [ RunTime:0.003136s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 10488228 ORDER BY `unit` DESC [ RunTime:0.001018s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 10488228 LIMIT 2 [ RunTime:0.000955s ]
SELECT * FROM `stock_price` WHERE `stockid` = 10488228 ORDER BY `minOrder` ASC [ RunTime:0.000257s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 11228717 LIMIT 4 [ RunTime:0.001070s ]
SELECT * FROM `stock_price` WHERE `stockid` = 11228717 ORDER BY `minOrder` ASC [ RunTime:0.000556s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 11228717 ORDER BY `unit` DESC [ RunTime:0.000336s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 11228717 LIMIT 2 [ RunTime:0.000509s ]
SELECT * FROM `stock_price` WHERE `stockid` = 11228717 ORDER BY `minOrder` ASC [ RunTime:0.000396s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 6449 LIMIT 4 [ RunTime:0.000328s ]
SELECT * FROM `stock_price` WHERE `stockid` = 6449 ORDER BY `minOrder` ASC [ RunTime:0.000508s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 6449 ORDER BY `unit` DESC [ RunTime:0.003784s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 6449 LIMIT 2 [ RunTime:0.001637s ]
SELECT * FROM `stock_price` WHERE `stockid` = 6449 ORDER BY `minOrder` ASC [ RunTime:0.000264s ]
select * from pdf where partno='LR1F10K' and brandshort='TE CONNECTIVITY' limit 1 [ RunTime:0.002109s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'LR1F10K' OR `brand` LIKE 'TE CONNECTIVITY%' ) ) LIMIT 1 [ RunTime:0.016652s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 11601334 LIMIT 4 [ RunTime:0.006099s ]
SELECT * FROM `stock_price` WHERE `stockid` = 11601334 ORDER BY `minOrder` ASC [ RunTime:0.002630s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 11601334 ORDER BY `unit` DESC [ RunTime:0.007891s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 11601334 LIMIT 2 [ RunTime:0.005925s ]
SELECT * FROM `stock_price` WHERE `stockid` = 11601334 ORDER BY `minOrder` ASC [ RunTime:0.000409s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 11950291 LIMIT 4 [ RunTime:0.003086s ]
SELECT * FROM `stock_price` WHERE `stockid` = 11950291 ORDER BY `minOrder` ASC [ RunTime:0.002985s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 11950291 ORDER BY `unit` DESC [ RunTime:0.000460s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 11950291 LIMIT 2 [ RunTime:0.000648s ]
SELECT * FROM `stock_price` WHERE `stockid` = 11950291 ORDER BY `minOrder` ASC [ RunTime:0.004880s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 11481214 LIMIT 4 [ RunTime:0.002661s ]
SELECT * FROM `stock_price` WHERE `stockid` = 11481214 ORDER BY `minOrder` ASC [ RunTime:0.002461s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 11481214 ORDER BY `unit` DESC [ RunTime:0.000492s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 11481214 LIMIT 2 [ RunTime:0.000430s ]
SELECT * FROM `stock_price` WHERE `stockid` = 11481214 ORDER BY `minOrder` ASC [ RunTime:0.000356s ]
select * from pdf where partno='M34S75C4F3' and brandshort='JAE Electronics' limit 1 [ RunTime:0.003569s ]
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:1.108191s ]