SHOW FULL COLUMNS FROM `visit_log` [ RunTime:0.002201s ]
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=39' [ RunTime:0.008154s ]
SHOW FULL COLUMNS FROM `product_type` [ RunTime:0.003114s ]
SELECT `id`,`typeid`,`name`,`typestr` FROM `product_type` WHERE `id` NOT IN (11,12,13,14,15) AND `id` <= 750 [ RunTime:0.005494s ]
SHOW FULL COLUMNS FROM `o_cart` [ RunTime:0.002282s ]
SELECT COUNT(*) AS think_count FROM `o_cart` WHERE ( `userId` = 0 AND `visitIP` = '216.73.217.46' ) [ RunTime:0.017810s ]
SHOW FULL COLUMNS FROM `ad` [ RunTime:0.003276s ]
SELECT * FROM `ad` WHERE `isDisplay` = 1 [ RunTime:0.009359s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `typeid` = 39 [ RunTime:0.022814s ]
SHOW FULL COLUMNS FROM `stock` [ RunTime:0.002191s ]
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` IN ('403','404','405','406','407','408','409','410','411','412','413','414','415','416','417','418','419') ) ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.038576s ]
SHOW FULL COLUMNS FROM `stock_pra` [ RunTime:0.024860s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 15979 LIMIT 4 [ RunTime:0.024597s ]
SHOW FULL COLUMNS FROM `stock_price` [ RunTime:0.006932s ]
SELECT * FROM `stock_price` WHERE `stockid` = 15979 ORDER BY `minOrder` ASC [ RunTime:0.003854s ]
SHOW FULL COLUMNS FROM `stock_unitquantity` [ RunTime:0.003178s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 15979 ORDER BY `unit` DESC [ RunTime:0.022900s ]
SHOW FULL COLUMNS FROM `stock_warehousequantity` [ RunTime:0.003881s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 15979 LIMIT 2 [ RunTime:0.042196s ]
SELECT * FROM `stock_price` WHERE `stockid` = 15979 ORDER BY `minOrder` ASC [ RunTime:0.046053s ]
select * from pdf where partno='S80KS2564GACHI040' and brandshort='CYPRESS - INFINEON TECHNOLOGIES' limit 1 [ RunTime:0.059200s ]
SHOW FULL COLUMNS FROM `stock_pra_lib` [ RunTime:0.001681s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'S80KS2564GACHI040' OR `brand` LIKE 'CYPRESS - INFINEON TECHNOLOGIES%' ) ) LIMIT 1 [ RunTime:0.006723s ]
SELECT `id` FROM `stock` WHERE `id` <> 15979 AND `partno` = 'S80KS2564GACHI040' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%cypress - infineon technologies%' ) [ RunTime:0.032933s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 13267 [ RunTime:0.026893s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 16997 [ RunTime:0.011215s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 15517 LIMIT 4 [ RunTime:0.020029s ]
SELECT * FROM `stock_price` WHERE `stockid` = 15517 ORDER BY `minOrder` ASC [ RunTime:0.004401s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 15517 ORDER BY `unit` DESC [ RunTime:0.004103s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 15517 LIMIT 2 [ RunTime:0.014465s ]
SELECT * FROM `stock_price` WHERE `stockid` = 15517 ORDER BY `minOrder` ASC [ RunTime:0.020148s ]
select * from pdf where partno='25LC160C-I/P' and brandshort='MICROCHIP' limit 1 [ RunTime:0.011712s ]
select foldpath,foldpath2,filename from pdf_file where id=740671 limit 1 [ RunTime:0.008791s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '25LC160C-I/P' OR `brand` LIKE 'MICROCHIP%' ) ) LIMIT 1 [ RunTime:0.015052s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 15492 LIMIT 4 [ RunTime:0.014124s ]
SELECT * FROM `stock_price` WHERE `stockid` = 15492 ORDER BY `minOrder` ASC [ RunTime:0.004816s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 15492 ORDER BY `unit` DESC [ RunTime:0.020071s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 15492 LIMIT 2 [ RunTime:0.013509s ]
SELECT * FROM `stock_price` WHERE `stockid` = 15492 ORDER BY `minOrder` ASC [ RunTime:0.001169s ]
select * from pdf where partno='AT24C64D-SSHM-T' and brandshort='MICROCHIP' limit 1 [ RunTime:0.008672s ]
select foldpath,foldpath2,filename from pdf_file where id=1345424 limit 1 [ RunTime:0.004199s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'AT24C64D-SSHM-T' OR `brand` LIKE 'MICROCHIP%' ) ) LIMIT 1 [ RunTime:0.000991s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 15481 LIMIT 4 [ RunTime:0.003639s ]
SELECT * FROM `stock_price` WHERE `stockid` = 15481 ORDER BY `minOrder` ASC [ RunTime:0.005827s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 15481 ORDER BY `unit` DESC [ RunTime:0.003322s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 15481 LIMIT 2 [ RunTime:0.003616s ]
SELECT * FROM `stock_price` WHERE `stockid` = 15481 ORDER BY `minOrder` ASC [ RunTime:0.013421s ]
select * from pdf where partno='24LC256-I/P' and brandshort='MICROCHIP' limit 1 [ RunTime:0.005337s ]
select foldpath,foldpath2,filename from pdf_file where id=587109 limit 1 [ RunTime:0.008417s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '24LC256-I/P' OR `brand` LIKE 'MICROCHIP%' ) ) LIMIT 1 [ RunTime:0.006862s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 15467 LIMIT 4 [ RunTime:0.004251s ]
SELECT * FROM `stock_price` WHERE `stockid` = 15467 ORDER BY `minOrder` ASC [ RunTime:0.002713s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 15467 ORDER BY `unit` DESC [ RunTime:0.001611s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 15467 LIMIT 2 [ RunTime:0.001680s ]
SELECT * FROM `stock_price` WHERE `stockid` = 15467 ORDER BY `minOrder` ASC [ RunTime:0.000306s ]
select * from pdf where partno='M24M01-DFDW6TP' and brandshort='STMICROELECTRONICS' limit 1 [ RunTime:0.007641s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'M24M01-DFDW6TP' OR `brand` LIKE 'STMICROELECTRONICS%' ) ) LIMIT 1 [ RunTime:0.004402s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 15352 LIMIT 4 [ RunTime:0.005987s ]
SELECT * FROM `stock_price` WHERE `stockid` = 15352 ORDER BY `minOrder` ASC [ RunTime:0.000680s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 15352 ORDER BY `unit` DESC [ RunTime:0.004460s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 15352 LIMIT 2 [ RunTime:0.002555s ]
SELECT * FROM `stock_price` WHERE `stockid` = 15352 ORDER BY `minOrder` ASC [ RunTime:0.001264s ]
select * from pdf where partno='M24C04-FMC6TG' and brandshort='STMICROELECTRONICS' limit 1 [ RunTime:0.000698s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'M24C04-FMC6TG' OR `brand` LIKE 'STMICROELECTRONICS%' ) ) LIMIT 1 [ RunTime:0.000272s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 15277 LIMIT 4 [ RunTime:0.000350s ]
SELECT * FROM `stock_price` WHERE `stockid` = 15277 ORDER BY `minOrder` ASC [ RunTime:0.006137s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 15277 ORDER BY `unit` DESC [ RunTime:0.005787s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 15277 LIMIT 2 [ RunTime:0.003721s ]
SELECT * FROM `stock_price` WHERE `stockid` = 15277 ORDER BY `minOrder` ASC [ RunTime:0.006125s ]
select * from pdf where partno='93LC46B-I/SN' and brandshort='MICROCHIP' limit 1 [ RunTime:0.004542s ]
select foldpath,foldpath2,filename from pdf_file where id=373252 limit 1 [ RunTime:0.004104s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '93LC46B-I/SN' OR `brand` LIKE 'MICROCHIP%' ) ) LIMIT 1 [ RunTime:0.006877s ]
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` IN ('403','404','405','406','407','408','409','410','411','412','413','414','415','416','417','418','419') ) ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.007487s ]
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` IN ('403','404','405','406','407','408','409','410','411','412','413','414','415','416','417','418','419') ) LIMIT 7 ) tmp GROUP BY `brand` [ RunTime:0.006708s ]