SHOW FULL COLUMNS FROM `visit_log` [ RunTime:0.001697s ]
INSERT INTO `visit_log` SET `ip` = '216.73.217.11' , `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=149' [ RunTime:0.010828s ]
SHOW FULL COLUMNS FROM `product_type` [ RunTime:0.001504s ]
SELECT `id`,`typeid`,`name`,`typestr` FROM `product_type` WHERE `id` NOT IN (11,12,13,14,15) AND `id` <= 750 [ RunTime:0.007257s ]
SHOW FULL COLUMNS FROM `o_cart` [ RunTime:0.002627s ]
SELECT COUNT(*) AS think_count FROM `o_cart` WHERE ( `userId` = 0 AND `visitIP` = '216.73.217.11' ) [ RunTime:0.007066s ]
SHOW FULL COLUMNS FROM `ad` [ RunTime:0.004088s ]
SELECT * FROM `ad` WHERE `isDisplay` = 1 [ RunTime:0.002745s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `typeid` = 149 [ RunTime:0.005424s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `id` = 149 LIMIT 1 [ RunTime:0.011829s ]
SHOW FULL COLUMNS FROM `stock` [ RunTime:0.002538s ]
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` = '149' ) ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.014060s ]
SHOW FULL COLUMNS FROM `stock_pra` [ RunTime:0.002292s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 3872 LIMIT 5 [ RunTime:0.023738s ]
SHOW FULL COLUMNS FROM `stock_price` [ RunTime:0.002417s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3872 ORDER BY `minOrder` ASC [ RunTime:0.007573s ]
SHOW FULL COLUMNS FROM `stock_unitquantity` [ RunTime:0.001425s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 3872 ORDER BY `unit` DESC [ RunTime:0.028469s ]
SHOW FULL COLUMNS FROM `stock_warehousequantity` [ RunTime:0.001390s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 3872 LIMIT 2 [ RunTime:0.021481s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3872 ORDER BY `minOrder` ASC [ RunTime:0.006339s ]
select * from pdf where partno='CG75L' and brandshort='LITTELFUSE' limit 1 [ RunTime:0.003083s ]
select foldpath,foldpath2,filename from pdf_file where id=1191817 limit 1 [ RunTime:0.010502s ]
SHOW FULL COLUMNS FROM `stock_pra_lib` [ RunTime:0.001382s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'CG75L' OR `brand` LIKE 'LITTELFUSE%' ) ) LIMIT 1 [ RunTime:0.006674s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 12374 LIMIT 5 [ RunTime:0.002586s ]
SELECT * FROM `stock_price` WHERE `stockid` = 12374 ORDER BY `minOrder` ASC [ RunTime:0.000302s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 12374 ORDER BY `unit` DESC [ RunTime:0.003519s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 12374 LIMIT 2 [ RunTime:0.006081s ]
SELECT * FROM `stock_price` WHERE `stockid` = 12374 ORDER BY `minOrder` ASC [ RunTime:0.001704s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'B88069X1913T902' OR `brand` LIKE 'EPCOS%' ) ) LIMIT 1 [ RunTime:0.002786s ]
SELECT `id` FROM `stock` WHERE `id` <> 12374 AND `partno` = 'B88069X1913T902' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%epcos%' ) [ RunTime:0.000781s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 13900170 [ RunTime:0.000845s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 6786 LIMIT 5 [ RunTime:0.000429s ]
SELECT * FROM `stock_price` WHERE `stockid` = 6786 ORDER BY `minOrder` ASC [ RunTime:0.010101s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 6786 ORDER BY `unit` DESC [ RunTime:0.014058s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 6786 LIMIT 2 [ RunTime:0.000393s ]
SELECT * FROM `stock_price` WHERE `stockid` = 6786 ORDER BY `minOrder` ASC [ RunTime:0.001518s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '2036-07-SMLF' OR `brand` LIKE 'BOURNS%' ) ) LIMIT 1 [ RunTime:0.009144s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 5513 LIMIT 5 [ RunTime:0.000443s ]
SELECT * FROM `stock_price` WHERE `stockid` = 5513 ORDER BY `minOrder` ASC [ RunTime:0.000281s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 5513 ORDER BY `unit` DESC [ RunTime:0.000255s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 5513 LIMIT 2 [ RunTime:0.000281s ]
SELECT * FROM `stock_price` WHERE `stockid` = 5513 ORDER BY `minOrder` ASC [ RunTime:0.003363s ]
select * from pdf where partno='CG35.0L' and brandshort='LITTELFUSE' limit 1 [ RunTime:0.004005s ]
select foldpath,foldpath2,filename from pdf_file where id=1114268 limit 1 [ RunTime:0.008573s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'CG35.0L' OR `brand` LIKE 'LITTELFUSE%' ) ) LIMIT 1 [ RunTime:0.000623s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 5693 LIMIT 5 [ RunTime:0.003962s ]
SELECT * FROM `stock_price` WHERE `stockid` = 5693 ORDER BY `minOrder` ASC [ RunTime:0.007911s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 5693 ORDER BY `unit` DESC [ RunTime:0.008274s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 5693 LIMIT 2 [ RunTime:0.002275s ]
SELECT * FROM `stock_price` WHERE `stockid` = 5693 ORDER BY `minOrder` ASC [ RunTime:0.003340s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '2097-200-DLF' OR `brand` LIKE 'BOURNS%' ) ) LIMIT 1 [ RunTime:0.003102s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 5692 LIMIT 5 [ RunTime:0.000478s ]
SELECT * FROM `stock_price` WHERE `stockid` = 5692 ORDER BY `minOrder` ASC [ RunTime:0.000447s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 5692 ORDER BY `unit` DESC [ RunTime:0.003466s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 5692 LIMIT 2 [ RunTime:0.006574s ]
SELECT * FROM `stock_price` WHERE `stockid` = 5692 ORDER BY `minOrder` ASC [ RunTime:0.007964s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '2049-25-BLF' OR `brand` LIKE 'BOURNS%' ) ) LIMIT 1 [ RunTime:0.011154s ]
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` = '149' ) ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.023584s ]
SELECT brand, count(*) as count FROM ( SELECT `brand` FROM `stock` `s` WHERE ( `lockUser` = 0 AND `isDisplay` = 1 AND `s`.`categoryid` = '149' ) LIMIT 6 ) tmp GROUP BY `brand` [ RunTime:0.018511s ]