SHOW FULL COLUMNS FROM `product_type` [ RunTime:0.002200s ]
SELECT `id`,`typeid`,`name`,`typestr` FROM `product_type` WHERE `id` NOT IN (11,12,13,14,15) AND `id` <= 750 [ RunTime:0.000613s ]
SHOW FULL COLUMNS FROM `o_cart` [ RunTime:0.002627s ]
SELECT COUNT(*) AS think_count FROM `o_cart` WHERE ( `userId` = 0 AND `visitIP` = '216.73.216.187' ) [ RunTime:0.000498s ]
SHOW FULL COLUMNS FROM `ad` [ RunTime:0.002773s ]
SELECT * FROM `ad` WHERE `isDisplay` = 1 [ RunTime:0.000372s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `id` = 48 LIMIT 1 [ RunTime:0.000870s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `typeid` = 48 [ RunTime:0.000484s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `typeid` IN (540,541,542,543,544,545,546,547,548,549,550,551,552,553,554,555,556,557,558,559,560,561,562,563,564,565,566,567,568,569,570,571,572,573,574,575,576,577,578,579,580,581,582,583,584,585,586,587,588,589,590,591,592,593,594,595,596,597,598,599,600,601,602) [ RunTime:0.000668s ]
SHOW FULL COLUMNS FROM `stock` [ RunTime:0.002249s ]
SELECT COUNT(*) AS think_count FROM `stock` `s` LEFT JOIN `product_type` `t` ON `t`.`id`=`s`.`categoryid` WHERE ( `status` <> 2 AND `categoryid` IN (540,541,542,543,544,545,546,547,548,549,550,551,552,553,554,555,556,557,558,559,560,561,562,563,564,565,566,567,568,569,570,571,572,573,574,575,576,577,578,579,580,581,582,583,584,585,586,587,588,589,590,591,592,593,594,595,596,597,598,599,600,601,602) ) [ RunTime:0.000600s ]
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 (540,541,542,543,544,545,546,547,548,549,550,551,552,553,554,555,556,557,558,559,560,561,562,563,564,565,566,567,568,569,570,571,572,573,574,575,576,577,578,579,580,581,582,583,584,585,586,587,588,589,590,591,592,593,594,595,596,597,598,599,600,601,602) ) ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 180,20 [ RunTime:0.011316s ]
SHOW FULL COLUMNS FROM `stock_pra` [ RunTime:0.002557s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 915 LIMIT 4 [ RunTime:0.000338s ]
SHOW FULL COLUMNS FROM `stock_price` [ RunTime:0.001953s ]
SELECT * FROM `stock_price` WHERE `stockid` = 915 ORDER BY `minOrder` ASC [ RunTime:0.000318s ]
SHOW FULL COLUMNS FROM `stock_unitquantity` [ RunTime:0.002246s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 915 ORDER BY `unit` DESC [ RunTime:0.000315s ]
SHOW FULL COLUMNS FROM `stock_warehousequantity` [ RunTime:0.002017s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 915 LIMIT 2 [ RunTime:0.000279s ]
SELECT * FROM `stock_price` WHERE `stockid` = 915 ORDER BY `minOrder` ASC [ RunTime:0.000269s ]
SHOW FULL COLUMNS FROM `stock_pra_lib` [ RunTime:0.001998s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'LPT62' OR `brand` LIKE 'ARTESYN EMBEDDED TECHNOLOGIES%' ) ) LIMIT 1 [ RunTime:0.000351s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 914 LIMIT 4 [ RunTime:0.000266s ]
SELECT * FROM `stock_price` WHERE `stockid` = 914 ORDER BY `minOrder` ASC [ RunTime:0.000287s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 914 ORDER BY `unit` DESC [ RunTime:0.000279s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 914 LIMIT 2 [ RunTime:0.000258s ]
SELECT * FROM `stock_price` WHERE `stockid` = 914 ORDER BY `minOrder` ASC [ RunTime:0.000261s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'LPS65' OR `brand` LIKE 'ARTESYN EMBEDDED TECHNOLOGIES%' ) ) LIMIT 1 [ RunTime:0.000267s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 3366 LIMIT 4 [ RunTime:0.004020s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3366 ORDER BY `minOrder` ASC [ RunTime:0.002298s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 3366 ORDER BY `unit` DESC [ RunTime:0.006164s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 3366 LIMIT 2 [ RunTime:0.002563s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3366 ORDER BY `minOrder` ASC [ RunTime:0.004211s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'SLF7045T-101MR50-PF.' OR `brand` LIKE 'TDK%' ) ) LIMIT 1 [ RunTime:0.012543s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 5623 LIMIT 4 [ RunTime:0.008295s ]
SELECT * FROM `stock_price` WHERE `stockid` = 5623 ORDER BY `minOrder` ASC [ RunTime:0.007649s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 5623 ORDER BY `unit` DESC [ RunTime:0.000732s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 5623 LIMIT 2 [ RunTime:0.000488s ]
SELECT * FROM `stock_price` WHERE `stockid` = 5623 ORDER BY `minOrder` ASC [ RunTime:0.000932s ]
select * from pdf where partno='259CFR.SA' and brandshort='IDEAL-TEK' limit 1 [ RunTime:0.001697s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '259CFR.SA' OR `brand` LIKE 'IDEAL-TEK%' ) ) LIMIT 1 [ RunTime:0.000791s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 1973 LIMIT 4 [ RunTime:0.007265s ]
SELECT * FROM `stock_price` WHERE `stockid` = 1973 ORDER BY `minOrder` ASC [ RunTime:0.000276s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 1973 ORDER BY `unit` DESC [ RunTime:0.000299s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 1973 LIMIT 2 [ RunTime:0.000282s ]
SELECT * FROM `stock_price` WHERE `stockid` = 1973 ORDER BY `minOrder` ASC [ RunTime:0.000242s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'SMR800PS24' OR `brand` LIKE 'XP POWER%' ) ) LIMIT 1 [ RunTime:0.000270s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 570 LIMIT 4 [ RunTime:0.001561s ]
SELECT * FROM `stock_price` WHERE `stockid` = 570 ORDER BY `minOrder` ASC [ RunTime:0.000298s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 570 ORDER BY `unit` DESC [ RunTime:0.000259s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 570 LIMIT 2 [ RunTime:0.000240s ]
SELECT * FROM `stock_price` WHERE `stockid` = 570 ORDER BY `minOrder` ASC [ RunTime:0.000284s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'FN283-4-06' OR `brand` LIKE 'SCHAFFNER%' ) ) LIMIT 1 [ RunTime:0.000291s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 10043 LIMIT 4 [ RunTime:0.000473s ]
SELECT * FROM `stock_price` WHERE `stockid` = 10043 ORDER BY `minOrder` ASC [ RunTime:0.002914s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 10043 ORDER BY `unit` DESC [ RunTime:0.006784s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 10043 LIMIT 2 [ RunTime:0.001975s ]
SELECT * FROM `stock_price` WHERE `stockid` = 10043 ORDER BY `minOrder` ASC [ RunTime:0.000340s ]
select * from pdf where partno='C20F.0101' and brandshort='SCHURTER' limit 1 [ RunTime:0.002063s ]
select foldpath,foldpath2,filename from pdf_file where id=2184567 limit 1 [ RunTime:0.002235s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'C20F.0101' OR `brand` LIKE 'SCHURTER%' ) ) LIMIT 1 [ RunTime:0.002647s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 8256 LIMIT 4 [ RunTime:0.001372s ]
SELECT * FROM `stock_price` WHERE `stockid` = 8256 ORDER BY `minOrder` ASC [ RunTime:0.000471s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 8256 ORDER BY `unit` DESC [ RunTime:0.000826s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 8256 LIMIT 2 [ RunTime:0.001430s ]
SELECT * FROM `stock_price` WHERE `stockid` = 8256 ORDER BY `minOrder` ASC [ RunTime:0.005389s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'T5989DV' OR `brand` LIKE 'RASPBERRY-PI%' ) ) LIMIT 1 [ RunTime:0.001079s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 4028 LIMIT 4 [ RunTime:0.000519s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4028 ORDER BY `minOrder` ASC [ RunTime:0.000295s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 4028 ORDER BY `unit` DESC [ RunTime:0.000266s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 4028 LIMIT 2 [ RunTime:0.000244s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4028 ORDER BY `minOrder` ASC [ RunTime:0.000239s ]
select * from pdf where partno='HC-1S' and brandshort='MULTICOMP PRO' limit 1 [ RunTime:0.000637s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'HC-1S' OR `brand` LIKE 'MULTICOMP PRO%' ) ) LIMIT 1 [ RunTime:0.000308s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 1199 LIMIT 4 [ RunTime:0.004093s ]
SELECT * FROM `stock_price` WHERE `stockid` = 1199 ORDER BY `minOrder` ASC [ RunTime:0.002159s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 1199 ORDER BY `unit` DESC [ RunTime:0.003535s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 1199 LIMIT 2 [ RunTime:0.001290s ]
SELECT * FROM `stock_price` WHERE `stockid` = 1199 ORDER BY `minOrder` ASC [ RunTime:0.001187s ]
select * from pdf where partno='RNF-100-3/32-0-STK' and brandshort='RAYCHEM - TE CONNECTIVITY' limit 1 [ RunTime:0.001551s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'RNF-100-3/32-0-STK' OR `brand` LIKE 'RAYCHEM - TE CONNECTIVITY%' ) ) LIMIT 1 [ RunTime:0.000548s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 977 LIMIT 4 [ RunTime:0.001372s ]
SELECT * FROM `stock_price` WHERE `stockid` = 977 ORDER BY `minOrder` ASC [ RunTime:0.000263s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 977 ORDER BY `unit` DESC [ RunTime:0.000249s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 977 LIMIT 2 [ RunTime:0.001817s ]
SELECT * FROM `stock_price` WHERE `stockid` = 977 ORDER BY `minOrder` ASC [ RunTime:0.000250s ]
select * from pdf where partno='ECM60UT33' and brandshort='XP POWER' limit 1 [ RunTime:0.000714s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'ECM60UT33' OR `brand` LIKE 'XP POWER%' ) ) LIMIT 1 [ RunTime:0.000323s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 1158 LIMIT 4 [ RunTime:0.002214s ]
SELECT * FROM `stock_price` WHERE `stockid` = 1158 ORDER BY `minOrder` ASC [ RunTime:0.000258s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 1158 ORDER BY `unit` DESC [ RunTime:0.000537s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 1158 LIMIT 2 [ RunTime:0.000403s ]
SELECT * FROM `stock_price` WHERE `stockid` = 1158 ORDER BY `minOrder` ASC [ RunTime:0.000389s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '010102J' OR `brand` LIKE 'ERSA%' ) ) LIMIT 1 [ RunTime:0.000436s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 10120 LIMIT 4 [ RunTime:0.000597s ]
SELECT * FROM `stock_price` WHERE `stockid` = 10120 ORDER BY `minOrder` ASC [ RunTime:0.002927s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 10120 ORDER BY `unit` DESC [ RunTime:0.006876s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 10120 LIMIT 2 [ RunTime:0.011486s ]
SELECT * FROM `stock_price` WHERE `stockid` = 10120 ORDER BY `minOrder` ASC [ RunTime:0.000629s ]
select * from pdf where partno='MAX8663ETL+' and brandshort='ANALOG DEVICES' limit 1 [ RunTime:0.003783s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'MAX8663ETL+' OR `brand` LIKE 'ANALOG DEVICES%' ) ) LIMIT 1 [ RunTime:0.000816s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 8419 LIMIT 4 [ RunTime:0.000766s ]
SELECT * FROM `stock_price` WHERE `stockid` = 8419 ORDER BY `minOrder` ASC [ RunTime:0.002330s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 8419 ORDER BY `unit` DESC [ RunTime:0.005032s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 8419 LIMIT 2 [ RunTime:0.003561s ]
SELECT * FROM `stock_price` WHERE `stockid` = 8419 ORDER BY `minOrder` ASC [ RunTime:0.001270s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'WSD 71 CN' OR `brand` LIKE 'WELLER%' ) ) LIMIT 1 [ RunTime:0.006073s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 11859 LIMIT 4 [ RunTime:0.001429s ]
SELECT * FROM `stock_price` WHERE `stockid` = 11859 ORDER BY `minOrder` ASC [ RunTime:0.001100s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 11859 ORDER BY `unit` DESC [ RunTime:0.000790s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 11859 LIMIT 2 [ RunTime:0.000564s ]
SELECT * FROM `stock_price` WHERE `stockid` = 11859 ORDER BY `minOrder` ASC [ RunTime:0.000376s ]
select * from pdf where partno='MPF5024AVNA0ES' and brandshort='NXP' limit 1 [ RunTime:0.001884s ]
select foldpath,foldpath2,filename from pdf_file where id=1524729 limit 1 [ RunTime:0.003733s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'MPF5024AVNA0ES' OR `brand` LIKE 'NXP%' ) ) LIMIT 1 [ RunTime:0.010544s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 5381 LIMIT 4 [ RunTime:0.006195s ]
SELECT * FROM `stock_price` WHERE `stockid` = 5381 ORDER BY `minOrder` ASC [ RunTime:0.000432s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 5381 ORDER BY `unit` DESC [ RunTime:0.000867s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 5381 LIMIT 2 [ RunTime:0.000330s ]
SELECT * FROM `stock_price` WHERE `stockid` = 5381 ORDER BY `minOrder` ASC [ RunTime:0.000321s ]
select * from pdf where partno='ECM60US07' and brandshort='XP POWER' limit 1 [ RunTime:0.000602s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'ECM60US07' OR `brand` LIKE 'XP POWER%' ) ) LIMIT 1 [ RunTime:0.000408s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 11342 LIMIT 4 [ RunTime:0.003372s ]
SELECT * FROM `stock_price` WHERE `stockid` = 11342 ORDER BY `minOrder` ASC [ RunTime:0.000436s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 11342 ORDER BY `unit` DESC [ RunTime:0.000381s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 11342 LIMIT 2 [ RunTime:0.000380s ]
SELECT * FROM `stock_price` WHERE `stockid` = 11342 ORDER BY `minOrder` ASC [ RunTime:0.000363s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'MP5075GTF-P' OR `brand` LIKE 'MONOLITHIC POWER SYSTEMS (MPS)%' ) ) LIMIT 1 [ RunTime:0.000381s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 2969 LIMIT 4 [ RunTime:0.000385s ]
SELECT * FROM `stock_price` WHERE `stockid` = 2969 ORDER BY `minOrder` ASC [ RunTime:0.000387s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 2969 ORDER BY `unit` DESC [ RunTime:0.000319s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 2969 LIMIT 2 [ RunTime:0.000387s ]
SELECT * FROM `stock_price` WHERE `stockid` = 2969 ORDER BY `minOrder` ASC [ RunTime:0.000373s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'AMM120PS24' OR `brand` LIKE 'XP POWER%' ) ) LIMIT 1 [ RunTime:0.000415s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 1210 LIMIT 4 [ RunTime:0.004092s ]
SELECT * FROM `stock_price` WHERE `stockid` = 1210 ORDER BY `minOrder` ASC [ RunTime:0.006070s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 1210 ORDER BY `unit` DESC [ RunTime:0.005711s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 1210 LIMIT 2 [ RunTime:0.005718s ]
SELECT * FROM `stock_price` WHERE `stockid` = 1210 ORDER BY `minOrder` ASC [ RunTime:0.006487s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'RNF-100-1/4-9-STK' OR `brand` LIKE 'RAYCHEM - TE CONNECTIVITY%' ) ) LIMIT 1 [ RunTime:0.003886s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 976 LIMIT 4 [ RunTime:0.006844s ]
SELECT * FROM `stock_price` WHERE `stockid` = 976 ORDER BY `minOrder` ASC [ RunTime:0.000438s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 976 ORDER BY `unit` DESC [ RunTime:0.000424s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 976 LIMIT 2 [ RunTime:0.000408s ]
SELECT * FROM `stock_price` WHERE `stockid` = 976 ORDER BY `minOrder` ASC [ RunTime:0.000382s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'ECM60UT31' OR `brand` LIKE 'XP POWER%' ) ) LIMIT 1 [ RunTime:0.000401s ]
SELECT brand, count(*) as count FROM `stock` WHERE ( `status` <> 2 AND `categoryid` IN (540,541,542,543,544,545,546,547,548,549,550,551,552,553,554,555,556,557,558,559,560,561,562,563,564,565,566,567,568,569,570,571,572,573,574,575,576,577,578,579,580,581,582,583,584,585,586,587,588,589,590,591,592,593,594,595,596,597,598,599,600,601,602) ) AND `brand` IS NOT NULL AND `brand` <> '' GROUP BY `brand` ORDER BY `count` DESC LIMIT 10000 [ RunTime:0.000977s ]