SHOW FULL COLUMNS FROM `visit_log` [ RunTime:0.002350s ]
INSERT INTO `visit_log` SET `ip` = '216.73.216.163' , `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=711' [ RunTime:0.003668s ]
SHOW FULL COLUMNS FROM `product_type` [ RunTime:0.001901s ]
SELECT `id`,`typeid`,`name`,`typestr` FROM `product_type` WHERE `id` NOT IN (11,12,13,14,15) AND `id` <= 750 [ RunTime:0.004520s ]
SHOW FULL COLUMNS FROM `o_cart` [ RunTime:0.002782s ]
SELECT COUNT(*) AS think_count FROM `o_cart` WHERE ( `userId` = 0 AND `visitIP` = '216.73.216.163' ) [ RunTime:0.000715s ]
SHOW FULL COLUMNS FROM `ad` [ RunTime:0.002124s ]
SELECT * FROM `ad` WHERE `isDisplay` = 1 [ RunTime:0.000571s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `typeid` = 711 [ RunTime:0.000578s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `id` = 711 LIMIT 1 [ RunTime:0.000354s ]
SHOW FULL COLUMNS FROM `stock` [ RunTime:0.002499s ]
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` = '711' ) ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.001043s ]
SHOW FULL COLUMNS FROM `stock_pra` [ RunTime:0.002182s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 13547 LIMIT 5 [ RunTime:0.000622s ]
SHOW FULL COLUMNS FROM `stock_price` [ RunTime:0.002842s ]
SELECT * FROM `stock_price` WHERE `stockid` = 13547 ORDER BY `minOrder` ASC [ RunTime:0.008170s ]
SHOW FULL COLUMNS FROM `stock_unitquantity` [ RunTime:0.001349s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 13547 ORDER BY `unit` DESC [ RunTime:0.000445s ]
SHOW FULL COLUMNS FROM `stock_warehousequantity` [ RunTime:0.001020s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 13547 LIMIT 2 [ RunTime:0.000303s ]
SELECT * FROM `stock_price` WHERE `stockid` = 13547 ORDER BY `minOrder` ASC [ RunTime:0.000318s ]
SHOW FULL COLUMNS FROM `stock_pra_lib` [ RunTime:0.001071s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'TSC506-ZP' OR `brand` LIKE 'LAIRD%' ) ) LIMIT 1 [ RunTime:0.009145s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 11732 LIMIT 5 [ RunTime:0.000313s ]
SELECT * FROM `stock_price` WHERE `stockid` = 11732 ORDER BY `minOrder` ASC [ RunTime:0.003205s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 11732 ORDER BY `unit` DESC [ RunTime:0.000378s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 11732 LIMIT 2 [ RunTime:0.000276s ]
SELECT * FROM `stock_price` WHERE `stockid` = 11732 ORDER BY `minOrder` ASC [ RunTime:0.000303s ]
select * from pdf where partno='52936-3' and brandshort='AMP - TE CONNECTIVITY' limit 1 [ RunTime:0.005513s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '52936-3' OR `brand` LIKE 'AMP - TE CONNECTIVITY%' ) ) LIMIT 1 [ RunTime:0.000913s ]
SELECT `id` FROM `stock` WHERE `id` <> 11732 AND `partno` = '52936-3' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%amp - te connectivity%' ) [ RunTime:0.000821s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 5985 LIMIT 5 [ RunTime:0.000571s ]
SELECT * FROM `stock_price` WHERE `stockid` = 5985 ORDER BY `minOrder` ASC [ RunTime:0.003562s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 5985 ORDER BY `unit` DESC [ RunTime:0.000901s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 5985 LIMIT 2 [ RunTime:0.000873s ]
SELECT * FROM `stock_price` WHERE `stockid` = 5985 ORDER BY `minOrder` ASC [ RunTime:0.000673s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'S1791-42R' OR `brand` LIKE 'HARWIN%' ) ) LIMIT 1 [ RunTime:0.003938s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 10523 LIMIT 5 [ RunTime:0.000509s ]
SELECT * FROM `stock_price` WHERE `stockid` = 10523 ORDER BY `minOrder` ASC [ RunTime:0.002561s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 10523 ORDER BY `unit` DESC [ RunTime:0.000541s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 10523 LIMIT 2 [ RunTime:0.000524s ]
SELECT * FROM `stock_price` WHERE `stockid` = 10523 ORDER BY `minOrder` ASC [ RunTime:0.000575s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '2306334-3' OR `brand` LIKE 'TE CONNECTIVITY%' ) ) LIMIT 1 [ RunTime:0.018723s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 4139 LIMIT 5 [ RunTime:0.000568s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4139 ORDER BY `minOrder` ASC [ RunTime:0.000857s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 4139 ORDER BY `unit` DESC [ RunTime:0.000536s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 4139 LIMIT 2 [ RunTime:0.000541s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4139 ORDER BY `minOrder` ASC [ RunTime:0.000547s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'FK-MCP 1,5/3-ST-3.81' OR `brand` LIKE 'PHOENIX CONTACT%' ) ) LIMIT 1 [ RunTime:0.002973s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 1021 LIMIT 5 [ RunTime:0.000520s ]
SELECT * FROM `stock_price` WHERE `stockid` = 1021 ORDER BY `minOrder` ASC [ RunTime:0.000914s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 1021 ORDER BY `unit` DESC [ RunTime:0.000562s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 1021 LIMIT 2 [ RunTime:0.000549s ]
SELECT * FROM `stock_price` WHERE `stockid` = 1021 ORDER BY `minOrder` ASC [ RunTime:0.000548s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'D110277' OR `brand` LIKE 'ITT CANNON%' ) ) LIMIT 1 [ RunTime:0.003046s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 4142 LIMIT 5 [ RunTime:0.000503s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4142 ORDER BY `minOrder` ASC [ RunTime:0.000608s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 4142 ORDER BY `unit` DESC [ RunTime:0.000519s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 4142 LIMIT 2 [ RunTime:0.000496s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4142 ORDER BY `minOrder` ASC [ RunTime:0.000542s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'FK-MCP 1,5/ 2-STF-3,81' OR `brand` LIKE 'PHOENIX CONTACT%' ) ) LIMIT 1 [ RunTime:0.002725s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 8987 LIMIT 5 [ RunTime:0.000518s ]
SELECT * FROM `stock_price` WHERE `stockid` = 8987 ORDER BY `minOrder` ASC [ RunTime:0.000970s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 8987 ORDER BY `unit` DESC [ RunTime:0.000649s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 8987 LIMIT 2 [ RunTime:0.000650s ]
SELECT * FROM `stock_price` WHERE `stockid` = 8987 ORDER BY `minOrder` ASC [ RunTime:0.000576s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '0861-0-15-20-82-14-11-0' OR `brand` LIKE 'MILL MAX%' ) ) LIMIT 1 [ RunTime:0.001043s ]
SELECT `id` FROM `stock` WHERE `id` <> 8987 AND `partno` = '0861-0-15-20-82-14-11-0' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%mill max%' ) [ RunTime:0.001174s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 12546 LIMIT 5 [ RunTime:0.000474s ]
SELECT * FROM `stock_price` WHERE `stockid` = 12546 ORDER BY `minOrder` ASC [ RunTime:0.000783s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 12546 ORDER BY `unit` DESC [ RunTime:0.000613s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 12546 LIMIT 2 [ RunTime:0.000603s ]
SELECT * FROM `stock_price` WHERE `stockid` = 12546 ORDER BY `minOrder` ASC [ RunTime:0.000443s ]
select * from pdf where partno='785080-01' and brandshort='NI' limit 1 [ RunTime:0.001590s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '785080-01' OR `brand` LIKE 'NI%' ) ) LIMIT 1 [ RunTime:0.001264s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 11074 LIMIT 5 [ RunTime:0.000391s ]
SELECT * FROM `stock_price` WHERE `stockid` = 11074 ORDER BY `minOrder` ASC [ RunTime:0.000468s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 11074 ORDER BY `unit` DESC [ RunTime:0.000414s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 11074 LIMIT 2 [ RunTime:0.000402s ]
SELECT * FROM `stock_price` WHERE `stockid` = 11074 ORDER BY `minOrder` ASC [ RunTime:0.000432s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'S7221-45R' OR `brand` LIKE 'HARWIN%' ) ) LIMIT 1 [ RunTime:0.000830s ]
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` = '711' ) ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.000586s ]
SELECT brand, count(*) as count FROM ( SELECT `brand` FROM `stock` `s` WHERE ( `lockUser` = 0 AND `isDisplay` = 1 AND `s`.`categoryid` = '711' ) LIMIT 10 ) tmp GROUP BY `brand` [ RunTime:0.000730s ]