SHOW FULL COLUMNS FROM `visit_log` [ RunTime:0.001928s ]
INSERT INTO `visit_log` SET `ip` = '216.73.216.246' , `useragent` = 'Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)' , `reffer` = '' , `host` = 'https://www.ic118.com/stock?typeid=309' [ RunTime:0.002337s ]
SHOW FULL COLUMNS FROM `product_type` [ RunTime:0.002019s ]
SELECT `id`,`typeid`,`name`,`typestr` FROM `product_type` WHERE `id` NOT IN (11,12,13,14,15) AND `id` <= 750 [ RunTime:0.003256s ]
SHOW FULL COLUMNS FROM `o_cart` [ RunTime:0.001416s ]
SELECT COUNT(*) AS think_count FROM `o_cart` WHERE ( `userId` = 0 AND `visitIP` = '216.73.216.246' ) [ RunTime:0.000434s ]
SHOW FULL COLUMNS FROM `ad` [ RunTime:0.001384s ]
SELECT * FROM `ad` WHERE `isDisplay` = 1 [ RunTime:0.000438s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `typeid` = 309 [ RunTime:0.000383s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `id` = 309 LIMIT 1 [ RunTime:0.000292s ]
SHOW FULL COLUMNS FROM `stock` [ RunTime:0.002391s ]
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.000778s ]
SHOW FULL COLUMNS FROM `stock_pra` [ RunTime:0.001470s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 3478 LIMIT 5 [ RunTime:0.000325s ]
SHOW FULL COLUMNS FROM `stock_price` [ RunTime:0.001519s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3478 ORDER BY `minOrder` ASC [ RunTime:0.000385s ]
SHOW FULL COLUMNS FROM `stock_unitquantity` [ RunTime:0.002130s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 3478 ORDER BY `unit` DESC [ RunTime:0.000354s ]
SHOW FULL COLUMNS FROM `stock_warehousequantity` [ RunTime:0.001236s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 3478 LIMIT 2 [ RunTime:0.000300s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3478 ORDER BY `minOrder` ASC [ RunTime:0.000825s ]
SHOW FULL COLUMNS FROM `stock_pra_lib` [ RunTime:0.001608s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'MCP4651-103E/ST' OR `brand` LIKE 'MICROCHIP%' ) ) LIMIT 1 [ RunTime:0.015103s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 16558 LIMIT 5 [ RunTime:0.000318s ]
SELECT * FROM `stock_price` WHERE `stockid` = 16558 ORDER BY `minOrder` ASC [ RunTime:0.000655s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 16558 ORDER BY `unit` DESC [ RunTime:0.000554s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 16558 LIMIT 2 [ RunTime:0.000510s ]
SELECT * FROM `stock_price` WHERE `stockid` = 16558 ORDER BY `minOrder` ASC [ RunTime:0.000298s ]
select * from pdf where partno='MCP4651-103E/ST' and brandshort='MICROCHIP' limit 1 [ RunTime:0.002010s ]
select foldpath,foldpath2,filename from pdf_file where id=1007320 limit 1 [ RunTime:0.000763s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'MCP4651-103E/ST' OR `brand` LIKE 'MICROCHIP%' ) ) LIMIT 1 [ RunTime:0.021207s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 15538 LIMIT 5 [ RunTime:0.000711s ]
SELECT * FROM `stock_price` WHERE `stockid` = 15538 ORDER BY `minOrder` ASC [ RunTime:0.001108s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 15538 ORDER BY `unit` DESC [ RunTime:0.000692s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 15538 LIMIT 2 [ RunTime:0.000752s ]
SELECT * FROM `stock_price` WHERE `stockid` = 15538 ORDER BY `minOrder` ASC [ RunTime:0.000723s ]
select * from pdf where partno='MCP4651-103E/ST' and brandshort='MICROCHIP' limit 1 [ RunTime:0.000528s ]
select foldpath,foldpath2,filename from pdf_file where id=1007320 limit 1 [ RunTime:0.000289s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'MCP4651-103E/ST' OR `brand` LIKE 'MICROCHIP%' ) ) LIMIT 1 [ RunTime:0.027140s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 4191 LIMIT 5 [ RunTime:0.000627s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4191 ORDER BY `minOrder` ASC [ RunTime:0.001106s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 4191 ORDER BY `unit` DESC [ RunTime:0.000637s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 4191 LIMIT 2 [ RunTime:0.000711s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4191 ORDER BY `minOrder` ASC [ RunTime:0.000553s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'MCP40D17T-103E/LT' OR `brand` LIKE 'MICROCHIP%' ) ) LIMIT 1 [ RunTime:0.020698s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 3688 LIMIT 5 [ RunTime:0.000466s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3688 ORDER BY `minOrder` ASC [ RunTime:0.000560s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 3688 ORDER BY `unit` DESC [ RunTime:0.000405s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 3688 LIMIT 2 [ RunTime:0.000978s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3688 ORDER BY `minOrder` ASC [ RunTime:0.000641s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'MCP4017T-103E/LT' OR `brand` LIKE 'MICROCHIP%' ) ) LIMIT 1 [ RunTime:0.012739s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 4192 LIMIT 5 [ RunTime:0.000332s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4192 ORDER BY `minOrder` ASC [ RunTime:0.000353s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 4192 ORDER BY `unit` DESC [ RunTime:0.000298s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 4192 LIMIT 2 [ RunTime:0.000290s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4192 ORDER BY `minOrder` ASC [ RunTime:0.000302s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'MCP40D18T-502E/LT' OR `brand` LIKE 'MICROCHIP%' ) ) LIMIT 1 [ RunTime:0.008429s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 4472 LIMIT 5 [ RunTime:0.000627s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4472 ORDER BY `minOrder` ASC [ RunTime:0.001504s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 4472 ORDER BY `unit` DESC [ RunTime:0.000652s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 4472 LIMIT 2 [ RunTime:0.000296s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4472 ORDER BY `minOrder` ASC [ RunTime:0.000310s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'MCP4652-104E/UN' OR `brand` LIKE 'MICROCHIP%' ) ) LIMIT 1 [ RunTime:0.008846s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 4432 LIMIT 5 [ RunTime:0.000357s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4432 ORDER BY `minOrder` ASC [ RunTime:0.000504s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 4432 ORDER BY `unit` DESC [ RunTime:0.000290s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 4432 LIMIT 2 [ RunTime:0.000276s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4432 ORDER BY `minOrder` ASC [ RunTime:0.000306s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'MCP4011-202E/SN' OR `brand` LIKE 'MICROCHIP%' ) ) LIMIT 1 [ RunTime:0.008779s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 4473 LIMIT 5 [ RunTime:0.000289s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4473 ORDER BY `minOrder` ASC [ RunTime:0.000308s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 4473 ORDER BY `unit` DESC [ RunTime:0.000286s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 4473 LIMIT 2 [ RunTime:0.000272s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4473 ORDER BY `minOrder` ASC [ RunTime:0.000296s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'MCP4151-103E/SN' OR `brand` LIKE 'MICROCHIP%' ) ) LIMIT 1 [ RunTime:0.009115s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 3479 LIMIT 5 [ RunTime:0.000379s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3479 ORDER BY `minOrder` ASC [ RunTime:0.000340s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 3479 ORDER BY `unit` DESC [ RunTime:0.000309s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 3479 LIMIT 2 [ RunTime:0.000292s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3479 ORDER BY `minOrder` ASC [ RunTime:0.000321s ]
select * from pdf where partno='MCP4661-103E/ST' and brandshort='MICROCHIP' limit 1 [ RunTime:0.002232s ]
select foldpath,foldpath2,filename from pdf_file where id=1007323 limit 1 [ RunTime:0.000270s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'MCP4661-103E/ST' OR `brand` LIKE 'MICROCHIP%' ) ) LIMIT 1 [ RunTime:0.008750s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 7985 LIMIT 5 [ RunTime:0.000400s ]
SELECT * FROM `stock_price` WHERE `stockid` = 7985 ORDER BY `minOrder` ASC [ RunTime:0.000689s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 7985 ORDER BY `unit` DESC [ RunTime:0.002579s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 7985 LIMIT 2 [ RunTime:0.001035s ]
SELECT * FROM `stock_price` WHERE `stockid` = 7985 ORDER BY `minOrder` ASC [ RunTime:0.000666s ]
select * from pdf where partno='DS1881E-050+' and brandshort='ANALOG DEVICES' limit 1 [ RunTime:0.001811s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'DS1881E-050+' OR `brand` LIKE 'ANALOG DEVICES%' ) ) LIMIT 1 [ RunTime:0.001314s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 10299 LIMIT 5 [ RunTime:0.000526s ]
SELECT * FROM `stock_price` WHERE `stockid` = 10299 ORDER BY `minOrder` ASC [ RunTime:0.001741s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 10299 ORDER BY `unit` DESC [ RunTime:0.001079s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 10299 LIMIT 2 [ RunTime:0.000809s ]
SELECT * FROM `stock_price` WHERE `stockid` = 10299 ORDER BY `minOrder` ASC [ RunTime:0.000626s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'X95820WV14IZ-2.7T1' OR `brand` LIKE 'RENESAS%' ) ) LIMIT 1 [ RunTime:0.007878s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 3557 LIMIT 5 [ RunTime:0.000349s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3557 ORDER BY `minOrder` ASC [ RunTime:0.000332s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 3557 ORDER BY `unit` DESC [ RunTime:0.000286s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 3557 LIMIT 2 [ RunTime:0.000278s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3557 ORDER BY `minOrder` ASC [ RunTime:0.000340s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'MCP4551-103E/MS' OR `brand` LIKE 'MICROCHIP%' ) ) LIMIT 1 [ RunTime:0.009685s ]
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.000480s ]
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.000522s ]