SHOW FULL COLUMNS FROM `product_type` [ RunTime:0.005271s ]
SELECT `id`,`typeid`,`name`,`typestr` FROM `product_type` WHERE `id` NOT IN (11,12,13,14,15) AND `id` <= 750 [ RunTime:0.009741s ]
SHOW FULL COLUMNS FROM `o_cart` [ RunTime:0.001660s ]
SELECT COUNT(*) AS think_count FROM `o_cart` WHERE ( `userId` = 0 AND `visitIP` = '18.97.14.89' ) [ RunTime:0.000446s ]
SHOW FULL COLUMNS FROM `ad` [ RunTime:0.001220s ]
SELECT * FROM `ad` WHERE `isDisplay` = 1 [ RunTime:0.000388s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `typeid` = 152 [ RunTime:0.000382s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `id` = 152 LIMIT 1 [ RunTime:0.000256s ]
SHOW FULL COLUMNS FROM `stock` [ RunTime:0.001434s ]
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` FORCE INDEX ( idx_categoryid ) LEFT JOIN `product_type` `t` ON `t`.`id`=`s`.`categoryid` WHERE ( `lockUser` = 0 AND `isDisplay` = 1 AND `s`.`categoryid` = '152' ) ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.000682s ]
SHOW FULL COLUMNS FROM `stock_pra` [ RunTime:0.001061s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 1179 LIMIT 5 [ RunTime:0.000304s ]
SHOW FULL COLUMNS FROM `stock_price` [ RunTime:0.001456s ]
SELECT * FROM `stock_price` WHERE `stockid` = 1179 ORDER BY `minOrder` ASC [ RunTime:0.002572s ]
SHOW FULL COLUMNS FROM `stock_unitquantity` [ RunTime:0.001059s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 1179 ORDER BY `unit` DESC [ RunTime:0.000537s ]
SHOW FULL COLUMNS FROM `stock_warehousequantity` [ RunTime:0.001069s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 1179 LIMIT 2 [ RunTime:0.002757s ]
SELECT * FROM `stock_price` WHERE `stockid` = 1179 ORDER BY `minOrder` ASC [ RunTime:0.000352s ]
SHOW FULL COLUMNS FROM `stock_pra_lib` [ RunTime:0.001158s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'MF-NSMF020-2' OR `brand` LIKE 'BOURNS%' ) ) LIMIT 1 [ RunTime:0.002320s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 4195 LIMIT 5 [ RunTime:0.000293s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4195 ORDER BY `minOrder` ASC [ RunTime:0.000345s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 4195 ORDER BY `unit` DESC [ RunTime:0.000302s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 4195 LIMIT 2 [ RunTime:0.000286s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4195 ORDER BY `minOrder` ASC [ RunTime:0.000317s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'MC33152' OR `brand` LIKE 'MULTICOMP PRO%' ) ) LIMIT 1 [ RunTime:0.000612s ]
SELECT `id` FROM `stock` WHERE `id` <> 4195 AND `partno` = 'MC33152' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%multicomp pro%' ) [ RunTime:0.000858s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 962 LIMIT 5 [ RunTime:0.000291s ]
SELECT * FROM `stock_price` WHERE `stockid` = 962 ORDER BY `minOrder` ASC [ RunTime:0.000633s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 962 ORDER BY `unit` DESC [ RunTime:0.000304s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 962 LIMIT 2 [ RunTime:0.000289s ]
SELECT * FROM `stock_price` WHERE `stockid` = 962 ORDER BY `minOrder` ASC [ RunTime:0.000327s ]
select * from pdf where partno='RF2568-000.' and brandshort='LITTELFUSE' limit 1 [ RunTime:0.001251s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'RF2568-000.' OR `brand` LIKE 'LITTELFUSE%' ) ) LIMIT 1 [ RunTime:0.006264s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 1477 LIMIT 5 [ RunTime:0.000364s ]
SELECT * FROM `stock_price` WHERE `stockid` = 1477 ORDER BY `minOrder` ASC [ RunTime:0.000664s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 1477 ORDER BY `unit` DESC [ RunTime:0.000547s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 1477 LIMIT 2 [ RunTime:0.000522s ]
SELECT * FROM `stock_price` WHERE `stockid` = 1477 ORDER BY `minOrder` ASC [ RunTime:0.000322s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'MF-PSMF050X-2' OR `brand` LIKE 'BOURNS%' ) ) LIMIT 1 [ RunTime:0.002300s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 16624 LIMIT 5 [ RunTime:0.000300s ]
SELECT * FROM `stock_price` WHERE `stockid` = 16624 ORDER BY `minOrder` ASC [ RunTime:0.000646s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 16624 ORDER BY `unit` DESC [ RunTime:0.000452s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 16624 LIMIT 2 [ RunTime:0.000415s ]
SELECT * FROM `stock_price` WHERE `stockid` = 16624 ORDER BY `minOrder` ASC [ RunTime:0.000319s ]
select * from pdf where partno='MF-NSMF020-2' and brandshort='BOURNS' limit 1 [ RunTime:0.001137s ]
select foldpath,foldpath2,filename from pdf_file where id=595703 limit 1 [ RunTime:0.000393s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'MF-NSMF020-2' OR `brand` LIKE 'BOURNS%' ) ) LIMIT 1 [ RunTime:0.002171s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 16496 LIMIT 5 [ RunTime:0.000317s ]
SELECT * FROM `stock_price` WHERE `stockid` = 16496 ORDER BY `minOrder` ASC [ RunTime:0.000658s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 16496 ORDER BY `unit` DESC [ RunTime:0.000326s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 16496 LIMIT 2 [ RunTime:0.000323s ]
SELECT * FROM `stock_price` WHERE `stockid` = 16496 ORDER BY `minOrder` ASC [ RunTime:0.000349s ]
select * from pdf where partno='RUEF185' and brandshort='LITTELFUSE' limit 1 [ RunTime:0.001180s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'RUEF185' OR `brand` LIKE 'LITTELFUSE%' ) ) LIMIT 1 [ RunTime:0.007585s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 15605 LIMIT 5 [ RunTime:0.000327s ]
SELECT * FROM `stock_price` WHERE `stockid` = 15605 ORDER BY `minOrder` ASC [ RunTime:0.000658s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 15605 ORDER BY `unit` DESC [ RunTime:0.000312s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 15605 LIMIT 2 [ RunTime:0.000953s ]
SELECT * FROM `stock_price` WHERE `stockid` = 15605 ORDER BY `minOrder` ASC [ RunTime:0.000327s ]
select * from pdf where partno='MF-NSMF020-2' and brandshort='BOURNS' limit 1 [ RunTime:0.000522s ]
select foldpath,foldpath2,filename from pdf_file where id=595703 limit 1 [ RunTime:0.000261s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'MF-NSMF020-2' OR `brand` LIKE 'BOURNS%' ) ) LIMIT 1 [ RunTime:0.001858s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 15476 LIMIT 5 [ RunTime:0.000287s ]
SELECT * FROM `stock_price` WHERE `stockid` = 15476 ORDER BY `minOrder` ASC [ RunTime:0.003939s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 15476 ORDER BY `unit` DESC [ RunTime:0.002316s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 15476 LIMIT 2 [ RunTime:0.000399s ]
SELECT * FROM `stock_price` WHERE `stockid` = 15476 ORDER BY `minOrder` ASC [ RunTime:0.000310s ]
select * from pdf where partno='RUEF185' and brandshort='LITTELFUSE' limit 1 [ RunTime:0.000489s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'RUEF185' OR `brand` LIKE 'LITTELFUSE%' ) ) LIMIT 1 [ RunTime:0.005082s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 960 LIMIT 5 [ RunTime:0.000316s ]
SELECT * FROM `stock_price` WHERE `stockid` = 960 ORDER BY `minOrder` ASC [ RunTime:0.000324s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 960 ORDER BY `unit` DESC [ RunTime:0.000297s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 960 LIMIT 2 [ RunTime:0.000279s ]
SELECT * FROM `stock_price` WHERE `stockid` = 960 ORDER BY `minOrder` ASC [ RunTime:0.000299s ]
select * from pdf where partno='RUEF185' and brandshort='LITTELFUSE' limit 1 [ RunTime:0.000531s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'RUEF185' OR `brand` LIKE 'LITTELFUSE%' ) ) LIMIT 1 [ RunTime:0.004961s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 1682 LIMIT 5 [ RunTime:0.000295s ]
SELECT * FROM `stock_price` WHERE `stockid` = 1682 ORDER BY `minOrder` ASC [ RunTime:0.000668s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 1682 ORDER BY `unit` DESC [ RunTime:0.000296s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 1682 LIMIT 2 [ RunTime:0.000391s ]
SELECT * FROM `stock_price` WHERE `stockid` = 1682 ORDER BY `minOrder` ASC [ RunTime:0.000319s ]
select * from pdf where partno='SMD185F-2' and brandshort='LITTELFUSE' limit 1 [ RunTime:0.001313s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'SMD185F-2' OR `brand` LIKE 'LITTELFUSE%' ) ) LIMIT 1 [ RunTime:0.005172s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 961 LIMIT 5 [ RunTime:0.000319s ]
SELECT * FROM `stock_price` WHERE `stockid` = 961 ORDER BY `minOrder` ASC [ RunTime:0.000344s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 961 ORDER BY `unit` DESC [ RunTime:0.000304s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 961 LIMIT 2 [ RunTime:0.000282s ]
SELECT * FROM `stock_price` WHERE `stockid` = 961 ORDER BY `minOrder` ASC [ RunTime:0.000322s ]
select * from pdf where partno='RXEF050' and brandshort='LITTELFUSE' limit 1 [ RunTime:0.001000s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'RXEF050' OR `brand` LIKE 'LITTELFUSE%' ) ) LIMIT 1 [ RunTime:0.004821s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 1683 LIMIT 5 [ RunTime:0.000295s ]
SELECT * FROM `stock_price` WHERE `stockid` = 1683 ORDER BY `minOrder` ASC [ RunTime:0.000334s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 1683 ORDER BY `unit` DESC [ RunTime:0.000349s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 1683 LIMIT 2 [ RunTime:0.000375s ]
SELECT * FROM `stock_price` WHERE `stockid` = 1683 ORDER BY `minOrder` ASC [ RunTime:0.000385s ]
select * from pdf where partno='SMD260F-2' and brandshort='LITTELFUSE' limit 1 [ RunTime:0.003099s ]
select foldpath,foldpath2,filename from pdf_file where id=1638855 limit 1 [ RunTime:0.000381s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'SMD260F-2' OR `brand` LIKE 'LITTELFUSE%' ) ) LIMIT 1 [ RunTime:0.006127s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 1681 LIMIT 5 [ RunTime:0.000411s ]
SELECT * FROM `stock_price` WHERE `stockid` = 1681 ORDER BY `minOrder` ASC [ RunTime:0.000575s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 1681 ORDER BY `unit` DESC [ RunTime:0.000470s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 1681 LIMIT 2 [ RunTime:0.000551s ]
SELECT * FROM `stock_price` WHERE `stockid` = 1681 ORDER BY `minOrder` ASC [ RunTime:0.000563s ]
select * from pdf where partno='SMD150F/33-2' and brandshort='LITTELFUSE' limit 1 [ RunTime:0.001740s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'SMD150F/33-2' OR `brand` LIKE 'LITTELFUSE%' ) ) LIMIT 1 [ RunTime:0.007785s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 14295 LIMIT 5 [ RunTime:0.000566s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14295 ORDER BY `minOrder` ASC [ RunTime:0.000795s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 14295 ORDER BY `unit` DESC [ RunTime:0.000432s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 14295 LIMIT 2 [ RunTime:0.001545s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14295 ORDER BY `minOrder` ASC [ RunTime:0.000386s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'MF-R025' OR `brand` LIKE 'BOURNS%' ) ) LIMIT 1 [ RunTime:0.002183s ]
SELECT COUNT(*) AS think_count FROM `stock` `s` FORCE INDEX ( idx_categoryid ) LEFT JOIN `product_type` `t` ON `t`.`id`=`s`.`categoryid` WHERE ( `lockUser` = 0 AND `isDisplay` = 1 AND `s`.`categoryid` = '152' ) ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.000588s ]
SELECT brand, count(*) as count FROM ( SELECT `brand` FROM `stock` `s` WHERE ( `lockUser` = 0 AND `isDisplay` = 1 AND `s`.`categoryid` = '152' ) LIMIT 14 ) tmp GROUP BY `brand` [ RunTime:0.000642s ]