SHOW FULL COLUMNS FROM `visit_log` [ RunTime:0.002632s ]
INSERT INTO `visit_log` SET `ip` = '216.73.217.70' , `useragent` = 'Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)' , `reffer` = '' , `host` = 'https://www.ic118.com/category_326/1.html' [ RunTime:0.025353s ]
SHOW FULL COLUMNS FROM `product_type` [ RunTime:0.001522s ]
SELECT `id`,`typeid`,`name`,`typestr` FROM `product_type` WHERE `id` NOT IN (11,12,13,14,15) AND `id` <= 750 [ RunTime:0.004358s ]
SHOW FULL COLUMNS FROM `o_cart` [ RunTime:0.002768s ]
SELECT COUNT(*) AS think_count FROM `o_cart` WHERE ( `userId` = 0 AND `visitIP` = '216.73.217.70' ) [ RunTime:0.005848s ]
SHOW FULL COLUMNS FROM `ad` [ RunTime:0.002316s ]
SELECT * FROM `ad` WHERE `isDisplay` = 1 [ RunTime:0.003968s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `typeid` = 326 [ RunTime:0.006728s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `id` = 326 LIMIT 1 [ RunTime:0.003471s ]
SHOW FULL COLUMNS FROM `stock` [ RunTime:0.004369s ]
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.020800s ]
SHOW FULL COLUMNS FROM `stock_pra` [ RunTime:0.006224s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 3826 LIMIT 5 [ RunTime:0.011501s ]
SHOW FULL COLUMNS FROM `stock_price` [ RunTime:0.003258s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3826 ORDER BY `minOrder` ASC [ RunTime:0.006370s ]
SHOW FULL COLUMNS FROM `stock_unitquantity` [ RunTime:0.001286s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 3826 ORDER BY `unit` DESC [ RunTime:0.001789s ]
SHOW FULL COLUMNS FROM `stock_warehousequantity` [ RunTime:0.007045s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 3826 LIMIT 2 [ RunTime:0.001666s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3826 ORDER BY `minOrder` ASC [ RunTime:0.000350s ]
SHOW FULL COLUMNS FROM `stock_pra_lib` [ RunTime:0.001899s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'AS179-92LF' OR `brand` LIKE 'SKYWORKS SOLUTIONS%' ) ) LIMIT 1 [ RunTime:0.000931s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 14950 LIMIT 5 [ RunTime:0.005101s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14950 ORDER BY `minOrder` ASC [ RunTime:0.000563s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 14950 ORDER BY `unit` DESC [ RunTime:0.001158s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 14950 LIMIT 2 [ RunTime:0.018087s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14950 ORDER BY `minOrder` ASC [ RunTime:0.005763s ]
select * from pdf where partno='ADG1434YCPZ-REEL7' and brandshort='ADI' limit 1 [ RunTime:0.014389s ]
select foldpath,foldpath2,filename from pdf_file where id=515914 limit 1 [ RunTime:0.011796s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'ADG1434YCPZ-REEL7' OR `brand` LIKE 'ADI%' ) ) LIMIT 1 [ RunTime:0.031888s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 16694 LIMIT 5 [ RunTime:0.022865s ]
SELECT * FROM `stock_price` WHERE `stockid` = 16694 ORDER BY `minOrder` ASC [ RunTime:0.047897s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 16694 ORDER BY `unit` DESC [ RunTime:0.036831s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 16694 LIMIT 2 [ RunTime:0.043651s ]
SELECT * FROM `stock_price` WHERE `stockid` = 16694 ORDER BY `minOrder` ASC [ RunTime:0.021305s ]
select * from pdf where partno='BGS14PN10E6327XTSA1' and brandshort='INFINEON' limit 1 [ RunTime:0.018329s ]
select foldpath,foldpath2,filename from pdf_file where id=1306793 limit 1 [ RunTime:0.005511s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'BGS14PN10E6327XTSA1' OR `brand` LIKE 'INFINEON%' ) ) LIMIT 1 [ RunTime:0.017063s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 16458 LIMIT 5 [ RunTime:0.005264s ]
SELECT * FROM `stock_price` WHERE `stockid` = 16458 ORDER BY `minOrder` ASC [ RunTime:0.012694s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 16458 ORDER BY `unit` DESC [ RunTime:0.017840s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 16458 LIMIT 2 [ RunTime:0.001847s ]
SELECT * FROM `stock_price` WHERE `stockid` = 16458 ORDER BY `minOrder` ASC [ RunTime:0.008522s ]
select * from pdf where partno='AS179-92LF' and brandshort='SKYWORKS SOLUTIONS' limit 1 [ RunTime:0.018893s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'AS179-92LF' OR `brand` LIKE 'SKYWORKS SOLUTIONS%' ) ) LIMIT 1 [ RunTime:0.011151s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 15675 LIMIT 5 [ RunTime:0.002228s ]
SELECT * FROM `stock_price` WHERE `stockid` = 15675 ORDER BY `minOrder` ASC [ RunTime:0.016925s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 15675 ORDER BY `unit` DESC [ RunTime:0.012225s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 15675 LIMIT 2 [ RunTime:0.003435s ]
SELECT * FROM `stock_price` WHERE `stockid` = 15675 ORDER BY `minOrder` ASC [ RunTime:0.010732s ]
select * from pdf where partno='BGS14PN10E6327XTSA1' and brandshort='INFINEON' limit 1 [ RunTime:0.010329s ]
select foldpath,foldpath2,filename from pdf_file where id=1306793 limit 1 [ RunTime:0.009912s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'BGS14PN10E6327XTSA1' OR `brand` LIKE 'INFINEON%' ) ) LIMIT 1 [ RunTime:0.002381s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 15438 LIMIT 5 [ RunTime:0.006624s ]
SELECT * FROM `stock_price` WHERE `stockid` = 15438 ORDER BY `minOrder` ASC [ RunTime:0.033220s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 15438 ORDER BY `unit` DESC [ RunTime:0.007323s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 15438 LIMIT 2 [ RunTime:0.022095s ]
SELECT * FROM `stock_price` WHERE `stockid` = 15438 ORDER BY `minOrder` ASC [ RunTime:0.006698s ]
select * from pdf where partno='AS179-92LF' and brandshort='SKYWORKS SOLUTIONS' limit 1 [ RunTime:0.010052s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'AS179-92LF' OR `brand` LIKE 'SKYWORKS SOLUTIONS%' ) ) LIMIT 1 [ RunTime:0.004799s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 10343 LIMIT 5 [ RunTime:0.011899s ]
SELECT * FROM `stock_price` WHERE `stockid` = 10343 ORDER BY `minOrder` ASC [ RunTime:0.002445s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 10343 ORDER BY `unit` DESC [ RunTime:0.014578s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 10343 LIMIT 2 [ RunTime:0.010490s ]
SELECT * FROM `stock_price` WHERE `stockid` = 10343 ORDER BY `minOrder` ASC [ RunTime:0.000526s ]
select * from pdf where partno='BGS14PN10E6327XTSA1' and brandshort='INFINEON' limit 1 [ RunTime:0.003256s ]
select foldpath,foldpath2,filename from pdf_file where id=1306793 limit 1 [ RunTime:0.005986s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'BGS14PN10E6327XTSA1' OR `brand` LIKE 'INFINEON%' ) ) LIMIT 1 [ RunTime:0.009923s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 11190 LIMIT 5 [ RunTime:0.018352s ]
SELECT * FROM `stock_price` WHERE `stockid` = 11190 ORDER BY `minOrder` ASC [ RunTime:0.017925s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 11190 ORDER BY `unit` DESC [ RunTime:0.063086s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 11190 LIMIT 2 [ RunTime:0.041667s ]
SELECT * FROM `stock_price` WHERE `stockid` = 11190 ORDER BY `minOrder` ASC [ RunTime:0.013302s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'F2914NBGK8' OR `brand` LIKE 'RENESAS%' ) ) LIMIT 1 [ RunTime:0.049227s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 13217 LIMIT 5 [ RunTime:0.026290s ]
SELECT * FROM `stock_price` WHERE `stockid` = 13217 ORDER BY `minOrder` ASC [ RunTime:0.098235s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 13217 ORDER BY `unit` DESC [ RunTime:0.053384s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 13217 LIMIT 2 [ RunTime:0.035911s ]
SELECT * FROM `stock_price` WHERE `stockid` = 13217 ORDER BY `minOrder` ASC [ RunTime:0.016094s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'HMC199AMS8E' OR `brand` LIKE 'ANALOG DEVICES%' ) ) LIMIT 1 [ RunTime:0.045653s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 13218 LIMIT 5 [ RunTime:0.081971s ]
SELECT * FROM `stock_price` WHERE `stockid` = 13218 ORDER BY `minOrder` ASC [ RunTime:0.133203s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 13218 ORDER BY `unit` DESC [ RunTime:0.043489s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 13218 LIMIT 2 [ RunTime:0.132553s ]
SELECT * FROM `stock_price` WHERE `stockid` = 13218 ORDER BY `minOrder` ASC [ RunTime:0.082607s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'HMC7992LP3DETR' OR `brand` LIKE 'ANALOG DEVICES%' ) ) LIMIT 1 [ RunTime:0.032614s ]
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.046236s ]
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.052616s ]