SHOW FULL COLUMNS FROM `product_type` [ RunTime:0.001491s ]
SELECT `id`,`typeid`,`name`,`typestr` FROM `product_type` WHERE `id` NOT IN (11,12,13,14,15) AND `id` <= 750 [ RunTime:0.039399s ]
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.147' ) [ RunTime:0.050526s ]
SHOW FULL COLUMNS FROM `ad` [ RunTime:0.001236s ]
SELECT * FROM `ad` WHERE `isDisplay` = 1 [ RunTime:0.033320s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `id` = 608 LIMIT 1 [ RunTime:0.050485s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `typeid` = 608 [ RunTime:0.050446s ]
SELECT `id`,`name` FROM `product_type` WHERE `typeid` = 49 [ RunTime:0.019438s ]
SHOW FULL COLUMNS FROM `stock` [ RunTime:0.001796s ]
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.050991s ]
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.069751s ]
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.171564s ]
SHOW FULL COLUMNS FROM `stock_pra` [ RunTime:0.002330s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 841 LIMIT 4 [ RunTime:0.075151s ]
SHOW FULL COLUMNS FROM `stock_price` [ RunTime:0.056539s ]
SELECT * FROM `stock_price` WHERE `stockid` = 841 ORDER BY `minOrder` ASC [ RunTime:0.067358s ]
SHOW FULL COLUMNS FROM `stock_unitquantity` [ RunTime:0.002328s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 841 ORDER BY `unit` DESC [ RunTime:0.057568s ]
SHOW FULL COLUMNS FROM `stock_warehousequantity` [ RunTime:0.032638s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 841 LIMIT 2 [ RunTime:0.061224s ]
SELECT * FROM `stock_price` WHERE `stockid` = 841 ORDER BY `minOrder` ASC [ RunTime:0.058164s ]
select * from pdf where partno='3101.0030' and brandshort='SCHURTER' limit 1 [ RunTime:0.186972s ]
select foldpath,foldpath2,filename from pdf_file where id=761500 limit 1 [ RunTime:0.051141s ]
SHOW FULL COLUMNS FROM `stock_pra_lib` [ RunTime:0.002236s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '3101.0030' OR `brand` LIKE 'SCHURTER%' ) ) LIMIT 1 [ RunTime:0.052903s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 844 LIMIT 4 [ RunTime:0.109567s ]
SELECT * FROM `stock_price` WHERE `stockid` = 844 ORDER BY `minOrder` ASC [ RunTime:0.049891s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 844 ORDER BY `unit` DESC [ RunTime:0.043608s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 844 LIMIT 2 [ RunTime:0.094509s ]
SELECT * FROM `stock_price` WHERE `stockid` = 844 ORDER BY `minOrder` ASC [ RunTime:0.036927s ]
select * from pdf where partno='0031.8201' and brandshort='SCHURTER' limit 1 [ RunTime:0.087643s ]
select foldpath,foldpath2,filename from pdf_file where id=776340 limit 1 [ RunTime:0.142021s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '0031.8201' OR `brand` LIKE 'SCHURTER%' ) ) LIMIT 1 [ RunTime:0.093754s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 10960 LIMIT 4 [ RunTime:0.213907s ]
SELECT * FROM `stock_price` WHERE `stockid` = 10960 ORDER BY `minOrder` ASC [ RunTime:0.141761s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 10960 ORDER BY `unit` DESC [ RunTime:0.073393s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 10960 LIMIT 2 [ RunTime:0.084122s ]
SELECT * FROM `stock_price` WHERE `stockid` = 10960 ORDER BY `minOrder` ASC [ RunTime:0.091749s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'FX0380' OR `brand` LIKE 'BULGIN LIMITED%' ) ) LIMIT 1 [ RunTime:0.081152s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 10958 LIMIT 4 [ RunTime:0.125793s ]
SELECT * FROM `stock_price` WHERE `stockid` = 10958 ORDER BY `minOrder` ASC [ RunTime:0.088254s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 10958 ORDER BY `unit` DESC [ RunTime:0.053770s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 10958 LIMIT 2 [ RunTime:0.053574s ]
SELECT * FROM `stock_price` WHERE `stockid` = 10958 ORDER BY `minOrder` ASC [ RunTime:0.094475s ]
select * from pdf where partno='FX0357' and brandshort='BULGIN LIMITED' limit 1 [ RunTime:0.053614s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'FX0357' OR `brand` LIKE 'BULGIN LIMITED%' ) ) LIMIT 1 [ RunTime:0.044067s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 716 LIMIT 4 [ RunTime:0.052843s ]
SELECT * FROM `stock_price` WHERE `stockid` = 716 ORDER BY `minOrder` ASC [ RunTime:0.037013s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 716 ORDER BY `unit` DESC [ RunTime:0.083201s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 716 LIMIT 2 [ RunTime:0.010238s ]
SELECT * FROM `stock_price` WHERE `stockid` = 716 ORDER BY `minOrder` ASC [ RunTime:0.027425s ]
select * from pdf where partno='3101.0010' and brandshort='SCHURTER' limit 1 [ RunTime:0.066019s ]
select foldpath,foldpath2,filename from pdf_file where id=751592 limit 1 [ RunTime:0.038457s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '3101.0010' OR `brand` LIKE 'SCHURTER%' ) ) LIMIT 1 [ RunTime:0.033684s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 10962 LIMIT 4 [ RunTime:0.048628s ]
SELECT * FROM `stock_price` WHERE `stockid` = 10962 ORDER BY `minOrder` ASC [ RunTime:0.048480s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 10962 ORDER BY `unit` DESC [ RunTime:0.046616s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 10962 LIMIT 2 [ RunTime:0.104700s ]
SELECT * FROM `stock_price` WHERE `stockid` = 10962 ORDER BY `minOrder` ASC [ RunTime:0.018040s ]
select * from pdf where partno='FX0321' and brandshort='BULGIN LIMITED' limit 1 [ RunTime:0.071157s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'FX0321' OR `brand` LIKE 'BULGIN LIMITED%' ) ) LIMIT 1 [ RunTime:0.060918s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 10959 LIMIT 4 [ RunTime:0.049232s ]
SELECT * FROM `stock_price` WHERE `stockid` = 10959 ORDER BY `minOrder` ASC [ RunTime:0.001170s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 10959 ORDER BY `unit` DESC [ RunTime:0.026631s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 10959 LIMIT 2 [ RunTime:0.049924s ]
SELECT * FROM `stock_price` WHERE `stockid` = 10959 ORDER BY `minOrder` ASC [ RunTime:0.012504s ]
select * from pdf where partno='FX0365' and brandshort='BULGIN LIMITED' limit 1 [ RunTime:0.033503s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'FX0365' OR `brand` LIKE 'BULGIN LIMITED%' ) ) LIMIT 1 [ RunTime:0.063799s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 1307 LIMIT 4 [ RunTime:0.044060s ]
SELECT * FROM `stock_price` WHERE `stockid` = 1307 ORDER BY `minOrder` ASC [ RunTime:0.005587s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 1307 ORDER BY `unit` DESC [ RunTime:0.025962s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 1307 LIMIT 2 [ RunTime:0.056884s ]
SELECT * FROM `stock_price` WHERE `stockid` = 1307 ORDER BY `minOrder` ASC [ RunTime:0.022018s ]
select * from pdf where partno='3101.0045' and brandshort='SCHURTER' limit 1 [ RunTime:0.029264s ]
select foldpath,foldpath2,filename from pdf_file where id=761501 limit 1 [ RunTime:0.042638s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '3101.0045' OR `brand` LIKE 'SCHURTER%' ) ) LIMIT 1 [ RunTime:0.028782s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 14846 LIMIT 4 [ RunTime:0.005765s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14846 ORDER BY `minOrder` ASC [ RunTime:0.007703s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 14846 ORDER BY `unit` DESC [ RunTime:0.001436s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 14846 LIMIT 2 [ RunTime:0.028626s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14846 ORDER BY `minOrder` ASC [ RunTime:0.003867s ]
select * from pdf where partno='01520001TXN940' and brandshort='LITTELFUSE' limit 1 [ RunTime:0.024439s ]
select foldpath,foldpath2,filename from pdf_file where id=2029898 limit 1 [ RunTime:0.014335s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '01520001TXN940' OR `brand` LIKE 'LITTELFUSE%' ) ) LIMIT 1 [ RunTime:0.051520s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 14848 LIMIT 4 [ RunTime:0.017882s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14848 ORDER BY `minOrder` ASC [ RunTime:0.026137s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 14848 ORDER BY `unit` DESC [ RunTime:0.015082s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 14848 LIMIT 2 [ RunTime:0.025306s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14848 ORDER BY `minOrder` ASC [ RunTime:0.008099s ]
select * from pdf where partno='01530008Z' and brandshort='LITTELFUSE' limit 1 [ RunTime:0.021709s ]
select foldpath,foldpath2,filename from pdf_file where id=1188897 limit 1 [ RunTime:0.033688s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '01530008Z' OR `brand` LIKE 'LITTELFUSE%' ) ) LIMIT 1 [ RunTime:0.048054s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 1306 LIMIT 4 [ RunTime:0.015026s ]
SELECT * FROM `stock_price` WHERE `stockid` = 1306 ORDER BY `minOrder` ASC [ RunTime:0.001896s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 1306 ORDER BY `unit` DESC [ RunTime:0.013220s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 1306 LIMIT 2 [ RunTime:0.032477s ]
SELECT * FROM `stock_price` WHERE `stockid` = 1306 ORDER BY `minOrder` ASC [ RunTime:0.006311s ]
select * from pdf where partno='3101.0040' and brandshort='SCHURTER' limit 1 [ RunTime:0.017778s ]
select foldpath,foldpath2,filename from pdf_file where id=761501 limit 1 [ RunTime:0.021886s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '3101.0040' OR `brand` LIKE 'SCHURTER%' ) ) LIMIT 1 [ RunTime:0.020933s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 10956 LIMIT 4 [ RunTime:0.005565s ]
SELECT * FROM `stock_price` WHERE `stockid` = 10956 ORDER BY `minOrder` ASC [ RunTime:0.013071s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 10956 ORDER BY `unit` DESC [ RunTime:0.000616s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 10956 LIMIT 2 [ RunTime:0.000452s ]
SELECT * FROM `stock_price` WHERE `stockid` = 10956 ORDER BY `minOrder` ASC [ RunTime:0.002618s ]
select * from pdf where partno='FX0296' and brandshort='BULGIN LIMITED' limit 1 [ RunTime:0.022464s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'FX0296' OR `brand` LIKE 'BULGIN LIMITED%' ) ) LIMIT 1 [ RunTime:0.016243s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 14845 LIMIT 4 [ RunTime:0.028904s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14845 ORDER BY `minOrder` ASC [ RunTime:0.017015s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 14845 ORDER BY `unit` DESC [ RunTime:0.002663s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 14845 LIMIT 2 [ RunTime:0.001855s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14845 ORDER BY `minOrder` ASC [ RunTime:0.037050s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '01550320ZXU' OR `brand` LIKE 'LITTELFUSE%' ) ) LIMIT 1 [ RunTime:0.024678s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 843 LIMIT 4 [ RunTime:0.028101s ]
SELECT * FROM `stock_price` WHERE `stockid` = 843 ORDER BY `minOrder` ASC [ RunTime:0.011195s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 843 ORDER BY `unit` DESC [ RunTime:0.046932s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 843 LIMIT 2 [ RunTime:0.053654s ]
SELECT * FROM `stock_price` WHERE `stockid` = 843 ORDER BY `minOrder` ASC [ RunTime:0.034157s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '4301.1405' OR `brand` LIKE 'SCHURTER%' ) ) LIMIT 1 [ RunTime:0.065664s ]
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.113527s ]