SHOW FULL COLUMNS FROM `product_type` [ RunTime:0.001146s ]
SELECT `id`,`typeid`,`name`,`typestr` FROM `product_type` WHERE `id` NOT IN (11,12,13,14,15) AND `id` <= 750 [ RunTime:0.003706s ]
SHOW FULL COLUMNS FROM `o_cart` [ RunTime:0.001436s ]
SELECT COUNT(*) AS think_count FROM `o_cart` WHERE ( `userId` = 0 AND `visitIP` = '18.97.9.171' ) [ RunTime:0.000446s ]
SHOW FULL COLUMNS FROM `ad` [ RunTime:0.001983s ]
SELECT * FROM `ad` WHERE `isDisplay` = 1 [ RunTime:0.000479s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `typeid` = 326 [ RunTime:0.000393s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `id` = 326 LIMIT 1 [ RunTime:0.000289s ]
SHOW FULL COLUMNS FROM `stock` [ RunTime:0.001183s ]
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` = '326' ) ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.000684s ]
SHOW FULL COLUMNS FROM `stock_pra` [ RunTime:0.001124s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 3826 LIMIT 5 [ RunTime:0.000372s ]
SHOW FULL COLUMNS FROM `stock_price` [ RunTime:0.001245s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3826 ORDER BY `minOrder` ASC [ RunTime:0.005446s ]
SHOW FULL COLUMNS FROM `stock_unitquantity` [ RunTime:0.001094s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 3826 ORDER BY `unit` DESC [ RunTime:0.000578s ]
SHOW FULL COLUMNS FROM `stock_warehousequantity` [ RunTime:0.002184s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 3826 LIMIT 2 [ RunTime:0.000619s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3826 ORDER BY `minOrder` ASC [ RunTime:0.000398s ]
SHOW FULL COLUMNS FROM `stock_pra_lib` [ RunTime:0.001128s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'AS179-92LF' OR `brand` LIKE 'SKYWORKS SOLUTIONS%' ) ) LIMIT 1 [ RunTime:0.001253s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 14950 LIMIT 5 [ RunTime:0.000337s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14950 ORDER BY `minOrder` ASC [ RunTime:0.000678s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 14950 ORDER BY `unit` DESC [ RunTime:0.000558s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 14950 LIMIT 2 [ RunTime:0.000531s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14950 ORDER BY `minOrder` ASC [ RunTime:0.000334s ]
select * from pdf where partno='ADG1434YCPZ-REEL7' and brandshort='ADI' limit 1 [ RunTime:0.002089s ]
select foldpath,foldpath2,filename from pdf_file where id=515914 limit 1 [ RunTime:0.000557s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'ADG1434YCPZ-REEL7' OR `brand` LIKE 'ADI%' ) ) LIMIT 1 [ RunTime:0.070335s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 16694 LIMIT 5 [ RunTime:0.000579s ]
SELECT * FROM `stock_price` WHERE `stockid` = 16694 ORDER BY `minOrder` ASC [ RunTime:0.003558s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 16694 ORDER BY `unit` DESC [ RunTime:0.000847s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 16694 LIMIT 2 [ RunTime:0.000784s ]
SELECT * FROM `stock_price` WHERE `stockid` = 16694 ORDER BY `minOrder` ASC [ RunTime:0.000582s ]
select * from pdf where partno='BGS14PN10E6327XTSA1' and brandshort='INFINEON' limit 1 [ RunTime:0.001612s ]
select foldpath,foldpath2,filename from pdf_file where id=1306793 limit 1 [ RunTime:0.003423s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'BGS14PN10E6327XTSA1' OR `brand` LIKE 'INFINEON%' ) ) LIMIT 1 [ RunTime:0.012223s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 16458 LIMIT 5 [ RunTime:0.000393s ]
SELECT * FROM `stock_price` WHERE `stockid` = 16458 ORDER BY `minOrder` ASC [ RunTime:0.000734s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 16458 ORDER BY `unit` DESC [ RunTime:0.000321s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 16458 LIMIT 2 [ RunTime:0.000421s ]
SELECT * FROM `stock_price` WHERE `stockid` = 16458 ORDER BY `minOrder` ASC [ RunTime:0.000344s ]
select * from pdf where partno='AS179-92LF' and brandshort='SKYWORKS SOLUTIONS' limit 1 [ RunTime:0.001606s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'AS179-92LF' OR `brand` LIKE 'SKYWORKS SOLUTIONS%' ) ) LIMIT 1 [ RunTime:0.000472s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 15675 LIMIT 5 [ RunTime:0.000303s ]
SELECT * FROM `stock_price` WHERE `stockid` = 15675 ORDER BY `minOrder` ASC [ RunTime:0.000717s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 15675 ORDER BY `unit` DESC [ RunTime:0.000454s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 15675 LIMIT 2 [ RunTime:0.000478s ]
SELECT * FROM `stock_price` WHERE `stockid` = 15675 ORDER BY `minOrder` ASC [ RunTime:0.000385s ]
select * from pdf where partno='BGS14PN10E6327XTSA1' and brandshort='INFINEON' limit 1 [ RunTime:0.000602s ]
select foldpath,foldpath2,filename from pdf_file where id=1306793 limit 1 [ RunTime:0.000277s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'BGS14PN10E6327XTSA1' OR `brand` LIKE 'INFINEON%' ) ) LIMIT 1 [ RunTime:0.005640s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 15438 LIMIT 5 [ RunTime:0.000342s ]
SELECT * FROM `stock_price` WHERE `stockid` = 15438 ORDER BY `minOrder` ASC [ RunTime:0.000811s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 15438 ORDER BY `unit` DESC [ RunTime:0.000340s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 15438 LIMIT 2 [ RunTime:0.000451s ]
SELECT * FROM `stock_price` WHERE `stockid` = 15438 ORDER BY `minOrder` ASC [ RunTime:0.000351s ]
select * from pdf where partno='AS179-92LF' and brandshort='SKYWORKS SOLUTIONS' limit 1 [ RunTime:0.000529s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'AS179-92LF' OR `brand` LIKE 'SKYWORKS SOLUTIONS%' ) ) LIMIT 1 [ RunTime:0.000436s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 10343 LIMIT 5 [ RunTime:0.000298s ]
SELECT * FROM `stock_price` WHERE `stockid` = 10343 ORDER BY `minOrder` ASC [ RunTime:0.000901s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 10343 ORDER BY `unit` DESC [ RunTime:0.000940s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 10343 LIMIT 2 [ RunTime:0.000577s ]
SELECT * FROM `stock_price` WHERE `stockid` = 10343 ORDER BY `minOrder` ASC [ RunTime:0.000364s ]
select * from pdf where partno='BGS14PN10E6327XTSA1' and brandshort='INFINEON' limit 1 [ RunTime:0.000509s ]
select foldpath,foldpath2,filename from pdf_file where id=1306793 limit 1 [ RunTime:0.000271s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'BGS14PN10E6327XTSA1' OR `brand` LIKE 'INFINEON%' ) ) LIMIT 1 [ RunTime:0.005612s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 11190 LIMIT 5 [ RunTime:0.000356s ]
SELECT * FROM `stock_price` WHERE `stockid` = 11190 ORDER BY `minOrder` ASC [ RunTime:0.000831s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 11190 ORDER BY `unit` DESC [ RunTime:0.002049s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 11190 LIMIT 2 [ RunTime:0.002685s ]
SELECT * FROM `stock_price` WHERE `stockid` = 11190 ORDER BY `minOrder` ASC [ RunTime:0.000334s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'F2914NBGK8' OR `brand` LIKE 'RENESAS%' ) ) LIMIT 1 [ RunTime:0.007952s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 13217 LIMIT 5 [ RunTime:0.000321s ]
SELECT * FROM `stock_price` WHERE `stockid` = 13217 ORDER BY `minOrder` ASC [ RunTime:0.000659s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 13217 ORDER BY `unit` DESC [ RunTime:0.001013s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 13217 LIMIT 2 [ RunTime:0.000577s ]
SELECT * FROM `stock_price` WHERE `stockid` = 13217 ORDER BY `minOrder` ASC [ RunTime:0.000331s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'HMC199AMS8E' OR `brand` LIKE 'ANALOG DEVICES%' ) ) LIMIT 1 [ RunTime:0.003576s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 13218 LIMIT 5 [ RunTime:0.000293s ]
SELECT * FROM `stock_price` WHERE `stockid` = 13218 ORDER BY `minOrder` ASC [ RunTime:0.000281s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 13218 ORDER BY `unit` DESC [ RunTime:0.000247s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 13218 LIMIT 2 [ RunTime:0.000240s ]
SELECT * FROM `stock_price` WHERE `stockid` = 13218 ORDER BY `minOrder` ASC [ RunTime:0.000290s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'HMC7992LP3DETR' OR `brand` LIKE 'ANALOG DEVICES%' ) ) LIMIT 1 [ RunTime:0.000675s ]
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` = '326' ) ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.000401s ]
SELECT brand, count(*) as count FROM ( SELECT `brand` FROM `stock` `s` WHERE ( `lockUser` = 0 AND `isDisplay` = 1 AND `s`.`categoryid` = '326' ) LIMIT 10 ) tmp GROUP BY `brand` [ RunTime:0.000540s ]