SHOW FULL COLUMNS FROM `product_type` [ RunTime:0.002059s ]
SELECT `id`,`typeid`,`name`,`typestr` FROM `product_type` WHERE `id` NOT IN (11,12,13,14,15) AND `id` <= 750 [ RunTime:0.000507s ]
SHOW FULL COLUMNS FROM `o_cart` [ RunTime:0.002846s ]
SELECT COUNT(*) AS think_count FROM `o_cart` WHERE ( `userId` = 0 AND `visitIP` = '216.73.216.165' ) [ RunTime:0.000352s ]
SHOW FULL COLUMNS FROM `ad` [ RunTime:0.002083s ]
SELECT * FROM `ad` WHERE `isDisplay` = 1 [ RunTime:0.000362s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `id` = 608 LIMIT 1 [ RunTime:0.000361s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `typeid` = 608 [ RunTime:0.000280s ]
SELECT `id`,`name` FROM `product_type` WHERE `typeid` = 49 [ RunTime:0.000663s ]
SHOW FULL COLUMNS FROM `stock` [ RunTime:0.002597s ]
SELECT COUNT(*) AS think_count FROM `stock` `s` INNER JOIN `user` `u` ON `s`.`userid`=`u`.`stockuserid` WHERE ( `status` <> 2 AND `categoryid` = 608 ) AND `u`.`lockUser` = '0' [ RunTime:0.023454s ]
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` = 608 ) ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.016393s ]
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 ('841','844','10960','10958','716','10962','10959','1307','14846','14848','1306','10956','14845','843') ORDER BY FIELD(s.id, 841,844,10960,10958,716,10962,10959,1307,14846,14848,1306,10956,14845,843) [ RunTime:0.013913s ]
SHOW FULL COLUMNS FROM `stock_pra` [ RunTime:0.002465s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 841 LIMIT 4 [ RunTime:0.008318s ]
SHOW FULL COLUMNS FROM `stock_price` [ RunTime:0.003041s ]
SELECT * FROM `stock_price` WHERE `stockid` = 841 ORDER BY `minOrder` ASC [ RunTime:0.020963s ]
SHOW FULL COLUMNS FROM `stock_unitquantity` [ RunTime:0.005614s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 841 ORDER BY `unit` DESC [ RunTime:0.024648s ]
SHOW FULL COLUMNS FROM `stock_warehousequantity` [ RunTime:0.006613s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 841 LIMIT 2 [ RunTime:0.015289s ]
SELECT * FROM `stock_price` WHERE `stockid` = 841 ORDER BY `minOrder` ASC [ RunTime:0.013388s ]
select * from pdf where partno='3101.0030' and brandshort='SCHURTER' limit 1 [ RunTime:0.020472s ]
select foldpath,foldpath2,filename from pdf_file where id=761500 limit 1 [ RunTime:0.002664s ]
SHOW FULL COLUMNS FROM `stock_pra_lib` [ RunTime:0.001872s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '3101.0030' OR `brand` LIKE 'SCHURTER%' ) ) LIMIT 1 [ RunTime:0.014224s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 844 LIMIT 4 [ RunTime:0.000388s ]
SELECT * FROM `stock_price` WHERE `stockid` = 844 ORDER BY `minOrder` ASC [ RunTime:0.004982s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 844 ORDER BY `unit` DESC [ RunTime:0.004789s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 844 LIMIT 2 [ RunTime:0.002531s ]
SELECT * FROM `stock_price` WHERE `stockid` = 844 ORDER BY `minOrder` ASC [ RunTime:0.000238s ]
select * from pdf where partno='0031.8201' and brandshort='SCHURTER' limit 1 [ RunTime:0.010959s ]
select foldpath,foldpath2,filename from pdf_file where id=776340 limit 1 [ RunTime:0.003938s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '0031.8201' OR `brand` LIKE 'SCHURTER%' ) ) LIMIT 1 [ RunTime:0.007575s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 10960 LIMIT 4 [ RunTime:0.007882s ]
SELECT * FROM `stock_price` WHERE `stockid` = 10960 ORDER BY `minOrder` ASC [ RunTime:0.006220s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 10960 ORDER BY `unit` DESC [ RunTime:0.000821s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 10960 LIMIT 2 [ RunTime:0.001933s ]
SELECT * FROM `stock_price` WHERE `stockid` = 10960 ORDER BY `minOrder` ASC [ RunTime:0.000305s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'FX0380' OR `brand` LIKE 'BULGIN LIMITED%' ) ) LIMIT 1 [ RunTime:0.001706s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 10958 LIMIT 4 [ RunTime:0.000418s ]
SELECT * FROM `stock_price` WHERE `stockid` = 10958 ORDER BY `minOrder` ASC [ RunTime:0.008032s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 10958 ORDER BY `unit` DESC [ RunTime:0.008163s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 10958 LIMIT 2 [ RunTime:0.002574s ]
SELECT * FROM `stock_price` WHERE `stockid` = 10958 ORDER BY `minOrder` ASC [ RunTime:0.000799s ]
select * from pdf where partno='FX0357' and brandshort='BULGIN LIMITED' limit 1 [ RunTime:0.001758s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'FX0357' OR `brand` LIKE 'BULGIN LIMITED%' ) ) LIMIT 1 [ RunTime:0.011541s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 716 LIMIT 4 [ RunTime:0.006292s ]
SELECT * FROM `stock_price` WHERE `stockid` = 716 ORDER BY `minOrder` ASC [ RunTime:0.000903s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 716 ORDER BY `unit` DESC [ RunTime:0.011614s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 716 LIMIT 2 [ RunTime:0.008601s ]
SELECT * FROM `stock_price` WHERE `stockid` = 716 ORDER BY `minOrder` ASC [ RunTime:0.000331s ]
select * from pdf where partno='3101.0010' and brandshort='SCHURTER' limit 1 [ RunTime:0.002834s ]
select foldpath,foldpath2,filename from pdf_file where id=751592 limit 1 [ RunTime:0.009661s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '3101.0010' OR `brand` LIKE 'SCHURTER%' ) ) LIMIT 1 [ RunTime:0.004128s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 10962 LIMIT 4 [ RunTime:0.014559s ]
SELECT * FROM `stock_price` WHERE `stockid` = 10962 ORDER BY `minOrder` ASC [ RunTime:0.000625s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 10962 ORDER BY `unit` DESC [ RunTime:0.007565s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 10962 LIMIT 2 [ RunTime:0.001810s ]
SELECT * FROM `stock_price` WHERE `stockid` = 10962 ORDER BY `minOrder` ASC [ RunTime:0.000312s ]
select * from pdf where partno='FX0321' and brandshort='BULGIN LIMITED' limit 1 [ RunTime:0.003241s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'FX0321' OR `brand` LIKE 'BULGIN LIMITED%' ) ) LIMIT 1 [ RunTime:0.021510s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 10959 LIMIT 4 [ RunTime:0.009625s ]
SELECT * FROM `stock_price` WHERE `stockid` = 10959 ORDER BY `minOrder` ASC [ RunTime:0.013069s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 10959 ORDER BY `unit` DESC [ RunTime:0.016995s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 10959 LIMIT 2 [ RunTime:0.005249s ]
SELECT * FROM `stock_price` WHERE `stockid` = 10959 ORDER BY `minOrder` ASC [ RunTime:0.001603s ]
select * from pdf where partno='FX0365' and brandshort='BULGIN LIMITED' limit 1 [ RunTime:0.000685s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'FX0365' OR `brand` LIKE 'BULGIN LIMITED%' ) ) LIMIT 1 [ RunTime:0.008368s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 1307 LIMIT 4 [ RunTime:0.009596s ]
SELECT * FROM `stock_price` WHERE `stockid` = 1307 ORDER BY `minOrder` ASC [ RunTime:0.004158s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 1307 ORDER BY `unit` DESC [ RunTime:0.004256s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 1307 LIMIT 2 [ RunTime:0.004690s ]
SELECT * FROM `stock_price` WHERE `stockid` = 1307 ORDER BY `minOrder` ASC [ RunTime:0.000255s ]
select * from pdf where partno='3101.0045' and brandshort='SCHURTER' limit 1 [ RunTime:0.003318s ]
select foldpath,foldpath2,filename from pdf_file where id=761501 limit 1 [ RunTime:0.000803s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '3101.0045' OR `brand` LIKE 'SCHURTER%' ) ) LIMIT 1 [ RunTime:0.003126s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 14846 LIMIT 4 [ RunTime:0.000523s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14846 ORDER BY `minOrder` ASC [ RunTime:0.035366s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 14846 ORDER BY `unit` DESC [ RunTime:0.008569s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 14846 LIMIT 2 [ RunTime:0.002267s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14846 ORDER BY `minOrder` ASC [ RunTime:0.000333s ]
select * from pdf where partno='01520001TXN940' and brandshort='LITTELFUSE' limit 1 [ RunTime:0.010328s ]
select foldpath,foldpath2,filename from pdf_file where id=2029898 limit 1 [ RunTime:0.003705s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '01520001TXN940' OR `brand` LIKE 'LITTELFUSE%' ) ) LIMIT 1 [ RunTime:0.018279s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 14848 LIMIT 4 [ RunTime:0.004491s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14848 ORDER BY `minOrder` ASC [ RunTime:0.008556s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 14848 ORDER BY `unit` DESC [ RunTime:0.000397s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 14848 LIMIT 2 [ RunTime:0.003441s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14848 ORDER BY `minOrder` ASC [ RunTime:0.000442s ]
select * from pdf where partno='01530008Z' and brandshort='LITTELFUSE' limit 1 [ RunTime:0.003319s ]
select foldpath,foldpath2,filename from pdf_file where id=1188897 limit 1 [ RunTime:0.007308s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '01530008Z' OR `brand` LIKE 'LITTELFUSE%' ) ) LIMIT 1 [ RunTime:0.012312s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 1306 LIMIT 4 [ RunTime:0.005737s ]
SELECT * FROM `stock_price` WHERE `stockid` = 1306 ORDER BY `minOrder` ASC [ RunTime:0.001310s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 1306 ORDER BY `unit` DESC [ RunTime:0.000643s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 1306 LIMIT 2 [ RunTime:0.005046s ]
SELECT * FROM `stock_price` WHERE `stockid` = 1306 ORDER BY `minOrder` ASC [ RunTime:0.012419s ]
select * from pdf where partno='3101.0040' and brandshort='SCHURTER' limit 1 [ RunTime:0.005214s ]
select foldpath,foldpath2,filename from pdf_file where id=761501 limit 1 [ RunTime:0.003899s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '3101.0040' OR `brand` LIKE 'SCHURTER%' ) ) LIMIT 1 [ RunTime:0.014494s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 10956 LIMIT 4 [ RunTime:0.000746s ]
SELECT * FROM `stock_price` WHERE `stockid` = 10956 ORDER BY `minOrder` ASC [ RunTime:0.000618s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 10956 ORDER BY `unit` DESC [ RunTime:0.008761s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 10956 LIMIT 2 [ RunTime:0.010908s ]
SELECT * FROM `stock_price` WHERE `stockid` = 10956 ORDER BY `minOrder` ASC [ RunTime:0.005023s ]
select * from pdf where partno='FX0296' and brandshort='BULGIN LIMITED' limit 1 [ RunTime:0.007018s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'FX0296' OR `brand` LIKE 'BULGIN LIMITED%' ) ) LIMIT 1 [ RunTime:0.001158s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 14845 LIMIT 4 [ RunTime:0.000619s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14845 ORDER BY `minOrder` ASC [ RunTime:0.003601s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 14845 ORDER BY `unit` DESC [ RunTime:0.002132s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 14845 LIMIT 2 [ RunTime:0.002361s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14845 ORDER BY `minOrder` ASC [ RunTime:0.004802s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '01550320ZXU' OR `brand` LIKE 'LITTELFUSE%' ) ) LIMIT 1 [ RunTime:0.011038s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 843 LIMIT 4 [ RunTime:0.000700s ]
SELECT * FROM `stock_price` WHERE `stockid` = 843 ORDER BY `minOrder` ASC [ RunTime:0.005592s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 843 ORDER BY `unit` DESC [ RunTime:0.001463s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 843 LIMIT 2 [ RunTime:0.000426s ]
SELECT * FROM `stock_price` WHERE `stockid` = 843 ORDER BY `minOrder` ASC [ RunTime:0.000382s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '4301.1405' OR `brand` LIKE 'SCHURTER%' ) ) LIMIT 1 [ RunTime:0.000398s ]
SELECT brand, count(*) as count FROM `stock` WHERE ( `status` <> 2 AND `categoryid` = 608 ) AND `brand` IS NOT NULL AND `brand` <> '' GROUP BY `brand` ORDER BY `count` DESC LIMIT 10000 [ RunTime:0.001462s ]