SHOW FULL COLUMNS FROM `product_type` [ RunTime:0.002473s ]
SELECT `id`,`typeid`,`name`,`typestr` FROM `product_type` WHERE `id` NOT IN (11,12,13,14,15) AND `id` <= 750 [ RunTime:0.000515s ]
SHOW FULL COLUMNS FROM `o_cart` [ RunTime:0.002165s ]
SELECT COUNT(*) AS think_count FROM `o_cart` WHERE ( `userId` = 0 AND `visitIP` = '216.73.216.43' ) [ RunTime:0.000296s ]
SHOW FULL COLUMNS FROM `ad` [ RunTime:0.001958s ]
SELECT * FROM `ad` WHERE `isDisplay` = 1 [ RunTime:0.000269s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `id` = 26 LIMIT 1 [ RunTime:0.000250s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `typeid` = 26 [ RunTime:0.000226s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `typeid` IN (160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186) [ RunTime:0.000320s ]
SHOW FULL COLUMNS FROM `stock` [ RunTime:0.002141s ]
SELECT COUNT(*) AS think_count FROM `stock` `s` LEFT JOIN `product_type` `t` ON `t`.`id`=`s`.`categoryid` WHERE ( `status` <> 2 AND `categoryid` IN (160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186) ) [ RunTime:0.000383s ]
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` IN (160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186) ) ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.005990s ]
SHOW FULL COLUMNS FROM `stock_pra` [ RunTime:0.002081s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 951 LIMIT 4 [ RunTime:0.000726s ]
SHOW FULL COLUMNS FROM `stock_price` [ RunTime:0.002301s ]
SELECT * FROM `stock_price` WHERE `stockid` = 951 ORDER BY `minOrder` ASC [ RunTime:0.000489s ]
SHOW FULL COLUMNS FROM `stock_unitquantity` [ RunTime:0.001854s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 951 ORDER BY `unit` DESC [ RunTime:0.000443s ]
SHOW FULL COLUMNS FROM `stock_warehousequantity` [ RunTime:0.001839s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 951 LIMIT 2 [ RunTime:0.000416s ]
SELECT * FROM `stock_price` WHERE `stockid` = 951 ORDER BY `minOrder` ASC [ RunTime:0.000237s ]
select * from pdf where partno='1393774-1' and brandshort='AXICOM - TE CONNECTIVITY' limit 1 [ RunTime:0.002691s ]
SHOW FULL COLUMNS FROM `stock_pra_lib` [ RunTime:0.002550s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '1393774-1' OR `brand` LIKE 'AXICOM - TE CONNECTIVITY%' ) ) LIMIT 1 [ RunTime:0.009605s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 8234 LIMIT 4 [ RunTime:0.000556s ]
SELECT * FROM `stock_price` WHERE `stockid` = 8234 ORDER BY `minOrder` ASC [ RunTime:0.004519s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 8234 ORDER BY `unit` DESC [ RunTime:0.005864s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 8234 LIMIT 2 [ RunTime:0.009199s ]
SELECT * FROM `stock_price` WHERE `stockid` = 8234 ORDER BY `minOrder` ASC [ RunTime:0.000264s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'MC33039DR2G' OR `brand` LIKE 'ONSEMI%' ) ) LIMIT 1 [ RunTime:0.017034s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 14946 LIMIT 4 [ RunTime:0.001244s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14946 ORDER BY `minOrder` ASC [ RunTime:0.000746s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 14946 ORDER BY `unit` DESC [ RunTime:0.000476s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 14946 LIMIT 2 [ RunTime:0.000384s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14946 ORDER BY `minOrder` ASC [ RunTime:0.000244s ]
select * from pdf where partno='F75909MB' and brandshort='FINTEK' limit 1 [ RunTime:0.000822s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'F75909MB' OR `brand` LIKE 'FINTEK%' ) ) LIMIT 1 [ RunTime:0.002036s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 953 LIMIT 4 [ RunTime:0.003103s ]
SELECT * FROM `stock_price` WHERE `stockid` = 953 ORDER BY `minOrder` ASC [ RunTime:0.000413s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 953 ORDER BY `unit` DESC [ RunTime:0.000421s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 953 LIMIT 2 [ RunTime:0.000495s ]
SELECT * FROM `stock_price` WHERE `stockid` = 953 ORDER BY `minOrder` ASC [ RunTime:0.000283s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'RTE24024' OR `brand` LIKE 'SCHRACK - TE CONNECTIVITY%' ) ) LIMIT 1 [ RunTime:0.000789s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 13416 LIMIT 4 [ RunTime:0.003416s ]
SELECT * FROM `stock_price` WHERE `stockid` = 13416 ORDER BY `minOrder` ASC [ RunTime:0.004837s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 13416 ORDER BY `unit` DESC [ RunTime:0.003235s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 13416 LIMIT 2 [ RunTime:0.001570s ]
SELECT * FROM `stock_price` WHERE `stockid` = 13416 ORDER BY `minOrder` ASC [ RunTime:0.000478s ]
select * from pdf where partno='106529-2.' and brandshort='AMP - TE CONNECTIVITY' limit 1 [ RunTime:0.001443s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '106529-2.' OR `brand` LIKE 'AMP - TE CONNECTIVITY%' ) ) LIMIT 1 [ RunTime:0.000800s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 6840 LIMIT 4 [ RunTime:0.002357s ]
SELECT * FROM `stock_price` WHERE `stockid` = 6840 ORDER BY `minOrder` ASC [ RunTime:0.000372s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 6840 ORDER BY `unit` DESC [ RunTime:0.000381s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 6840 LIMIT 2 [ RunTime:0.000369s ]
SELECT * FROM `stock_price` WHERE `stockid` = 6840 ORDER BY `minOrder` ASC [ RunTime:0.000361s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'VO1400AEFTR' OR `brand` LIKE 'VISHAY%' ) ) LIMIT 1 [ RunTime:0.000381s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 3600 LIMIT 4 [ RunTime:0.000573s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3600 ORDER BY `minOrder` ASC [ RunTime:0.000574s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 3600 ORDER BY `unit` DESC [ RunTime:0.002696s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 3600 LIMIT 2 [ RunTime:0.000957s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3600 ORDER BY `minOrder` ASC [ RunTime:0.000383s ]
select * from pdf where partno='PYC-A1.' and brandshort='OMRON INDUSTRIAL AUTOMATION' limit 1 [ RunTime:0.001029s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'PYC-A1.' OR `brand` LIKE 'OMRON INDUSTRIAL AUTOMATION%' ) ) LIMIT 1 [ RunTime:0.000750s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 14983 LIMIT 4 [ RunTime:0.000376s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14983 ORDER BY `minOrder` ASC [ RunTime:0.000372s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 14983 ORDER BY `unit` DESC [ RunTime:0.000369s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 14983 LIMIT 2 [ RunTime:0.000359s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14983 ORDER BY `minOrder` ASC [ RunTime:0.000356s ]
select * from pdf where partno='STMPS2151STR' and brandshort='ST' limit 1 [ RunTime:0.000437s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'STMPS2151STR' OR `brand` LIKE 'ST%' ) ) LIMIT 1 [ RunTime:0.000377s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 14931 LIMIT 4 [ RunTime:0.000359s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14931 ORDER BY `minOrder` ASC [ RunTime:0.000355s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 14931 ORDER BY `unit` DESC [ RunTime:0.000359s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 14931 LIMIT 2 [ RunTime:0.000353s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14931 ORDER BY `minOrder` ASC [ RunTime:0.000362s ]
select * from pdf where partno='ISL6617CRZ-T' and brandshort='INTERSIL' limit 1 [ RunTime:0.000427s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'ISL6617CRZ-T' OR `brand` LIKE 'INTERSIL%' ) ) LIMIT 1 [ RunTime:0.000368s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 13397 LIMIT 4 [ RunTime:0.000532s ]
SELECT * FROM `stock_price` WHERE `stockid` = 13397 ORDER BY `minOrder` ASC [ RunTime:0.000585s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 13397 ORDER BY `unit` DESC [ RunTime:0.000570s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 13397 LIMIT 2 [ RunTime:0.002143s ]
SELECT * FROM `stock_price` WHERE `stockid` = 13397 ORDER BY `minOrder` ASC [ RunTime:0.002921s ]
select * from pdf where partno='G6K-2P DC5' and brandshort='OMRON ELECTRONIC COMPONENTS' limit 1 [ RunTime:0.000866s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'G6K-2P DC5' OR `brand` LIKE 'OMRON ELECTRONIC COMPONENTS%' ) ) LIMIT 1 [ RunTime:0.003604s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 654 LIMIT 4 [ RunTime:0.004022s ]
SELECT * FROM `stock_price` WHERE `stockid` = 654 ORDER BY `minOrder` ASC [ RunTime:0.001255s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 654 ORDER BY `unit` DESC [ RunTime:0.001145s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 654 LIMIT 2 [ RunTime:0.007055s ]
SELECT * FROM `stock_price` WHERE `stockid` = 654 ORDER BY `minOrder` ASC [ RunTime:0.002382s ]
select * from pdf where partno='TX2-24V' and brandshort='PANASONIC' limit 1 [ RunTime:0.001974s ]
select foldpath,foldpath2,filename from pdf_file where id=1060653 limit 1 [ RunTime:0.010818s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'TX2-24V' OR `brand` LIKE 'PANASONIC%' ) ) LIMIT 1 [ RunTime:0.014022s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 14958 LIMIT 4 [ RunTime:0.001295s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14958 ORDER BY `minOrder` ASC [ RunTime:0.000941s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 14958 ORDER BY `unit` DESC [ RunTime:0.000632s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 14958 LIMIT 2 [ RunTime:0.007010s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14958 ORDER BY `minOrder` ASC [ RunTime:0.002118s ]
select * from pdf where partno='RTD2281CL-CG' and brandshort='REALTEK' limit 1 [ RunTime:0.003324s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'RTD2281CL-CG' OR `brand` LIKE 'REALTEK%' ) ) LIMIT 1 [ RunTime:0.006370s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 896 LIMIT 4 [ RunTime:0.007432s ]
SELECT * FROM `stock_price` WHERE `stockid` = 896 ORDER BY `minOrder` ASC [ RunTime:0.004046s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 896 ORDER BY `unit` DESC [ RunTime:0.002781s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 896 LIMIT 2 [ RunTime:0.005971s ]
SELECT * FROM `stock_price` WHERE `stockid` = 896 ORDER BY `minOrder` ASC [ RunTime:0.002232s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '62.82.8.230.0000' OR `brand` LIKE 'FINDER%' ) ) LIMIT 1 [ RunTime:0.000990s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 3980 LIMIT 4 [ RunTime:0.002049s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3980 ORDER BY `minOrder` ASC [ RunTime:0.005686s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 3980 ORDER BY `unit` DESC [ RunTime:0.005551s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 3980 LIMIT 2 [ RunTime:0.000568s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3980 ORDER BY `minOrder` ASC [ RunTime:0.002594s ]
select * from pdf where partno='6-1415537-5' and brandshort='TE CONNECTIVITY' limit 1 [ RunTime:0.003248s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '6-1415537-5' OR `brand` LIKE 'TE CONNECTIVITY%' ) ) LIMIT 1 [ RunTime:0.020531s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 892 LIMIT 4 [ RunTime:0.000600s ]
SELECT * FROM `stock_price` WHERE `stockid` = 892 ORDER BY `minOrder` ASC [ RunTime:0.000498s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 892 ORDER BY `unit` DESC [ RunTime:0.000340s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 892 LIMIT 2 [ RunTime:0.000325s ]
SELECT * FROM `stock_price` WHERE `stockid` = 892 ORDER BY `minOrder` ASC [ RunTime:0.000872s ]
select * from pdf where partno='40.52.7.024.0000' and brandshort='FINDER' limit 1 [ RunTime:0.001417s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '40.52.7.024.0000' OR `brand` LIKE 'FINDER%' ) ) LIMIT 1 [ RunTime:0.000503s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 14952 LIMIT 4 [ RunTime:0.006128s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14952 ORDER BY `minOrder` ASC [ RunTime:0.010813s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 14952 ORDER BY `unit` DESC [ RunTime:0.000409s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 14952 LIMIT 2 [ RunTime:0.009177s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14952 ORDER BY `minOrder` ASC [ RunTime:0.000347s ]
select * from pdf where partno='TPS40195RGYR' and brandshort='TI' limit 1 [ RunTime:0.001771s ]
select foldpath,foldpath2,filename from pdf_file where id=2027444 limit 1 [ RunTime:0.002801s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'TPS40195RGYR' OR `brand` LIKE 'TI%' ) ) LIMIT 1 [ RunTime:0.038573s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 14933 LIMIT 4 [ RunTime:0.001396s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14933 ORDER BY `minOrder` ASC [ RunTime:0.000785s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 14933 ORDER BY `unit` DESC [ RunTime:0.000527s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 14933 LIMIT 2 [ RunTime:0.000462s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14933 ORDER BY `minOrder` ASC [ RunTime:0.000330s ]
select * from pdf where partno='LTM4608IV#PBF' and brandshort='LINEAR' limit 1 [ RunTime:0.004057s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'LTM4608IV#PBF' OR `brand` LIKE 'LINEAR%' ) ) LIMIT 1 [ RunTime:0.001246s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 8847 LIMIT 4 [ RunTime:0.000926s ]
SELECT * FROM `stock_price` WHERE `stockid` = 8847 ORDER BY `minOrder` ASC [ RunTime:0.000739s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 8847 ORDER BY `unit` DESC [ RunTime:0.001959s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 8847 LIMIT 2 [ RunTime:0.001181s ]
SELECT * FROM `stock_price` WHERE `stockid` = 8847 ORDER BY `minOrder` ASC [ RunTime:0.000318s ]
select * from pdf where partno='LB1867M-TLM-H' and brandshort='ONSEMI' limit 1 [ RunTime:0.001557s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'LB1867M-TLM-H' OR `brand` LIKE 'ONSEMI%' ) ) LIMIT 1 [ RunTime:0.013293s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 1132 LIMIT 4 [ RunTime:0.000856s ]
SELECT * FROM `stock_price` WHERE `stockid` = 1132 ORDER BY `minOrder` ASC [ RunTime:0.000676s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 1132 ORDER BY `unit` DESC [ RunTime:0.000540s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 1132 LIMIT 2 [ RunTime:0.000460s ]
SELECT * FROM `stock_price` WHERE `stockid` = 1132 ORDER BY `minOrder` ASC [ RunTime:0.000330s ]
select * from pdf where partno='TX2-5V' and brandshort='PANASONIC' limit 1 [ RunTime:0.001118s ]
select foldpath,foldpath2,filename from pdf_file where id=1152169 limit 1 [ RunTime:0.008393s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'TX2-5V' OR `brand` LIKE 'PANASONIC%' ) ) LIMIT 1 [ RunTime:0.013453s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 954 LIMIT 4 [ RunTime:0.007987s ]
SELECT * FROM `stock_price` WHERE `stockid` = 954 ORDER BY `minOrder` ASC [ RunTime:0.005017s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 954 ORDER BY `unit` DESC [ RunTime:0.004156s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 954 LIMIT 2 [ RunTime:0.001668s ]
SELECT * FROM `stock_price` WHERE `stockid` = 954 ORDER BY `minOrder` ASC [ RunTime:0.000402s ]
select * from pdf where partno='1-1393243-8' and brandshort='SCHRACK - TE CONNECTIVITY' limit 1 [ RunTime:0.001758s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '1-1393243-8' OR `brand` LIKE 'SCHRACK - TE CONNECTIVITY%' ) ) LIMIT 1 [ RunTime:0.001139s ]
SELECT brand, count(*) as count FROM `stock` WHERE ( `status` <> 2 AND `categoryid` IN (160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186) ) AND `brand` IS NOT NULL AND `brand` <> '' GROUP BY `brand` ORDER BY `count` DESC LIMIT 10000 [ RunTime:0.000736s ]