SHOW FULL COLUMNS FROM `product_type` [ RunTime:0.002573s ]
SELECT `id`,`typeid`,`name`,`typestr` FROM `product_type` WHERE `id` NOT IN (11,12,13,14,15) AND `id` <= 750 [ RunTime:0.002618s ]
SHOW FULL COLUMNS FROM `o_cart` [ RunTime:0.003249s ]
SELECT COUNT(*) AS think_count FROM `o_cart` WHERE ( `userId` = 0 AND `visitIP` = '216.73.216.170' ) [ RunTime:0.000445s ]
SHOW FULL COLUMNS FROM `ad` [ RunTime:0.002517s ]
SELECT * FROM `ad` WHERE `isDisplay` = 1 [ RunTime:0.000430s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `id` = 27 LIMIT 1 [ RunTime:0.000391s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `typeid` = 27 [ RunTime:0.000279s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `typeid` IN (187,188,189,190,191,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,208,209,210,211,212,213,214,215,216) [ RunTime:0.000423s ]
SHOW FULL COLUMNS FROM `stock` [ RunTime:0.002648s ]
SELECT COUNT(*) AS think_count FROM `stock` `s` INNER JOIN `user` `u` ON `s`.`userid`=`u`.`stockuserid` WHERE ( `status` <> 2 AND `categoryid` IN (187,188,189,190,191,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,208,209,210,211,212,213,214,215,216) ) AND `u`.`lockUser` = '0' [ RunTime:0.008649s ]
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 (187,188,189,190,191,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,208,209,210,211,212,213,214,215,216) ) ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.001585s ]
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 ('14920','14910','14913','6040','14912','14917','7686','1699','14918','14733','10704','12691','657','10817','2010','14734','14930','3296','658','10872') ORDER BY FIELD(s.id, 14920,14910,14913,6040,14912,14917,7686,1699,14918,14733,10704,12691,657,10817,2010,14734,14930,3296,658,10872) [ RunTime:0.004336s ]
SHOW FULL COLUMNS FROM `stock_pra` [ RunTime:0.001171s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 14920 LIMIT 4 [ RunTime:0.008670s ]
SHOW FULL COLUMNS FROM `stock_price` [ RunTime:0.002790s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14920 ORDER BY `minOrder` ASC [ RunTime:0.001976s ]
SHOW FULL COLUMNS FROM `stock_unitquantity` [ RunTime:0.001064s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 14920 ORDER BY `unit` DESC [ RunTime:0.001031s ]
SHOW FULL COLUMNS FROM `stock_warehousequantity` [ RunTime:0.000993s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 14920 LIMIT 2 [ RunTime:0.000700s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14920 ORDER BY `minOrder` ASC [ RunTime:0.000293s ]
select * from pdf where partno='KSZ8041NLI-TR' and brandshort='MICROCHIP' limit 1 [ RunTime:0.003675s ]
SHOW FULL COLUMNS FROM `stock_pra_lib` [ RunTime:0.001240s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'KSZ8041NLI-TR' OR `brand` LIKE 'MICROCHIP%' ) ) LIMIT 1 [ RunTime:0.014419s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 14910 LIMIT 4 [ RunTime:0.005002s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14910 ORDER BY `minOrder` ASC [ RunTime:0.002038s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 14910 ORDER BY `unit` DESC [ RunTime:0.000535s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 14910 LIMIT 2 [ RunTime:0.001843s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14910 ORDER BY `minOrder` ASC [ RunTime:0.000268s ]
select * from pdf where partno='KSZ8041NLI-TR' and brandshort='MICROCHIP' limit 1 [ RunTime:0.000497s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'KSZ8041NLI-TR' OR `brand` LIKE 'MICROCHIP%' ) ) LIMIT 1 [ RunTime:0.000305s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 14913 LIMIT 4 [ RunTime:0.006603s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14913 ORDER BY `minOrder` ASC [ RunTime:0.000740s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 14913 ORDER BY `unit` DESC [ RunTime:0.008982s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 14913 LIMIT 2 [ RunTime:0.013248s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14913 ORDER BY `minOrder` ASC [ RunTime:0.000349s ]
select * from pdf where partno='USB2514BI-AEZG-TR' and brandshort='MICROCHIP' limit 1 [ RunTime:0.001817s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'USB2514BI-AEZG-TR' OR `brand` LIKE 'MICROCHIP%' ) ) LIMIT 1 [ RunTime:0.026159s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 6040 LIMIT 4 [ RunTime:0.001113s ]
SELECT * FROM `stock_price` WHERE `stockid` = 6040 ORDER BY `minOrder` ASC [ RunTime:0.002714s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 6040 ORDER BY `unit` DESC [ RunTime:0.002349s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 6040 LIMIT 2 [ RunTime:0.001946s ]
SELECT * FROM `stock_price` WHERE `stockid` = 6040 ORDER BY `minOrder` ASC [ RunTime:0.000232s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'LAN8710AI-EZK' OR `brand` LIKE 'MICROCHIP%' ) ) LIMIT 1 [ RunTime:0.013375s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 14912 LIMIT 4 [ RunTime:0.001111s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14912 ORDER BY `minOrder` ASC [ RunTime:0.005277s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 14912 ORDER BY `unit` DESC [ RunTime:0.005689s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 14912 LIMIT 2 [ RunTime:0.003617s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14912 ORDER BY `minOrder` ASC [ RunTime:0.000240s ]
select * from pdf where partno='KSZ9031RNXIC-TR' and brandshort='MICROCHIP' limit 1 [ RunTime:0.001514s ]
select foldpath,foldpath2,filename from pdf_file where id=1503653 limit 1 [ RunTime:0.003312s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'KSZ9031RNXIC-TR' OR `brand` LIKE 'MICROCHIP%' ) ) LIMIT 1 [ RunTime:0.012720s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 14917 LIMIT 4 [ RunTime:0.002529s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14917 ORDER BY `minOrder` ASC [ RunTime:0.002421s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 14917 ORDER BY `unit` DESC [ RunTime:0.002018s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 14917 LIMIT 2 [ RunTime:0.000413s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14917 ORDER BY `minOrder` ASC [ RunTime:0.000225s ]
select * from pdf where partno='KSZ8081MNXIA-TR' and brandshort='MICROCHIP' limit 1 [ RunTime:0.000824s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'KSZ8081MNXIA-TR' OR `brand` LIKE 'MICROCHIP%' ) ) LIMIT 1 [ RunTime:0.013212s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 7686 LIMIT 4 [ RunTime:0.002754s ]
SELECT * FROM `stock_price` WHERE `stockid` = 7686 ORDER BY `minOrder` ASC [ RunTime:0.002810s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 7686 ORDER BY `unit` DESC [ RunTime:0.003199s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 7686 LIMIT 2 [ RunTime:0.001286s ]
SELECT * FROM `stock_price` WHERE `stockid` = 7686 ORDER BY `minOrder` ASC [ RunTime:0.000205s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'IFX1050GXUMA1' OR `brand` LIKE 'INFINEON%' ) ) LIMIT 1 [ RunTime:0.005655s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 1699 LIMIT 4 [ RunTime:0.000736s ]
SELECT * FROM `stock_price` WHERE `stockid` = 1699 ORDER BY `minOrder` ASC [ RunTime:0.003046s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 1699 ORDER BY `unit` DESC [ RunTime:0.005413s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 1699 LIMIT 2 [ RunTime:0.003423s ]
SELECT * FROM `stock_price` WHERE `stockid` = 1699 ORDER BY `minOrder` ASC [ RunTime:0.000204s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '67803-8020' OR `brand` LIKE 'MOLEX%' ) ) LIMIT 1 [ RunTime:0.007301s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 14918 LIMIT 4 [ RunTime:0.000336s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14918 ORDER BY `minOrder` ASC [ RunTime:0.002292s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 14918 ORDER BY `unit` DESC [ RunTime:0.005122s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 14918 LIMIT 2 [ RunTime:0.003990s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14918 ORDER BY `minOrder` ASC [ RunTime:0.000199s ]
select * from pdf where partno='KSZ9131RNXI-TR' and brandshort='MICROCHIP' limit 1 [ RunTime:0.005029s ]
select foldpath,foldpath2,filename from pdf_file where id=2182166 limit 1 [ RunTime:0.002012s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'KSZ9131RNXI-TR' OR `brand` LIKE 'MICROCHIP%' ) ) LIMIT 1 [ RunTime:0.011762s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 14733 LIMIT 4 [ RunTime:0.001291s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14733 ORDER BY `minOrder` ASC [ RunTime:0.000843s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 14733 ORDER BY `unit` DESC [ RunTime:0.000365s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 14733 LIMIT 2 [ RunTime:0.000422s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14733 ORDER BY `minOrder` ASC [ RunTime:0.005810s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '54819-0519....' OR `brand` LIKE 'MOLEX%' ) ) LIMIT 1 [ RunTime:0.018321s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 10704 LIMIT 4 [ RunTime:0.003852s ]
SELECT * FROM `stock_price` WHERE `stockid` = 10704 ORDER BY `minOrder` ASC [ RunTime:0.002228s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 10704 ORDER BY `unit` DESC [ RunTime:0.001805s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 10704 LIMIT 2 [ RunTime:0.000314s ]
SELECT * FROM `stock_price` WHERE `stockid` = 10704 ORDER BY `minOrder` ASC [ RunTime:0.000209s ]
select * from pdf where partno='ASM-1900147-21' and brandshort='MULTICOMP PRO' limit 1 [ RunTime:0.004154s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'ASM-1900147-21' OR `brand` LIKE 'MULTICOMP PRO%' ) ) LIMIT 1 [ RunTime:0.007587s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 12691 LIMIT 4 [ RunTime:0.004282s ]
SELECT * FROM `stock_price` WHERE `stockid` = 12691 ORDER BY `minOrder` ASC [ RunTime:0.005191s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 12691 ORDER BY `unit` DESC [ RunTime:0.004877s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 12691 LIMIT 2 [ RunTime:0.001543s ]
SELECT * FROM `stock_price` WHERE `stockid` = 12691 ORDER BY `minOrder` ASC [ RunTime:0.000204s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'DMTH8028LPSWQ-13' OR `brand` LIKE 'DIODES INC.%' ) ) LIMIT 1 [ RunTime:0.000722s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 657 LIMIT 4 [ RunTime:0.000289s ]
SELECT * FROM `stock_price` WHERE `stockid` = 657 ORDER BY `minOrder` ASC [ RunTime:0.002540s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 657 ORDER BY `unit` DESC [ RunTime:0.007798s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 657 LIMIT 2 [ RunTime:0.003835s ]
SELECT * FROM `stock_price` WHERE `stockid` = 657 ORDER BY `minOrder` ASC [ RunTime:0.000330s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '565790519' OR `brand` LIKE 'MOLEX%' ) ) LIMIT 1 [ RunTime:0.005478s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 10817 LIMIT 4 [ RunTime:0.000358s ]
SELECT * FROM `stock_price` WHERE `stockid` = 10817 ORDER BY `minOrder` ASC [ RunTime:0.001285s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 10817 ORDER BY `unit` DESC [ RunTime:0.000338s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 10817 LIMIT 2 [ RunTime:0.001408s ]
SELECT * FROM `stock_price` WHERE `stockid` = 10817 ORDER BY `minOrder` ASC [ RunTime:0.003936s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'PI4B_CASE_RED/WHITE' OR `brand` LIKE 'RASPBERRY-PI%' ) ) LIMIT 1 [ RunTime:0.000774s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 2010 LIMIT 4 [ RunTime:0.003358s ]
SELECT * FROM `stock_price` WHERE `stockid` = 2010 ORDER BY `minOrder` ASC [ RunTime:0.000558s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 2010 ORDER BY `unit` DESC [ RunTime:0.000338s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 2010 LIMIT 2 [ RunTime:0.000324s ]
SELECT * FROM `stock_price` WHERE `stockid` = 2010 ORDER BY `minOrder` ASC [ RunTime:0.003161s ]
select * from pdf where partno='AT90CAN128-16AU' and brandshort='MICROCHIP' limit 1 [ RunTime:0.005690s ]
select foldpath,foldpath2,filename from pdf_file where id=1448198 limit 1 [ RunTime:0.002958s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'AT90CAN128-16AU' OR `brand` LIKE 'MICROCHIP%' ) ) LIMIT 1 [ RunTime:0.013851s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 14734 LIMIT 4 [ RunTime:0.003165s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14734 ORDER BY `minOrder` ASC [ RunTime:0.000474s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 14734 ORDER BY `unit` DESC [ RunTime:0.006076s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 14734 LIMIT 2 [ RunTime:0.001577s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14734 ORDER BY `minOrder` ASC [ RunTime:0.002368s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '54819-0572' OR `brand` LIKE 'MOLEX%' ) ) LIMIT 1 [ RunTime:0.004875s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 14930 LIMIT 4 [ RunTime:0.000867s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14930 ORDER BY `minOrder` ASC [ RunTime:0.001353s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 14930 ORDER BY `unit` DESC [ RunTime:0.000358s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 14930 LIMIT 2 [ RunTime:0.000310s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14930 ORDER BY `minOrder` ASC [ RunTime:0.000226s ]
select * from pdf where partno='CNT-USB-04-F' and brandshort='CNT' limit 1 [ RunTime:0.003683s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'CNT-USB-04-F' OR `brand` LIKE 'CNT%' ) ) LIMIT 1 [ RunTime:0.002817s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 3296 LIMIT 4 [ RunTime:0.003928s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3296 ORDER BY `minOrder` ASC [ RunTime:0.003398s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 3296 ORDER BY `unit` DESC [ RunTime:0.000823s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 3296 LIMIT 2 [ RunTime:0.002364s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3296 ORDER BY `minOrder` ASC [ RunTime:0.000278s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '244-11300-15' OR `brand` LIKE 'EPT%' ) ) LIMIT 1 [ RunTime:0.002274s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 658 LIMIT 4 [ RunTime:0.000273s ]
SELECT * FROM `stock_price` WHERE `stockid` = 658 ORDER BY `minOrder` ASC [ RunTime:0.000553s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 658 ORDER BY `unit` DESC [ RunTime:0.000356s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 658 LIMIT 2 [ RunTime:0.000243s ]
SELECT * FROM `stock_price` WHERE `stockid` = 658 ORDER BY `minOrder` ASC [ RunTime:0.000261s ]
select * from pdf where partno='67503-1020...' and brandshort='MOLEX' limit 1 [ RunTime:0.000524s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '67503-1020...' OR `brand` LIKE 'MOLEX%' ) ) LIMIT 1 [ RunTime:0.000263s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 10872 LIMIT 4 [ RunTime:0.001123s ]
SELECT * FROM `stock_price` WHERE `stockid` = 10872 ORDER BY `minOrder` ASC [ RunTime:0.000933s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 10872 ORDER BY `unit` DESC [ RunTime:0.000348s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 10872 LIMIT 2 [ RunTime:0.000319s ]
SELECT * FROM `stock_price` WHERE `stockid` = 10872 ORDER BY `minOrder` ASC [ RunTime:0.000230s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'USB3320C-EZK-TR' OR `brand` LIKE 'MICROCHIP%' ) ) LIMIT 1 [ RunTime:0.013368s ]
SELECT brand, count(*) as count FROM `stock` WHERE ( `status` <> 2 AND `categoryid` IN (187,188,189,190,191,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,208,209,210,211,212,213,214,215,216) ) AND `brand` IS NOT NULL AND `brand` <> '' GROUP BY `brand` ORDER BY `count` DESC LIMIT 10000 [ RunTime:0.004305s ]