SHOW FULL COLUMNS FROM `visit_log` [ RunTime:0.003647s ]
INSERT INTO `visit_log` SET `ip` = '216.73.217.116' , `useragent` = 'Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)' , `reffer` = '' , `host` = 'https://www.ic118.com/category_309/1.html' [ RunTime:0.003118s ]
SHOW FULL COLUMNS FROM `product_type` [ RunTime:0.001811s ]
SELECT `id`,`typeid`,`name`,`typestr` FROM `product_type` WHERE `id` NOT IN (11,12,13,14,15) AND `id` <= 750 [ RunTime:0.000490s ]
SHOW FULL COLUMNS FROM `o_cart` [ RunTime:0.002067s ]
SELECT COUNT(*) AS think_count FROM `o_cart` WHERE ( `userId` = 0 AND `visitIP` = '216.73.217.116' ) [ RunTime:0.000326s ]
SHOW FULL COLUMNS FROM `ad` [ RunTime:0.001940s ]
SELECT * FROM `ad` WHERE `isDisplay` = 1 [ RunTime:0.001217s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `typeid` = 309 [ RunTime:0.000665s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `id` = 309 LIMIT 1 [ RunTime:0.007538s ]
SHOW FULL COLUMNS FROM `stock` [ RunTime:0.002090s ]
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` = '309' ) ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.007796s ]
SHOW FULL COLUMNS FROM `stock_pra` [ RunTime:0.001376s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 3478 LIMIT 5 [ RunTime:0.005333s ]
SHOW FULL COLUMNS FROM `stock_price` [ RunTime:0.001165s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3478 ORDER BY `minOrder` ASC [ RunTime:0.000452s ]
SHOW FULL COLUMNS FROM `stock_unitquantity` [ RunTime:0.002620s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 3478 ORDER BY `unit` DESC [ RunTime:0.005591s ]
SHOW FULL COLUMNS FROM `stock_warehousequantity` [ RunTime:0.001055s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 3478 LIMIT 2 [ RunTime:0.009341s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3478 ORDER BY `minOrder` ASC [ RunTime:0.002343s ]
SHOW FULL COLUMNS FROM `stock_pra_lib` [ RunTime:0.001063s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'MCP4651-103E/ST' OR `brand` LIKE 'MICROCHIP%' ) ) LIMIT 1 [ RunTime:0.017144s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 16558 LIMIT 5 [ RunTime:0.003798s ]
SELECT * FROM `stock_price` WHERE `stockid` = 16558 ORDER BY `minOrder` ASC [ RunTime:0.000491s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 16558 ORDER BY `unit` DESC [ RunTime:0.002288s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 16558 LIMIT 2 [ RunTime:0.003542s ]
SELECT * FROM `stock_price` WHERE `stockid` = 16558 ORDER BY `minOrder` ASC [ RunTime:0.000728s ]
select * from pdf where partno='MCP4651-103E/ST' and brandshort='MICROCHIP' limit 1 [ RunTime:0.018269s ]
select foldpath,foldpath2,filename from pdf_file where id=1007320 limit 1 [ RunTime:0.006304s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'MCP4651-103E/ST' OR `brand` LIKE 'MICROCHIP%' ) ) LIMIT 1 [ RunTime:0.004523s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 15538 LIMIT 5 [ RunTime:0.001531s ]
SELECT * FROM `stock_price` WHERE `stockid` = 15538 ORDER BY `minOrder` ASC [ RunTime:0.010504s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 15538 ORDER BY `unit` DESC [ RunTime:0.011796s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 15538 LIMIT 2 [ RunTime:0.000705s ]
SELECT * FROM `stock_price` WHERE `stockid` = 15538 ORDER BY `minOrder` ASC [ RunTime:0.001897s ]
select * from pdf where partno='MCP4651-103E/ST' and brandshort='MICROCHIP' limit 1 [ RunTime:0.006776s ]
select foldpath,foldpath2,filename from pdf_file where id=1007320 limit 1 [ RunTime:0.000383s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'MCP4651-103E/ST' OR `brand` LIKE 'MICROCHIP%' ) ) LIMIT 1 [ RunTime:0.002378s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 4191 LIMIT 5 [ RunTime:0.005141s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4191 ORDER BY `minOrder` ASC [ RunTime:0.009182s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 4191 ORDER BY `unit` DESC [ RunTime:0.004134s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 4191 LIMIT 2 [ RunTime:0.006832s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4191 ORDER BY `minOrder` ASC [ RunTime:0.021888s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'MCP40D17T-103E/LT' OR `brand` LIKE 'MICROCHIP%' ) ) LIMIT 1 [ RunTime:0.037382s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 3688 LIMIT 5 [ RunTime:0.009218s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3688 ORDER BY `minOrder` ASC [ RunTime:0.011928s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 3688 ORDER BY `unit` DESC [ RunTime:0.002419s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 3688 LIMIT 2 [ RunTime:0.002014s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3688 ORDER BY `minOrder` ASC [ RunTime:0.011549s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'MCP4017T-103E/LT' OR `brand` LIKE 'MICROCHIP%' ) ) LIMIT 1 [ RunTime:0.022163s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 4192 LIMIT 5 [ RunTime:0.012857s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4192 ORDER BY `minOrder` ASC [ RunTime:0.035781s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 4192 ORDER BY `unit` DESC [ RunTime:0.013230s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 4192 LIMIT 2 [ RunTime:0.002723s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4192 ORDER BY `minOrder` ASC [ RunTime:0.010880s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'MCP40D18T-502E/LT' OR `brand` LIKE 'MICROCHIP%' ) ) LIMIT 1 [ RunTime:0.023649s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 4472 LIMIT 5 [ RunTime:0.000965s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4472 ORDER BY `minOrder` ASC [ RunTime:0.014765s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 4472 ORDER BY `unit` DESC [ RunTime:0.001012s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 4472 LIMIT 2 [ RunTime:0.001857s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4472 ORDER BY `minOrder` ASC [ RunTime:0.010703s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'MCP4652-104E/UN' OR `brand` LIKE 'MICROCHIP%' ) ) LIMIT 1 [ RunTime:0.028874s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 4432 LIMIT 5 [ RunTime:0.000974s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4432 ORDER BY `minOrder` ASC [ RunTime:0.015285s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 4432 ORDER BY `unit` DESC [ RunTime:0.001048s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 4432 LIMIT 2 [ RunTime:0.004700s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4432 ORDER BY `minOrder` ASC [ RunTime:0.000505s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'MCP4011-202E/SN' OR `brand` LIKE 'MICROCHIP%' ) ) LIMIT 1 [ RunTime:0.012728s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 4473 LIMIT 5 [ RunTime:0.011614s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4473 ORDER BY `minOrder` ASC [ RunTime:0.001138s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 4473 ORDER BY `unit` DESC [ RunTime:0.002431s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 4473 LIMIT 2 [ RunTime:0.012498s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4473 ORDER BY `minOrder` ASC [ RunTime:0.000380s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'MCP4151-103E/SN' OR `brand` LIKE 'MICROCHIP%' ) ) LIMIT 1 [ RunTime:0.021132s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 3479 LIMIT 5 [ RunTime:0.005817s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3479 ORDER BY `minOrder` ASC [ RunTime:0.001836s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 3479 ORDER BY `unit` DESC [ RunTime:0.008224s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 3479 LIMIT 2 [ RunTime:0.004003s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3479 ORDER BY `minOrder` ASC [ RunTime:0.000705s ]
select * from pdf where partno='MCP4661-103E/ST' and brandshort='MICROCHIP' limit 1 [ RunTime:0.002474s ]
select foldpath,foldpath2,filename from pdf_file where id=1007323 limit 1 [ RunTime:0.008877s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'MCP4661-103E/ST' OR `brand` LIKE 'MICROCHIP%' ) ) LIMIT 1 [ RunTime:0.018943s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 7985 LIMIT 5 [ RunTime:0.012224s ]
SELECT * FROM `stock_price` WHERE `stockid` = 7985 ORDER BY `minOrder` ASC [ RunTime:0.028857s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 7985 ORDER BY `unit` DESC [ RunTime:0.001965s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 7985 LIMIT 2 [ RunTime:0.001408s ]
SELECT * FROM `stock_price` WHERE `stockid` = 7985 ORDER BY `minOrder` ASC [ RunTime:0.000300s ]
select * from pdf where partno='DS1881E-050+' and brandshort='ANALOG DEVICES' limit 1 [ RunTime:0.007749s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'DS1881E-050+' OR `brand` LIKE 'ANALOG DEVICES%' ) ) LIMIT 1 [ RunTime:0.016459s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 10299 LIMIT 5 [ RunTime:0.014282s ]
SELECT * FROM `stock_price` WHERE `stockid` = 10299 ORDER BY `minOrder` ASC [ RunTime:0.017862s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 10299 ORDER BY `unit` DESC [ RunTime:0.009013s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 10299 LIMIT 2 [ RunTime:0.037654s ]
SELECT * FROM `stock_price` WHERE `stockid` = 10299 ORDER BY `minOrder` ASC [ RunTime:0.019602s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'X95820WV14IZ-2.7T1' OR `brand` LIKE 'RENESAS%' ) ) LIMIT 1 [ RunTime:0.049655s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 3557 LIMIT 5 [ RunTime:0.007807s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3557 ORDER BY `minOrder` ASC [ RunTime:0.005939s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 3557 ORDER BY `unit` DESC [ RunTime:0.018275s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 3557 LIMIT 2 [ RunTime:0.033462s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3557 ORDER BY `minOrder` ASC [ RunTime:0.002526s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'MCP4551-103E/MS' OR `brand` LIKE 'MICROCHIP%' ) ) LIMIT 1 [ RunTime:0.028249s ]
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` = '309' ) ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.011719s ]
SELECT brand, count(*) as count FROM ( SELECT `brand` FROM `stock` `s` WHERE ( `lockUser` = 0 AND `isDisplay` = 1 AND `s`.`categoryid` = '309' ) LIMIT 13 ) tmp GROUP BY `brand` [ RunTime:0.022904s ]