SHOW FULL COLUMNS FROM `product_type` [ RunTime:0.002406s ]
SELECT `id`,`typeid`,`name`,`typestr` FROM `product_type` WHERE `id` NOT IN (11,12,13,14,15) AND `id` <= 750 [ RunTime:0.002490s ]
SHOW FULL COLUMNS FROM `o_cart` [ RunTime:0.002758s ]
SELECT COUNT(*) AS think_count FROM `o_cart` WHERE ( `userId` = 0 AND `visitIP` = '216.73.216.186' ) [ RunTime:0.000384s ]
SHOW FULL COLUMNS FROM `ad` [ RunTime:0.002280s ]
SELECT * FROM `ad` WHERE `isDisplay` = 1 [ RunTime:0.000353s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `id` = 20 LIMIT 1 [ RunTime:0.002335s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `typeid` = 20 [ RunTime:0.000677s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `typeid` IN (102,103,104,105,106,107,108,109,110,111,112,113,114,115) [ RunTime:0.000351s ]
SHOW FULL COLUMNS FROM `stock` [ RunTime:0.003147s ]
SELECT `s`.`id` FROM `stock` `s` INNER JOIN `user` `u` ON `s`.`userid`=`u`.`stockuserid` WHERE `u`.`lockUser` = '0' AND ( (s.isDisplay IS NULL OR s.isDisplay = 1) ) AND ( `status` <> 2 AND `categoryid` IN (102,103,104,105,106,107,108,109,110,111,112,113,114,115) ) ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.011883s ]
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 IS NULL OR s.isDisplay = 1) ) AND `s`.`id` IN ('7234','14981','7381','11765','14560','7535','2848','14941','11762','9518','7233','7391','7390','16996','16825','16759','16551','16269','15978','15806') ORDER BY FIELD(s.id, 7234,14981,7381,11765,14560,7535,2848,14941,11762,9518,7233,7391,7390,16996,16825,16759,16551,16269,15978,15806) [ RunTime:0.005738s ]
SHOW FULL COLUMNS FROM `stock_pra` [ RunTime:0.001396s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 7234 LIMIT 4 [ RunTime:0.000253s ]
SHOW FULL COLUMNS FROM `stock_price` [ RunTime:0.000828s ]
SELECT * FROM `stock_price` WHERE `stockid` = 7234 ORDER BY `minOrder` ASC [ RunTime:0.000230s ]
SHOW FULL COLUMNS FROM `stock_unitquantity` [ RunTime:0.000800s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 7234 ORDER BY `unit` DESC [ RunTime:0.000231s ]
SHOW FULL COLUMNS FROM `stock_warehousequantity` [ RunTime:0.000798s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 7234 LIMIT 2 [ RunTime:0.000224s ]
SELECT * FROM `stock_price` WHERE `stockid` = 7234 ORDER BY `minOrder` ASC [ RunTime:0.000218s ]
SHOW FULL COLUMNS FROM `stock_pra_lib` [ RunTime:0.000840s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'NPIC6C596PW-Q100,1' OR `brand` LIKE 'NEXPERIA%' ) ) LIMIT 1 [ RunTime:0.000256s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 14981 LIMIT 4 [ RunTime:0.000327s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14981 ORDER BY `minOrder` ASC [ RunTime:0.000227s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 14981 ORDER BY `unit` DESC [ RunTime:0.000224s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 14981 LIMIT 2 [ RunTime:0.000216s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14981 ORDER BY `minOrder` ASC [ RunTime:0.000216s ]
select * from pdf where partno='74LVC1G07GW,125' and brandshort='Nexperia' limit 1 [ RunTime:0.000355s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '74LVC1G07GW,125' OR `brand` LIKE 'Nexperia%' ) ) LIMIT 1 [ RunTime:0.000469s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 7381 LIMIT 4 [ RunTime:0.005136s ]
SELECT * FROM `stock_price` WHERE `stockid` = 7381 ORDER BY `minOrder` ASC [ RunTime:0.005503s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 7381 ORDER BY `unit` DESC [ RunTime:0.002168s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 7381 LIMIT 2 [ RunTime:0.008077s ]
SELECT * FROM `stock_price` WHERE `stockid` = 7381 ORDER BY `minOrder` ASC [ RunTime:0.004804s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'NC7SZ175P6X' OR `brand` LIKE 'ONSEMI%' ) ) LIMIT 1 [ RunTime:0.027093s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 11765 LIMIT 4 [ RunTime:0.006407s ]
SELECT * FROM `stock_price` WHERE `stockid` = 11765 ORDER BY `minOrder` ASC [ RunTime:0.011894s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 11765 ORDER BY `unit` DESC [ RunTime:0.002229s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 11765 LIMIT 2 [ RunTime:0.000803s ]
SELECT * FROM `stock_price` WHERE `stockid` = 11765 ORDER BY `minOrder` ASC [ RunTime:0.001210s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '74LVC1G74DC-Q100H' OR `brand` LIKE 'NEXPERIA%' ) ) LIMIT 1 [ RunTime:0.007324s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 14560 LIMIT 4 [ RunTime:0.000512s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14560 ORDER BY `minOrder` ASC [ RunTime:0.003154s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 14560 ORDER BY `unit` DESC [ RunTime:0.000469s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 14560 LIMIT 2 [ RunTime:0.000376s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14560 ORDER BY `minOrder` ASC [ RunTime:0.000365s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'ICL7135CPIZ' OR `brand` LIKE 'RENESAS%' ) ) LIMIT 1 [ RunTime:0.000398s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 7535 LIMIT 4 [ RunTime:0.001739s ]
SELECT * FROM `stock_price` WHERE `stockid` = 7535 ORDER BY `minOrder` ASC [ RunTime:0.000784s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 7535 ORDER BY `unit` DESC [ RunTime:0.000580s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 7535 LIMIT 2 [ RunTime:0.000550s ]
SELECT * FROM `stock_price` WHERE `stockid` = 7535 ORDER BY `minOrder` ASC [ RunTime:0.001865s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'MC74HC174ADR2G' OR `brand` LIKE 'ONSEMI%' ) ) LIMIT 1 [ RunTime:0.014869s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 2848 LIMIT 4 [ RunTime:0.004242s ]
SELECT * FROM `stock_price` WHERE `stockid` = 2848 ORDER BY `minOrder` ASC [ RunTime:0.002499s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 2848 ORDER BY `unit` DESC [ RunTime:0.000394s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 2848 LIMIT 2 [ RunTime:0.000375s ]
SELECT * FROM `stock_price` WHERE `stockid` = 2848 ORDER BY `minOrder` ASC [ RunTime:0.000368s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'MC74HC595ADTR2G' OR `brand` LIKE 'ONSEMI%' ) ) LIMIT 1 [ RunTime:0.000397s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 14941 LIMIT 4 [ RunTime:0.000356s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14941 ORDER BY `minOrder` ASC [ RunTime:0.000375s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 14941 ORDER BY `unit` DESC [ RunTime:0.000361s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 14941 LIMIT 2 [ RunTime:0.000389s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14941 ORDER BY `minOrder` ASC [ RunTime:0.000359s ]
select * from pdf where partno='74AVC16T245DGG,118' and brandshort='NEXPERIA' limit 1 [ RunTime:0.000570s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '74AVC16T245DGG,118' OR `brand` LIKE 'NEXPERIA%' ) ) LIMIT 1 [ RunTime:0.000384s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 11762 LIMIT 4 [ RunTime:0.000609s ]
SELECT * FROM `stock_price` WHERE `stockid` = 11762 ORDER BY `minOrder` ASC [ RunTime:0.006655s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 11762 ORDER BY `unit` DESC [ RunTime:0.000997s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 11762 LIMIT 2 [ RunTime:0.000565s ]
SELECT * FROM `stock_price` WHERE `stockid` = 11762 ORDER BY `minOrder` ASC [ RunTime:0.000379s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '74HC4538DB,118' OR `brand` LIKE 'NEXPERIA%' ) ) LIMIT 1 [ RunTime:0.009620s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 9518 LIMIT 4 [ RunTime:0.004860s ]
SELECT * FROM `stock_price` WHERE `stockid` = 9518 ORDER BY `minOrder` ASC [ RunTime:0.000804s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 9518 ORDER BY `unit` DESC [ RunTime:0.000596s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 9518 LIMIT 2 [ RunTime:0.001443s ]
SELECT * FROM `stock_price` WHERE `stockid` = 9518 ORDER BY `minOrder` ASC [ RunTime:0.009389s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'NL27WZ17DFT2G' OR `brand` LIKE 'ONSEMI%' ) ) LIMIT 1 [ RunTime:0.019007s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 7233 LIMIT 4 [ RunTime:0.000425s ]
SELECT * FROM `stock_price` WHERE `stockid` = 7233 ORDER BY `minOrder` ASC [ RunTime:0.000379s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 7233 ORDER BY `unit` DESC [ RunTime:0.000395s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 7233 LIMIT 2 [ RunTime:0.000364s ]
SELECT * FROM `stock_price` WHERE `stockid` = 7233 ORDER BY `minOrder` ASC [ RunTime:0.000361s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '74AHCT594PW,118' OR `brand` LIKE 'NEXPERIA%' ) ) LIMIT 1 [ RunTime:0.000383s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 7391 LIMIT 4 [ RunTime:0.000364s ]
SELECT * FROM `stock_price` WHERE `stockid` = 7391 ORDER BY `minOrder` ASC [ RunTime:0.000355s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 7391 ORDER BY `unit` DESC [ RunTime:0.000362s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 7391 LIMIT 2 [ RunTime:0.000355s ]
SELECT * FROM `stock_price` WHERE `stockid` = 7391 ORDER BY `minOrder` ASC [ RunTime:0.000367s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'MM74HC595MTCX' OR `brand` LIKE 'ONSEMI%' ) ) LIMIT 1 [ RunTime:0.000373s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 7390 LIMIT 4 [ RunTime:0.000356s ]
SELECT * FROM `stock_price` WHERE `stockid` = 7390 ORDER BY `minOrder` ASC [ RunTime:0.000355s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 7390 ORDER BY `unit` DESC [ RunTime:0.000365s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 7390 LIMIT 2 [ RunTime:0.000354s ]
SELECT * FROM `stock_price` WHERE `stockid` = 7390 ORDER BY `minOrder` ASC [ RunTime:0.000356s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '74VHC595MX' OR `brand` LIKE 'ONSEMI%' ) ) LIMIT 1 [ RunTime:0.000385s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 16996 LIMIT 4 [ RunTime:0.001892s ]
SELECT * FROM `stock_price` WHERE `stockid` = 16996 ORDER BY `minOrder` ASC [ RunTime:0.001849s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 16996 ORDER BY `unit` DESC [ RunTime:0.000582s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 16996 LIMIT 2 [ RunTime:0.000555s ]
SELECT * FROM `stock_price` WHERE `stockid` = 16996 ORDER BY `minOrder` ASC [ RunTime:0.003114s ]
select * from pdf where partno='74HC4538DB,118' and brandshort='NEXPERIA' limit 1 [ RunTime:0.001688s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '74HC4538DB,118' OR `brand` LIKE 'NEXPERIA%' ) ) LIMIT 1 [ RunTime:0.000386s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 16825 LIMIT 4 [ RunTime:0.000359s ]
SELECT * FROM `stock_price` WHERE `stockid` = 16825 ORDER BY `minOrder` ASC [ RunTime:0.000353s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 16825 ORDER BY `unit` DESC [ RunTime:0.000338s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 16825 LIMIT 2 [ RunTime:0.000318s ]
SELECT * FROM `stock_price` WHERE `stockid` = 16825 ORDER BY `minOrder` ASC [ RunTime:0.000315s ]
select * from pdf where partno='MC74HC595ADTR2G' and brandshort='ONSEMI' limit 1 [ RunTime:0.000521s ]
select foldpath,foldpath2,filename from pdf_file where id=1135691 limit 1 [ RunTime:0.000236s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'MC74HC595ADTR2G' OR `brand` LIKE 'ONSEMI%' ) ) LIMIT 1 [ RunTime:0.000285s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 16759 LIMIT 4 [ RunTime:0.001819s ]
SELECT * FROM `stock_price` WHERE `stockid` = 16759 ORDER BY `minOrder` ASC [ RunTime:0.000716s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 16759 ORDER BY `unit` DESC [ RunTime:0.000432s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 16759 LIMIT 2 [ RunTime:0.000386s ]
SELECT * FROM `stock_price` WHERE `stockid` = 16759 ORDER BY `minOrder` ASC [ RunTime:0.002320s ]
select * from pdf where partno='MC74HC74ADR2G' and brandshort='ONSEMI' limit 1 [ RunTime:0.001427s ]
select foldpath,foldpath2,filename from pdf_file where id=532743 limit 1 [ RunTime:0.004227s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'MC74HC74ADR2G' OR `brand` LIKE 'ONSEMI%' ) ) LIMIT 1 [ RunTime:0.000368s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 16551 LIMIT 4 [ RunTime:0.000244s ]
SELECT * FROM `stock_price` WHERE `stockid` = 16551 ORDER BY `minOrder` ASC [ RunTime:0.000233s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 16551 ORDER BY `unit` DESC [ RunTime:0.000238s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 16551 LIMIT 2 [ RunTime:0.000232s ]
SELECT * FROM `stock_price` WHERE `stockid` = 16551 ORDER BY `minOrder` ASC [ RunTime:0.000222s ]
select * from pdf where partno='MM74HC595MTCX' and brandshort='ONSEMI' limit 1 [ RunTime:0.000198s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'MM74HC595MTCX' OR `brand` LIKE 'ONSEMI%' ) ) LIMIT 1 [ RunTime:0.000303s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 16269 LIMIT 4 [ RunTime:0.001599s ]
SELECT * FROM `stock_price` WHERE `stockid` = 16269 ORDER BY `minOrder` ASC [ RunTime:0.004019s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 16269 ORDER BY `unit` DESC [ RunTime:0.001039s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 16269 LIMIT 2 [ RunTime:0.000895s ]
SELECT * FROM `stock_price` WHERE `stockid` = 16269 ORDER BY `minOrder` ASC [ RunTime:0.000238s ]
select * from pdf where partno='74HC14PW,118' and brandshort='NEXPERIA' limit 1 [ RunTime:0.001284s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '74HC14PW,118' OR `brand` LIKE 'NEXPERIA%' ) ) LIMIT 1 [ RunTime:0.004925s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 15978 LIMIT 4 [ RunTime:0.007679s ]
SELECT * FROM `stock_price` WHERE `stockid` = 15978 ORDER BY `minOrder` ASC [ RunTime:0.010589s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 15978 ORDER BY `unit` DESC [ RunTime:0.001064s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 15978 LIMIT 2 [ RunTime:0.001371s ]
SELECT * FROM `stock_price` WHERE `stockid` = 15978 ORDER BY `minOrder` ASC [ RunTime:0.001097s ]
select * from pdf where partno='74HC4538DB,118' and brandshort='NEXPERIA' limit 1 [ RunTime:0.000257s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '74HC4538DB,118' OR `brand` LIKE 'NEXPERIA%' ) ) LIMIT 1 [ RunTime:0.000247s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 15806 LIMIT 4 [ RunTime:0.000237s ]
SELECT * FROM `stock_price` WHERE `stockid` = 15806 ORDER BY `minOrder` ASC [ RunTime:0.000220s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 15806 ORDER BY `unit` DESC [ RunTime:0.000230s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 15806 LIMIT 2 [ RunTime:0.000214s ]
SELECT * FROM `stock_price` WHERE `stockid` = 15806 ORDER BY `minOrder` ASC [ RunTime:0.000215s ]
select * from pdf where partno='MC74HC595ADTR2G' and brandshort='ONSEMI' limit 1 [ RunTime:0.000201s ]
select foldpath,foldpath2,filename from pdf_file where id=1135691 limit 1 [ RunTime:0.000143s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'MC74HC595ADTR2G' OR `brand` LIKE 'ONSEMI%' ) ) LIMIT 1 [ RunTime:0.000233s ]
SELECT brand, count(*) as count FROM `stock` WHERE ( `status` <> 2 AND `categoryid` IN (102,103,104,105,106,107,108,109,110,111,112,113,114,115) ) AND `brand` IS NOT NULL AND `brand` <> '' GROUP BY `brand` ORDER BY `count` DESC LIMIT 10000 [ RunTime:0.001531s ]