SHOW FULL COLUMNS FROM `product_type` [ RunTime:0.002449s ]
SELECT `id`,`typeid`,`name`,`typestr` FROM `product_type` WHERE `id` NOT IN (11,12,13,14,15) AND `id` <= 750 [ RunTime:0.000665s ]
SHOW FULL COLUMNS FROM `o_cart` [ RunTime:0.002574s ]
SELECT COUNT(*) AS think_count FROM `o_cart` WHERE ( `userId` = 0 AND `visitIP` = '216.73.216.187' ) [ RunTime:0.000407s ]
SHOW FULL COLUMNS FROM `ad` [ RunTime:0.002306s ]
SELECT * FROM `ad` WHERE `isDisplay` = 1 [ RunTime:0.000335s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `id` = 252 LIMIT 1 [ RunTime:0.000567s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `typeid` = 252 [ RunTime:0.000271s ]
SELECT `id`,`name` FROM `product_type` WHERE `typeid` = 29 [ RunTime:0.000268s ]
SHOW FULL COLUMNS FROM `stock` [ RunTime:0.002712s ]
SELECT COUNT(*) AS think_count FROM `stock` `s` LEFT JOIN `product_type` `t` ON `t`.`id`=`s`.`categoryid` WHERE ( `status` = 4 AND `status` <> 2 AND `categoryid` = 252 ) [ RunTime:0.002120s ]
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` = 4 AND `status` <> 2 AND `categoryid` = 252 ) ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.001935s ]
SHOW FULL COLUMNS FROM `stock_pra` [ RunTime:0.002264s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 16252 LIMIT 4 [ RunTime:0.000323s ]
SHOW FULL COLUMNS FROM `stock_price` [ RunTime:0.001951s ]
SELECT * FROM `stock_price` WHERE `stockid` = 16252 ORDER BY `minOrder` ASC [ RunTime:0.000238s ]
SHOW FULL COLUMNS FROM `stock_unitquantity` [ RunTime:0.002358s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 16252 ORDER BY `unit` DESC [ RunTime:0.000308s ]
SHOW FULL COLUMNS FROM `stock_warehousequantity` [ RunTime:0.001955s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 16252 LIMIT 2 [ RunTime:0.000287s ]
SELECT * FROM `stock_price` WHERE `stockid` = 16252 ORDER BY `minOrder` ASC [ RunTime:0.000274s ]
select * from pdf where partno='UVZ1H470MED1TD' and brandshort='NICHICON' limit 1 [ RunTime:0.000358s ]
select foldpath,foldpath2,filename from pdf_file where id=1485251 limit 1 [ RunTime:0.000246s ]
SHOW FULL COLUMNS FROM `stock_pra_lib` [ RunTime:0.002347s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'UVZ1H470MED1TD' OR `brand` LIKE 'NICHICON%' ) ) LIMIT 1 [ RunTime:0.000319s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 16186 LIMIT 4 [ RunTime:0.000281s ]
SELECT * FROM `stock_price` WHERE `stockid` = 16186 ORDER BY `minOrder` ASC [ RunTime:0.000276s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 16186 ORDER BY `unit` DESC [ RunTime:0.000265s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 16186 LIMIT 2 [ RunTime:0.000258s ]
SELECT * FROM `stock_price` WHERE `stockid` = 16186 ORDER BY `minOrder` ASC [ RunTime:0.000261s ]
select * from pdf where partno='UPW1E471MPD' and brandshort='NICHICON' limit 1 [ RunTime:0.002995s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'UPW1E471MPD' OR `brand` LIKE 'NICHICON%' ) ) LIMIT 1 [ RunTime:0.000487s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 15975 LIMIT 4 [ RunTime:0.000254s ]
SELECT * FROM `stock_price` WHERE `stockid` = 15975 ORDER BY `minOrder` ASC [ RunTime:0.000237s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 15975 ORDER BY `unit` DESC [ RunTime:0.000231s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 15975 LIMIT 2 [ RunTime:0.000231s ]
SELECT * FROM `stock_price` WHERE `stockid` = 15975 ORDER BY `minOrder` ASC [ RunTime:0.000218s ]
select * from pdf where partno='1-179958-4' and brandshort='AMP - TE CONNECTIVITY' limit 1 [ RunTime:0.000388s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '1-179958-4' OR `brand` LIKE 'AMP - TE CONNECTIVITY%' ) ) LIMIT 1 [ RunTime:0.002542s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 15852 LIMIT 4 [ RunTime:0.000812s ]
SELECT * FROM `stock_price` WHERE `stockid` = 15852 ORDER BY `minOrder` ASC [ RunTime:0.000220s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 15852 ORDER BY `unit` DESC [ RunTime:0.000216s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 15852 LIMIT 2 [ RunTime:0.000214s ]
SELECT * FROM `stock_price` WHERE `stockid` = 15852 ORDER BY `minOrder` ASC [ RunTime:0.000214s ]
select * from pdf where partno='VY1221K31Y5SQ63V0' and brandshort='VISHAY' limit 1 [ RunTime:0.000369s ]
select foldpath,foldpath2,filename from pdf_file where id=1918887 limit 1 [ RunTime:0.000228s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'VY1221K31Y5SQ63V0' OR `brand` LIKE 'VISHAY%' ) ) LIMIT 1 [ RunTime:0.000239s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 15655 LIMIT 4 [ RunTime:0.000228s ]
SELECT * FROM `stock_price` WHERE `stockid` = 15655 ORDER BY `minOrder` ASC [ RunTime:0.000215s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 15655 ORDER BY `unit` DESC [ RunTime:0.000220s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 15655 LIMIT 2 [ RunTime:0.000220s ]
SELECT * FROM `stock_price` WHERE `stockid` = 15655 ORDER BY `minOrder` ASC [ RunTime:0.000216s ]
select * from pdf where partno='DFR0065' and brandshort='DFROBOT' limit 1 [ RunTime:0.000353s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'DFR0065' OR `brand` LIKE 'DFROBOT%' ) ) LIMIT 1 [ RunTime:0.000224s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 15539 LIMIT 4 [ RunTime:0.000227s ]
SELECT * FROM `stock_price` WHERE `stockid` = 15539 ORDER BY `minOrder` ASC [ RunTime:0.000216s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 15539 ORDER BY `unit` DESC [ RunTime:0.000222s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 15539 LIMIT 2 [ RunTime:0.000216s ]
SELECT * FROM `stock_price` WHERE `stockid` = 15539 ORDER BY `minOrder` ASC [ RunTime:0.000216s ]
select * from pdf where partno='MCKPX-G1205A-3700' and brandshort='MULTICOMP PRO' limit 1 [ RunTime:0.000346s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'MCKPX-G1205A-3700' OR `brand` LIKE 'MULTICOMP PRO%' ) ) LIMIT 1 [ RunTime:0.000223s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 15342 LIMIT 4 [ RunTime:0.000802s ]
SELECT * FROM `stock_price` WHERE `stockid` = 15342 ORDER BY `minOrder` ASC [ RunTime:0.004027s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 15342 ORDER BY `unit` DESC [ RunTime:0.001355s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 15342 LIMIT 2 [ RunTime:0.001790s ]
SELECT * FROM `stock_price` WHERE `stockid` = 15342 ORDER BY `minOrder` ASC [ RunTime:0.000254s ]
select * from pdf where partno='UVR1V221MPD1TD' and brandshort='NICHICON' limit 1 [ RunTime:0.000374s ]
select foldpath,foldpath2,filename from pdf_file where id=1523237 limit 1 [ RunTime:0.000226s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'UVR1V221MPD1TD' OR `brand` LIKE 'NICHICON%' ) ) LIMIT 1 [ RunTime:0.000240s ]
SELECT brand, count(*) as count FROM `stock` WHERE ( `status` = 4 AND `status` <> 2 AND `categoryid` = 252 ) AND `brand` IS NOT NULL AND `brand` <> '' GROUP BY `brand` ORDER BY `count` DESC LIMIT 10000 [ RunTime:0.004580s ]