SHOW FULL COLUMNS FROM `visit_log` [ RunTime:0.004059s ]
INSERT INTO `visit_log` SET `ip` = '216.73.217.74' , `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.003602s ]
SHOW FULL COLUMNS FROM `product_type` [ RunTime:0.002258s ]
SELECT `id`,`typeid`,`name`,`typestr` FROM `product_type` WHERE `id` NOT IN (11,12,13,14,15) AND `id` <= 750 [ RunTime:0.003277s ]
SHOW FULL COLUMNS FROM `o_cart` [ RunTime:0.002121s ]
SELECT COUNT(*) AS think_count FROM `o_cart` WHERE ( `userId` = 0 AND `visitIP` = '216.73.217.74' ) [ RunTime:0.000620s ]
SHOW FULL COLUMNS FROM `ad` [ RunTime:0.002351s ]
SELECT * FROM `ad` WHERE `isDisplay` = 1 [ RunTime:0.000603s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `typeid` = 525 [ RunTime:0.000831s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `id` = 525 LIMIT 1 [ RunTime:0.000416s ]
SHOW FULL COLUMNS FROM `stock` [ RunTime:0.002846s ]
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.001008s ]
SHOW FULL COLUMNS FROM `stock_pra` [ RunTime:0.002152s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 11649 LIMIT 5 [ RunTime:0.000512s ]
SHOW FULL COLUMNS FROM `stock_price` [ RunTime:0.002915s ]
SELECT * FROM `stock_price` WHERE `stockid` = 11649 ORDER BY `minOrder` ASC [ RunTime:0.000829s ]
SHOW FULL COLUMNS FROM `stock_unitquantity` [ RunTime:0.001418s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 11649 ORDER BY `unit` DESC [ RunTime:0.001026s ]
SHOW FULL COLUMNS FROM `stock_warehousequantity` [ RunTime:0.002676s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 11649 LIMIT 2 [ RunTime:0.000717s ]
SELECT * FROM `stock_price` WHERE `stockid` = 11649 ORDER BY `minOrder` ASC [ RunTime:0.000818s ]
SHOW FULL COLUMNS FROM `stock_pra_lib` [ RunTime:0.002247s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'MAX98400AETX+T' OR `brand` LIKE 'ANALOG DEVICES%' ) ) LIMIT 1 [ RunTime:0.001951s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 10845 LIMIT 5 [ RunTime:0.000691s ]
SELECT * FROM `stock_price` WHERE `stockid` = 10845 ORDER BY `minOrder` ASC [ RunTime:0.000900s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 10845 ORDER BY `unit` DESC [ RunTime:0.000739s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 10845 LIMIT 2 [ RunTime:0.001394s ]
SELECT * FROM `stock_price` WHERE `stockid` = 10845 ORDER BY `minOrder` ASC [ RunTime:0.000584s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'TDA7498ETR' OR `brand` LIKE 'STMICROELECTRONICS%' ) ) LIMIT 1 [ RunTime:0.002922s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 10884 LIMIT 5 [ RunTime:0.000586s ]
SELECT * FROM `stock_price` WHERE `stockid` = 10884 ORDER BY `minOrder` ASC [ RunTime:0.000520s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 10884 ORDER BY `unit` DESC [ RunTime:0.000553s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 10884 LIMIT 2 [ RunTime:0.000531s ]
SELECT * FROM `stock_price` WHERE `stockid` = 10884 ORDER BY `minOrder` ASC [ RunTime:0.000599s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'TDA7851A' OR `brand` LIKE 'STMICROELECTRONICS%' ) ) LIMIT 1 [ RunTime:0.001405s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 11426 LIMIT 5 [ RunTime:0.000588s ]
SELECT * FROM `stock_price` WHERE `stockid` = 11426 ORDER BY `minOrder` ASC [ RunTime:0.000940s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 11426 ORDER BY `unit` DESC [ RunTime:0.000557s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 11426 LIMIT 2 [ RunTime:0.000764s ]
SELECT * FROM `stock_price` WHERE `stockid` = 11426 ORDER BY `minOrder` ASC [ RunTime:0.000654s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'TDA7498MVTR' OR `brand` LIKE 'STMICROELECTRONICS%' ) ) LIMIT 1 [ RunTime:0.001313s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 10196 LIMIT 5 [ RunTime:0.000560s ]
SELECT * FROM `stock_price` WHERE `stockid` = 10196 ORDER BY `minOrder` ASC [ RunTime:0.001085s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 10196 ORDER BY `unit` DESC [ RunTime:0.000753s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 10196 LIMIT 2 [ RunTime:0.000663s ]
SELECT * FROM `stock_price` WHERE `stockid` = 10196 ORDER BY `minOrder` ASC [ RunTime:0.000638s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'BD28623MUV-E2' OR `brand` LIKE 'ROHM%' ) ) LIMIT 1 [ RunTime:0.004291s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 11036 LIMIT 5 [ RunTime:0.000375s ]
SELECT * FROM `stock_price` WHERE `stockid` = 11036 ORDER BY `minOrder` ASC [ RunTime:0.000525s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 11036 ORDER BY `unit` DESC [ RunTime:0.000283s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 11036 LIMIT 2 [ RunTime:0.000261s ]
SELECT * FROM `stock_price` WHERE `stockid` = 11036 ORDER BY `minOrder` ASC [ RunTime:0.000358s ]
select * from pdf where partno='REFAUDIOAMA12070TOBO1' and brandshort='INFINEON' limit 1 [ RunTime:0.002453s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'REFAUDIOAMA12070TOBO1' OR `brand` LIKE 'INFINEON%' ) ) LIMIT 1 [ RunTime:0.010090s ]
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.000551s ]
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.000765s ]