SHOW FULL COLUMNS FROM `visit_log` [ RunTime:0.001347s ]
INSERT INTO `visit_log` SET `ip` = '216.73.217.46' , `useragent` = 'Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)' , `reffer` = '' , `host` = 'https://www.ic118.com/stock&status=4&typeid=121' [ RunTime:0.003873s ]
SHOW FULL COLUMNS FROM `product_type` [ RunTime:0.001409s ]
SELECT `id`,`typeid`,`name`,`typestr` FROM `product_type` WHERE `id` NOT IN (11,12,13,14,15) AND `id` <= 750 [ RunTime:0.016808s ]
SHOW FULL COLUMNS FROM `o_cart` [ RunTime:0.002622s ]
SELECT COUNT(*) AS think_count FROM `o_cart` WHERE ( `userId` = 0 AND `visitIP` = '216.73.217.46' ) [ RunTime:0.004782s ]
SHOW FULL COLUMNS FROM `ad` [ RunTime:0.002373s ]
SELECT * FROM `ad` WHERE `isDisplay` = 1 [ RunTime:0.000321s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `typeid` = 121 [ RunTime:0.015985s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `id` = 121 LIMIT 1 [ RunTime:0.009961s ]
SHOW FULL COLUMNS FROM `stock` [ RunTime:0.002466s ]
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`.`status` = '4' AND `s`.`status` <> '2' AND `s`.`categoryid` = '121' ) ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.027474s ]
SHOW FULL COLUMNS FROM `stock_pra` [ RunTime:0.012578s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 15743 LIMIT 4 [ RunTime:0.049292s ]
SHOW FULL COLUMNS FROM `stock_price` [ RunTime:0.036399s ]
SELECT * FROM `stock_price` WHERE `stockid` = 15743 ORDER BY `minOrder` ASC [ RunTime:0.025209s ]
SHOW FULL COLUMNS FROM `stock_unitquantity` [ RunTime:0.019075s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 15743 ORDER BY `unit` DESC [ RunTime:0.040113s ]
SHOW FULL COLUMNS FROM `stock_warehousequantity` [ RunTime:0.008051s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 15743 LIMIT 2 [ RunTime:0.033878s ]
SELECT * FROM `stock_price` WHERE `stockid` = 15743 ORDER BY `minOrder` ASC [ RunTime:0.037337s ]
select * from pdf where partno='BAW56LT1G' and brandshort='ONSEMI' limit 1 [ RunTime:0.068126s ]
select foldpath,foldpath2,filename from pdf_file where id=568830 limit 1 [ RunTime:0.038849s ]
SHOW FULL COLUMNS FROM `stock_pra_lib` [ RunTime:0.002687s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'BAW56LT1G' OR `brand` LIKE 'ONSEMI%' ) ) LIMIT 1 [ RunTime:0.085877s ]
SELECT `id` FROM `stock` WHERE `id` <> 15743 AND `partno` = 'BAW56LT1G' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%onsemi%' ) [ RunTime:0.053192s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 7482 [ RunTime:0.010420s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 16762 [ RunTime:0.046020s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 33219753 [ RunTime:0.009006s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 15422 LIMIT 4 [ RunTime:0.034462s ]
SELECT * FROM `stock_price` WHERE `stockid` = 15422 ORDER BY `minOrder` ASC [ RunTime:0.022220s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 15422 ORDER BY `unit` DESC [ RunTime:0.010170s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 15422 LIMIT 2 [ RunTime:0.008916s ]
SELECT * FROM `stock_price` WHERE `stockid` = 15422 ORDER BY `minOrder` ASC [ RunTime:0.004482s ]
select * from pdf where partno='1SS355TE-17' and brandshort='ROHM' limit 1 [ RunTime:0.013608s ]
select foldpath,foldpath2,filename from pdf_file where id=1106100 limit 1 [ RunTime:0.044605s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '1SS355TE-17' OR `brand` LIKE 'ROHM%' ) ) LIMIT 1 [ RunTime:0.045368s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 15323 LIMIT 4 [ RunTime:0.050385s ]
SELECT * FROM `stock_price` WHERE `stockid` = 15323 ORDER BY `minOrder` ASC [ RunTime:0.018126s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 15323 ORDER BY `unit` DESC [ RunTime:0.002764s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 15323 LIMIT 2 [ RunTime:0.009409s ]
SELECT * FROM `stock_price` WHERE `stockid` = 15323 ORDER BY `minOrder` ASC [ RunTime:0.008390s ]
select * from pdf where partno='BAV74LT1G' and brandshort='ONSEMI' limit 1 [ RunTime:0.016834s ]
select foldpath,foldpath2,filename from pdf_file where id=668717 limit 1 [ RunTime:0.019642s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'BAV74LT1G' OR `brand` LIKE 'ONSEMI%' ) ) LIMIT 1 [ RunTime:0.024970s ]
SELECT `id` FROM `stock` WHERE `id` <> 15323 AND `partno` = 'BAV74LT1G' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%onsemi%' ) [ RunTime:0.012869s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 7483 [ RunTime:0.006802s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 16343 [ RunTime:0.000772s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 33219981 [ RunTime:0.002699s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 15142 LIMIT 4 [ RunTime:0.026978s ]
SELECT * FROM `stock_price` WHERE `stockid` = 15142 ORDER BY `minOrder` ASC [ RunTime:0.016533s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 15142 ORDER BY `unit` DESC [ RunTime:0.055365s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 15142 LIMIT 2 [ RunTime:0.006825s ]
SELECT * FROM `stock_price` WHERE `stockid` = 15142 ORDER BY `minOrder` ASC [ RunTime:0.031076s ]
select * from pdf where partno='BAS20HT1G' and brandshort='ONSEMI' limit 1 [ RunTime:0.021343s ]
select foldpath,foldpath2,filename from pdf_file where id=671906 limit 1 [ RunTime:0.032892s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'BAS20HT1G' OR `brand` LIKE 'ONSEMI%' ) ) LIMIT 1 [ RunTime:0.086032s ]
SELECT `id` FROM `stock` WHERE `id` <> 15142 AND `partno` = 'BAS20HT1G' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%onsemi%' ) [ RunTime:0.027740s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 7484 [ RunTime:0.017410s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 15037 [ RunTime:0.023545s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 44080084 [ RunTime:0.024742s ]
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`.`status` = '4' AND `s`.`status` <> '2' AND `s`.`categoryid` = '121' ) ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.034966s ]
SELECT brand, count(*) as count FROM ( SELECT `brand` FROM `stock` `s` WHERE ( `lockUser` = 0 AND `isDisplay` = 1 AND `s`.`status` = '4' AND `s`.`status` <> '2' AND `s`.`categoryid` = '121' ) LIMIT 4 ) tmp GROUP BY `brand` [ RunTime:0.017176s ]