SHOW FULL COLUMNS FROM `visit_log` [ RunTime:0.002067s ]
INSERT INTO `visit_log` SET `ip` = '216.73.217.47' , `useragent` = 'Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)' , `reffer` = '' , `host` = 'https://www.ic118.com/category_525/1.html' [ RunTime:0.003278s ]
SHOW FULL COLUMNS FROM `product_type` [ RunTime:0.001342s ]
SELECT `id`,`typeid`,`name`,`typestr` FROM `product_type` WHERE `id` NOT IN (11,12,13,14,15) AND `id` <= 750 [ RunTime:0.004534s ]
SHOW FULL COLUMNS FROM `o_cart` [ RunTime:0.002408s ]
SELECT COUNT(*) AS think_count FROM `o_cart` WHERE ( `userId` = 0 AND `visitIP` = '216.73.217.47' ) [ RunTime:0.000746s ]
SHOW FULL COLUMNS FROM `ad` [ RunTime:0.002379s ]
SELECT * FROM `ad` WHERE `isDisplay` = 1 [ RunTime:0.000646s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `typeid` = 525 [ RunTime:0.000947s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `id` = 525 LIMIT 1 [ RunTime:0.000505s ]
SHOW FULL COLUMNS FROM `stock` [ RunTime:0.002424s ]
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` = '525' ) ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.001654s ]
SHOW FULL COLUMNS FROM `stock_pra` [ RunTime:0.001631s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 11649 LIMIT 5 [ RunTime:0.000321s ]
SHOW FULL COLUMNS FROM `stock_price` [ RunTime:0.001238s ]
SELECT * FROM `stock_price` WHERE `stockid` = 11649 ORDER BY `minOrder` ASC [ RunTime:0.000751s ]
SHOW FULL COLUMNS FROM `stock_unitquantity` [ RunTime:0.001213s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 11649 ORDER BY `unit` DESC [ RunTime:0.000580s ]
SHOW FULL COLUMNS FROM `stock_warehousequantity` [ RunTime:0.001264s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 11649 LIMIT 2 [ RunTime:0.000519s ]
SELECT * FROM `stock_price` WHERE `stockid` = 11649 ORDER BY `minOrder` ASC [ RunTime:0.000354s ]
SHOW FULL COLUMNS FROM `stock_pra_lib` [ RunTime:0.001184s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'MAX98400AETX+T' OR `brand` LIKE 'ANALOG DEVICES%' ) ) LIMIT 1 [ RunTime:0.000836s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 10845 LIMIT 5 [ RunTime:0.000313s ]
SELECT * FROM `stock_price` WHERE `stockid` = 10845 ORDER BY `minOrder` ASC [ RunTime:0.000646s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 10845 ORDER BY `unit` DESC [ RunTime:0.000995s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 10845 LIMIT 2 [ RunTime:0.002818s ]
SELECT * FROM `stock_price` WHERE `stockid` = 10845 ORDER BY `minOrder` ASC [ RunTime:0.000391s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'TDA7498ETR' OR `brand` LIKE 'STMICROELECTRONICS%' ) ) LIMIT 1 [ RunTime:0.005288s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 10884 LIMIT 5 [ RunTime:0.000359s ]
SELECT * FROM `stock_price` WHERE `stockid` = 10884 ORDER BY `minOrder` ASC [ RunTime:0.000492s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 10884 ORDER BY `unit` DESC [ RunTime:0.000375s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 10884 LIMIT 2 [ RunTime:0.000356s ]
SELECT * FROM `stock_price` WHERE `stockid` = 10884 ORDER BY `minOrder` ASC [ RunTime:0.000363s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'TDA7851A' OR `brand` LIKE 'STMICROELECTRONICS%' ) ) LIMIT 1 [ RunTime:0.000547s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 11426 LIMIT 5 [ RunTime:0.000347s ]
SELECT * FROM `stock_price` WHERE `stockid` = 11426 ORDER BY `minOrder` ASC [ RunTime:0.002852s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 11426 ORDER BY `unit` DESC [ RunTime:0.000358s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 11426 LIMIT 2 [ RunTime:0.000465s ]
SELECT * FROM `stock_price` WHERE `stockid` = 11426 ORDER BY `minOrder` ASC [ RunTime:0.000407s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'TDA7498MVTR' OR `brand` LIKE 'STMICROELECTRONICS%' ) ) LIMIT 1 [ RunTime:0.000678s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 10196 LIMIT 5 [ RunTime:0.000347s ]
SELECT * FROM `stock_price` WHERE `stockid` = 10196 ORDER BY `minOrder` ASC [ RunTime:0.000715s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 10196 ORDER BY `unit` DESC [ RunTime:0.000475s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 10196 LIMIT 2 [ RunTime:0.000461s ]
SELECT * FROM `stock_price` WHERE `stockid` = 10196 ORDER BY `minOrder` ASC [ RunTime:0.000392s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'BD28623MUV-E2' OR `brand` LIKE 'ROHM%' ) ) LIMIT 1 [ RunTime:0.003033s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 11036 LIMIT 5 [ RunTime:0.000346s ]
SELECT * FROM `stock_price` WHERE `stockid` = 11036 ORDER BY `minOrder` ASC [ RunTime:0.000585s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 11036 ORDER BY `unit` DESC [ RunTime:0.000355s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 11036 LIMIT 2 [ RunTime:0.000341s ]
SELECT * FROM `stock_price` WHERE `stockid` = 11036 ORDER BY `minOrder` ASC [ RunTime:0.000388s ]
select * from pdf where partno='REFAUDIOAMA12070TOBO1' and brandshort='INFINEON' limit 1 [ RunTime:0.000927s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'REFAUDIOAMA12070TOBO1' OR `brand` LIKE 'INFINEON%' ) ) LIMIT 1 [ RunTime:0.009838s ]
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` = '525' ) ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.000496s ]
SELECT brand, count(*) as count FROM ( SELECT `brand` FROM `stock` `s` WHERE ( `lockUser` = 0 AND `isDisplay` = 1 AND `s`.`categoryid` = '525' ) LIMIT 6 ) tmp GROUP BY `brand` [ RunTime:0.000554s ]