SHOW FULL COLUMNS FROM `visit_log` [ RunTime:0.002519s ]
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=403' [ RunTime:0.004104s ]
SHOW FULL COLUMNS FROM `product_type` [ RunTime:0.001846s ]
SELECT `id`,`typeid`,`name`,`typestr` FROM `product_type` WHERE `id` NOT IN (11,12,13,14,15) AND `id` <= 750 [ RunTime:0.000780s ]
SHOW FULL COLUMNS FROM `o_cart` [ RunTime:0.001991s ]
SELECT COUNT(*) AS think_count FROM `o_cart` WHERE ( `userId` = 0 AND `visitIP` = '216.73.217.46' ) [ RunTime:0.000482s ]
SHOW FULL COLUMNS FROM `ad` [ RunTime:0.003364s ]
SELECT * FROM `ad` WHERE `isDisplay` = 1 [ RunTime:0.004000s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `typeid` = 403 [ RunTime:0.000384s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `id` = 403 LIMIT 1 [ RunTime:0.003401s ]
SHOW FULL COLUMNS FROM `stock` [ RunTime:0.001492s ]
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` = '403' ) ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.005602s ]
SHOW FULL COLUMNS FROM `stock_pra` [ RunTime:0.004007s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 15517 LIMIT 4 [ RunTime:0.016909s ]
SHOW FULL COLUMNS FROM `stock_price` [ RunTime:0.002331s ]
SELECT * FROM `stock_price` WHERE `stockid` = 15517 ORDER BY `minOrder` ASC [ RunTime:0.007703s ]
SHOW FULL COLUMNS FROM `stock_unitquantity` [ RunTime:0.003935s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 15517 ORDER BY `unit` DESC [ RunTime:0.007406s ]
SHOW FULL COLUMNS FROM `stock_warehousequantity` [ RunTime:0.003033s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 15517 LIMIT 2 [ RunTime:0.008062s ]
SELECT * FROM `stock_price` WHERE `stockid` = 15517 ORDER BY `minOrder` ASC [ RunTime:0.014180s ]
select * from pdf where partno='25LC160C-I/P' and brandshort='MICROCHIP' limit 1 [ RunTime:0.017144s ]
select foldpath,foldpath2,filename from pdf_file where id=740671 limit 1 [ RunTime:0.042122s ]
SHOW FULL COLUMNS FROM `stock_pra_lib` [ RunTime:0.003744s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '25LC160C-I/P' OR `brand` LIKE 'MICROCHIP%' ) ) LIMIT 1 [ RunTime:0.027253s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 15492 LIMIT 4 [ RunTime:0.001396s ]
SELECT * FROM `stock_price` WHERE `stockid` = 15492 ORDER BY `minOrder` ASC [ RunTime:0.002018s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 15492 ORDER BY `unit` DESC [ RunTime:0.013944s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 15492 LIMIT 2 [ RunTime:0.011884s ]
SELECT * FROM `stock_price` WHERE `stockid` = 15492 ORDER BY `minOrder` ASC [ RunTime:0.006144s ]
select * from pdf where partno='AT24C64D-SSHM-T' and brandshort='MICROCHIP' limit 1 [ RunTime:0.010903s ]
select foldpath,foldpath2,filename from pdf_file where id=1345424 limit 1 [ RunTime:0.018938s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'AT24C64D-SSHM-T' OR `brand` LIKE 'MICROCHIP%' ) ) LIMIT 1 [ RunTime:0.029320s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 15481 LIMIT 4 [ RunTime:0.004419s ]
SELECT * FROM `stock_price` WHERE `stockid` = 15481 ORDER BY `minOrder` ASC [ RunTime:0.004054s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 15481 ORDER BY `unit` DESC [ RunTime:0.001002s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 15481 LIMIT 2 [ RunTime:0.016137s ]
SELECT * FROM `stock_price` WHERE `stockid` = 15481 ORDER BY `minOrder` ASC [ RunTime:0.014762s ]
select * from pdf where partno='24LC256-I/P' and brandshort='MICROCHIP' limit 1 [ RunTime:0.018034s ]
select foldpath,foldpath2,filename from pdf_file where id=587109 limit 1 [ RunTime:0.021936s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '24LC256-I/P' OR `brand` LIKE 'MICROCHIP%' ) ) LIMIT 1 [ RunTime:0.017965s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 15467 LIMIT 4 [ RunTime:0.009833s ]
SELECT * FROM `stock_price` WHERE `stockid` = 15467 ORDER BY `minOrder` ASC [ RunTime:0.045007s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 15467 ORDER BY `unit` DESC [ RunTime:0.008511s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 15467 LIMIT 2 [ RunTime:0.016668s ]
SELECT * FROM `stock_price` WHERE `stockid` = 15467 ORDER BY `minOrder` ASC [ RunTime:0.013601s ]
select * from pdf where partno='M24M01-DFDW6TP' and brandshort='STMICROELECTRONICS' limit 1 [ RunTime:0.013373s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'M24M01-DFDW6TP' OR `brand` LIKE 'STMICROELECTRONICS%' ) ) LIMIT 1 [ RunTime:0.000897s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 15352 LIMIT 4 [ RunTime:0.000509s ]
SELECT * FROM `stock_price` WHERE `stockid` = 15352 ORDER BY `minOrder` ASC [ RunTime:0.001826s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 15352 ORDER BY `unit` DESC [ RunTime:0.001819s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 15352 LIMIT 2 [ RunTime:0.006325s ]
SELECT * FROM `stock_price` WHERE `stockid` = 15352 ORDER BY `minOrder` ASC [ RunTime:0.000244s ]
select * from pdf where partno='M24C04-FMC6TG' and brandshort='STMICROELECTRONICS' limit 1 [ RunTime:0.014141s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'M24C04-FMC6TG' OR `brand` LIKE 'STMICROELECTRONICS%' ) ) LIMIT 1 [ RunTime:0.003387s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 15277 LIMIT 4 [ RunTime:0.012138s ]
SELECT * FROM `stock_price` WHERE `stockid` = 15277 ORDER BY `minOrder` ASC [ RunTime:0.020721s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 15277 ORDER BY `unit` DESC [ RunTime:0.024354s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 15277 LIMIT 2 [ RunTime:0.006931s ]
SELECT * FROM `stock_price` WHERE `stockid` = 15277 ORDER BY `minOrder` ASC [ RunTime:0.001535s ]
select * from pdf where partno='93LC46B-I/SN' and brandshort='MICROCHIP' limit 1 [ RunTime:0.015723s ]
select foldpath,foldpath2,filename from pdf_file where id=373252 limit 1 [ RunTime:0.012229s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '93LC46B-I/SN' OR `brand` LIKE 'MICROCHIP%' ) ) LIMIT 1 [ RunTime:0.029160s ]
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` = '403' ) ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.003908s ]
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` = '403' ) LIMIT 6 ) tmp GROUP BY `brand` [ RunTime:0.002229s ]