SHOW FULL COLUMNS FROM `product_type` [ RunTime:0.002314s ]
SELECT `id`,`typeid`,`name`,`typestr` FROM `product_type` WHERE `id` NOT IN (11,12,13,14,15) AND `id` <= 750 [ RunTime:0.000616s ]
SHOW FULL COLUMNS FROM `o_cart` [ RunTime:0.002630s ]
SELECT COUNT(*) AS think_count FROM `o_cart` WHERE ( `userId` = 0 AND `visitIP` = '216.73.216.43' ) [ RunTime:0.000379s ]
SHOW FULL COLUMNS FROM `ad` [ RunTime:0.002127s ]
SELECT * FROM `ad` WHERE `isDisplay` = 1 [ RunTime:0.000333s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `id` = 608 LIMIT 1 [ RunTime:0.002055s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `typeid` = 608 [ RunTime:0.000372s ]
SELECT `id`,`name` FROM `product_type` WHERE `typeid` = 49 [ RunTime:0.000320s ]
SHOW FULL COLUMNS FROM `stock` [ RunTime:0.002674s ]
SELECT COUNT(*) AS think_count FROM `stock` `s` LEFT JOIN `product_type` `t` ON `t`.`id`=`s`.`categoryid` WHERE ( `status` <> 2 AND `categoryid` = 608 ) [ RunTime:0.000367s ]
SELECT `s`.`id`,`s`.`status`,`havePdf`,`categoryid`,`categories`,`minOrderPrice`,`minOrderQuantity`,`deliveryNum`,`sellNum`,`stockNum`,`code`,`partno`,`brand`,`package`,`imgurl`,`note`,`description`,`expiretime`,`pdfurl`,`t`.`name` FROM `stock` `s` LEFT JOIN `product_type` `t` ON `t`.`id`=`s`.`categoryid` WHERE ( `status` <> 2 AND `categoryid` = 608 ) ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.000424s ]
SHOW FULL COLUMNS FROM `stock_pra` [ RunTime:0.001951s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 841 LIMIT 4 [ RunTime:0.006486s ]
SHOW FULL COLUMNS FROM `stock_price` [ RunTime:0.001942s ]
SELECT * FROM `stock_price` WHERE `stockid` = 841 ORDER BY `minOrder` ASC [ RunTime:0.000308s ]
SHOW FULL COLUMNS FROM `stock_unitquantity` [ RunTime:0.001919s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 841 ORDER BY `unit` DESC [ RunTime:0.000259s ]
SHOW FULL COLUMNS FROM `stock_warehousequantity` [ RunTime:0.001621s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 841 LIMIT 2 [ RunTime:0.000268s ]
SELECT * FROM `stock_price` WHERE `stockid` = 841 ORDER BY `minOrder` ASC [ RunTime:0.000267s ]
select * from pdf where partno='3101.0030' and brandshort='SCHURTER' limit 1 [ RunTime:0.000434s ]
select foldpath,foldpath2,filename from pdf_file where id=761500 limit 1 [ RunTime:0.000240s ]
SHOW FULL COLUMNS FROM `stock_pra_lib` [ RunTime:0.001896s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '3101.0030' OR `brand` LIKE 'SCHURTER%' ) ) LIMIT 1 [ RunTime:0.000408s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 844 LIMIT 4 [ RunTime:0.000315s ]
SELECT * FROM `stock_price` WHERE `stockid` = 844 ORDER BY `minOrder` ASC [ RunTime:0.000326s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 844 ORDER BY `unit` DESC [ RunTime:0.000317s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 844 LIMIT 2 [ RunTime:0.000315s ]
SELECT * FROM `stock_price` WHERE `stockid` = 844 ORDER BY `minOrder` ASC [ RunTime:0.000303s ]
select * from pdf where partno='0031.8201' and brandshort='SCHURTER' limit 1 [ RunTime:0.000671s ]
select foldpath,foldpath2,filename from pdf_file where id=776340 limit 1 [ RunTime:0.000642s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '0031.8201' OR `brand` LIKE 'SCHURTER%' ) ) LIMIT 1 [ RunTime:0.000477s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 10960 LIMIT 4 [ RunTime:0.000316s ]
SELECT * FROM `stock_price` WHERE `stockid` = 10960 ORDER BY `minOrder` ASC [ RunTime:0.000303s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 10960 ORDER BY `unit` DESC [ RunTime:0.000286s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 10960 LIMIT 2 [ RunTime:0.000351s ]
SELECT * FROM `stock_price` WHERE `stockid` = 10960 ORDER BY `minOrder` ASC [ RunTime:0.000340s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'FX0380' OR `brand` LIKE 'BULGIN LIMITED%' ) ) LIMIT 1 [ RunTime:0.000341s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 10958 LIMIT 4 [ RunTime:0.000278s ]
SELECT * FROM `stock_price` WHERE `stockid` = 10958 ORDER BY `minOrder` ASC [ RunTime:0.000296s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 10958 ORDER BY `unit` DESC [ RunTime:0.000351s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 10958 LIMIT 2 [ RunTime:0.000348s ]
SELECT * FROM `stock_price` WHERE `stockid` = 10958 ORDER BY `minOrder` ASC [ RunTime:0.000341s ]
select * from pdf where partno='FX0357' and brandshort='BULGIN LIMITED' limit 1 [ RunTime:0.000412s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'FX0357' OR `brand` LIKE 'BULGIN LIMITED%' ) ) LIMIT 1 [ RunTime:0.000383s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 716 LIMIT 4 [ RunTime:0.000324s ]
SELECT * FROM `stock_price` WHERE `stockid` = 716 ORDER BY `minOrder` ASC [ RunTime:0.000342s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 716 ORDER BY `unit` DESC [ RunTime:0.000304s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 716 LIMIT 2 [ RunTime:0.000307s ]
SELECT * FROM `stock_price` WHERE `stockid` = 716 ORDER BY `minOrder` ASC [ RunTime:0.000273s ]
select * from pdf where partno='3101.0010' and brandshort='SCHURTER' limit 1 [ RunTime:0.000339s ]
select foldpath,foldpath2,filename from pdf_file where id=751592 limit 1 [ RunTime:0.000229s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '3101.0010' OR `brand` LIKE 'SCHURTER%' ) ) LIMIT 1 [ RunTime:0.000403s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 10962 LIMIT 4 [ RunTime:0.000330s ]
SELECT * FROM `stock_price` WHERE `stockid` = 10962 ORDER BY `minOrder` ASC [ RunTime:0.000445s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 10962 ORDER BY `unit` DESC [ RunTime:0.000350s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 10962 LIMIT 2 [ RunTime:0.000328s ]
SELECT * FROM `stock_price` WHERE `stockid` = 10962 ORDER BY `minOrder` ASC [ RunTime:0.000309s ]
select * from pdf where partno='FX0321' and brandshort='BULGIN LIMITED' limit 1 [ RunTime:0.000319s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'FX0321' OR `brand` LIKE 'BULGIN LIMITED%' ) ) LIMIT 1 [ RunTime:0.000342s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 10959 LIMIT 4 [ RunTime:0.000364s ]
SELECT * FROM `stock_price` WHERE `stockid` = 10959 ORDER BY `minOrder` ASC [ RunTime:0.000366s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 10959 ORDER BY `unit` DESC [ RunTime:0.000316s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 10959 LIMIT 2 [ RunTime:0.000314s ]
SELECT * FROM `stock_price` WHERE `stockid` = 10959 ORDER BY `minOrder` ASC [ RunTime:0.000309s ]
select * from pdf where partno='FX0365' and brandshort='BULGIN LIMITED' limit 1 [ RunTime:0.000303s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'FX0365' OR `brand` LIKE 'BULGIN LIMITED%' ) ) LIMIT 1 [ RunTime:0.000366s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 1307 LIMIT 4 [ RunTime:0.000321s ]
SELECT * FROM `stock_price` WHERE `stockid` = 1307 ORDER BY `minOrder` ASC [ RunTime:0.000331s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 1307 ORDER BY `unit` DESC [ RunTime:0.000325s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 1307 LIMIT 2 [ RunTime:0.000309s ]
SELECT * FROM `stock_price` WHERE `stockid` = 1307 ORDER BY `minOrder` ASC [ RunTime:0.000321s ]
select * from pdf where partno='3101.0045' and brandshort='SCHURTER' limit 1 [ RunTime:0.000325s ]
select foldpath,foldpath2,filename from pdf_file where id=761501 limit 1 [ RunTime:0.000246s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '3101.0045' OR `brand` LIKE 'SCHURTER%' ) ) LIMIT 1 [ RunTime:0.000320s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 14846 LIMIT 4 [ RunTime:0.000285s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14846 ORDER BY `minOrder` ASC [ RunTime:0.000279s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 14846 ORDER BY `unit` DESC [ RunTime:0.000276s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 14846 LIMIT 2 [ RunTime:0.000268s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14846 ORDER BY `minOrder` ASC [ RunTime:0.000271s ]
select * from pdf where partno='01520001TXN940' and brandshort='LITTELFUSE' limit 1 [ RunTime:0.000299s ]
select foldpath,foldpath2,filename from pdf_file where id=2029898 limit 1 [ RunTime:0.000207s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '01520001TXN940' OR `brand` LIKE 'LITTELFUSE%' ) ) LIMIT 1 [ RunTime:0.000330s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 14848 LIMIT 4 [ RunTime:0.000276s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14848 ORDER BY `minOrder` ASC [ RunTime:0.000339s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 14848 ORDER BY `unit` DESC [ RunTime:0.000352s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 14848 LIMIT 2 [ RunTime:0.000329s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14848 ORDER BY `minOrder` ASC [ RunTime:0.000333s ]
select * from pdf where partno='01530008Z' and brandshort='LITTELFUSE' limit 1 [ RunTime:0.000312s ]
select foldpath,foldpath2,filename from pdf_file where id=1188897 limit 1 [ RunTime:0.000201s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '01530008Z' OR `brand` LIKE 'LITTELFUSE%' ) ) LIMIT 1 [ RunTime:0.000354s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 1306 LIMIT 4 [ RunTime:0.000294s ]
SELECT * FROM `stock_price` WHERE `stockid` = 1306 ORDER BY `minOrder` ASC [ RunTime:0.000277s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 1306 ORDER BY `unit` DESC [ RunTime:0.000272s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 1306 LIMIT 2 [ RunTime:0.000272s ]
SELECT * FROM `stock_price` WHERE `stockid` = 1306 ORDER BY `minOrder` ASC [ RunTime:0.000272s ]
select * from pdf where partno='3101.0040' and brandshort='SCHURTER' limit 1 [ RunTime:0.000300s ]
select foldpath,foldpath2,filename from pdf_file where id=761501 limit 1 [ RunTime:0.000206s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '3101.0040' OR `brand` LIKE 'SCHURTER%' ) ) LIMIT 1 [ RunTime:0.000287s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 10956 LIMIT 4 [ RunTime:0.000274s ]
SELECT * FROM `stock_price` WHERE `stockid` = 10956 ORDER BY `minOrder` ASC [ RunTime:0.000269s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 10956 ORDER BY `unit` DESC [ RunTime:0.000267s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 10956 LIMIT 2 [ RunTime:0.000287s ]
SELECT * FROM `stock_price` WHERE `stockid` = 10956 ORDER BY `minOrder` ASC [ RunTime:0.000811s ]
select * from pdf where partno='FX0296' and brandshort='BULGIN LIMITED' limit 1 [ RunTime:0.000656s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'FX0296' OR `brand` LIKE 'BULGIN LIMITED%' ) ) LIMIT 1 [ RunTime:0.000540s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 14845 LIMIT 4 [ RunTime:0.000445s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14845 ORDER BY `minOrder` ASC [ RunTime:0.000470s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 14845 ORDER BY `unit` DESC [ RunTime:0.000485s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 14845 LIMIT 2 [ RunTime:0.000440s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14845 ORDER BY `minOrder` ASC [ RunTime:0.000468s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '01550320ZXU' OR `brand` LIKE 'LITTELFUSE%' ) ) LIMIT 1 [ RunTime:0.000503s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 843 LIMIT 4 [ RunTime:0.000462s ]
SELECT * FROM `stock_price` WHERE `stockid` = 843 ORDER BY `minOrder` ASC [ RunTime:0.000412s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 843 ORDER BY `unit` DESC [ RunTime:0.000440s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 843 LIMIT 2 [ RunTime:0.000491s ]
SELECT * FROM `stock_price` WHERE `stockid` = 843 ORDER BY `minOrder` ASC [ RunTime:0.000457s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '4301.1405' OR `brand` LIKE 'SCHURTER%' ) ) LIMIT 1 [ RunTime:0.000491s ]
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.000655s ]