SHOW FULL COLUMNS FROM `visit_log` [ RunTime:0.001420s ]
INSERT INTO `visit_log` SET `ip` = '216.73.217.116' , `useragent` = 'Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)' , `reffer` = '' , `host` = 'https://www.ic118.com/category_16/1.html' [ RunTime:0.003083s ]
SHOW FULL COLUMNS FROM `product_type` [ RunTime:0.001974s ]
SELECT `id`,`typeid`,`name`,`typestr` FROM `product_type` WHERE `id` NOT IN (11,12,13,14,15) AND `id` <= 750 [ RunTime:0.000718s ]
SHOW FULL COLUMNS FROM `o_cart` [ RunTime:0.002348s ]
SELECT COUNT(*) AS think_count FROM `o_cart` WHERE ( `userId` = 0 AND `visitIP` = '216.73.217.116' ) [ RunTime:0.002987s ]
SHOW FULL COLUMNS FROM `ad` [ RunTime:0.002232s ]
SELECT * FROM `ad` WHERE `isDisplay` = 1 [ RunTime:0.000365s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `typeid` = 16 [ RunTime:0.000513s ]
SHOW FULL COLUMNS FROM `stock` [ RunTime:0.002390s ]
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` IN ('54','55','56','57','58','59','60','61','62','63','64','65','66','67','68','69','70','71','72','73','74') ) ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.002469s ]
SHOW FULL COLUMNS FROM `stock_pra` [ RunTime:0.007048s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 14975 LIMIT 5 [ RunTime:0.001138s ]
SHOW FULL COLUMNS FROM `stock_price` [ RunTime:0.001988s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14975 ORDER BY `minOrder` ASC [ RunTime:0.000535s ]
SHOW FULL COLUMNS FROM `stock_unitquantity` [ RunTime:0.001975s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 14975 ORDER BY `unit` DESC [ RunTime:0.000774s ]
SHOW FULL COLUMNS FROM `stock_warehousequantity` [ RunTime:0.002404s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 14975 LIMIT 2 [ RunTime:0.000508s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14975 ORDER BY `minOrder` ASC [ RunTime:0.008649s ]
select * from pdf where partno='EEFSX0E331ER' and brandshort='Panasonic' limit 1 [ RunTime:0.005790s ]
select foldpath,foldpath2,filename from pdf_file where id=1078764 limit 1 [ RunTime:0.001196s ]
SHOW FULL COLUMNS FROM `stock_pra_lib` [ RunTime:0.002413s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'EEFSX0E331ER' OR `brand` LIKE 'Panasonic%' ) ) LIMIT 1 [ RunTime:0.010716s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 14970 LIMIT 5 [ RunTime:0.003666s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14970 ORDER BY `minOrder` ASC [ RunTime:0.000316s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 14970 ORDER BY `unit` DESC [ RunTime:0.000322s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 14970 LIMIT 2 [ RunTime:0.000260s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14970 ORDER BY `minOrder` ASC [ RunTime:0.000271s ]
select * from pdf where partno='TAJC476K016R' and brandshort='AVX' limit 1 [ RunTime:0.000746s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'TAJC476K016R' OR `brand` LIKE 'AVX%' ) ) LIMIT 1 [ RunTime:0.000342s ]
SELECT `id` FROM `stock` WHERE `id` <> 14970 AND `partno` = 'TAJC476K016R' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%avx%' ) [ RunTime:0.000312s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 10076 LIMIT 5 [ RunTime:0.000255s ]
SELECT * FROM `stock_price` WHERE `stockid` = 10076 ORDER BY `minOrder` ASC [ RunTime:0.000260s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 10076 ORDER BY `unit` DESC [ RunTime:0.000305s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 10076 LIMIT 2 [ RunTime:0.000265s ]
SELECT * FROM `stock_price` WHERE `stockid` = 10076 ORDER BY `minOrder` ASC [ RunTime:0.000264s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'T494X476K035AT.' OR `brand` LIKE 'KEMET%' ) ) LIMIT 1 [ RunTime:0.000260s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 3488 LIMIT 5 [ RunTime:0.000252s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3488 ORDER BY `minOrder` ASC [ RunTime:0.000308s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 3488 ORDER BY `unit` DESC [ RunTime:0.000302s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 3488 LIMIT 2 [ RunTime:0.000683s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3488 ORDER BY `minOrder` ASC [ RunTime:0.000266s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '594D187X0016R2T' OR `brand` LIKE 'VISHAY%' ) ) LIMIT 1 [ RunTime:0.000339s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 3054 LIMIT 5 [ RunTime:0.000301s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3054 ORDER BY `minOrder` ASC [ RunTime:0.000311s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 3054 ORDER BY `unit` DESC [ RunTime:0.000253s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 3054 LIMIT 2 [ RunTime:0.001114s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3054 ORDER BY `minOrder` ASC [ RunTime:0.000334s ]
select * from pdf where partno='T494B685K025AT' and brandshort='KEMET' limit 1 [ RunTime:0.001248s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'T494B685K025AT' OR `brand` LIKE 'KEMET%' ) ) LIMIT 1 [ RunTime:0.000321s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 6245 LIMIT 5 [ RunTime:0.000321s ]
SELECT * FROM `stock_price` WHERE `stockid` = 6245 ORDER BY `minOrder` ASC [ RunTime:0.000314s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 6245 ORDER BY `unit` DESC [ RunTime:0.000253s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 6245 LIMIT 2 [ RunTime:0.000390s ]
SELECT * FROM `stock_price` WHERE `stockid` = 6245 ORDER BY `minOrder` ASC [ RunTime:0.000263s ]
select * from pdf where partno='T491A106M020AT.' and brandshort='KEMET' limit 1 [ RunTime:0.000721s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'T491A106M020AT.' OR `brand` LIKE 'KEMET%' ) ) LIMIT 1 [ RunTime:0.000307s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 846 LIMIT 5 [ RunTime:0.003644s ]
SELECT * FROM `stock_price` WHERE `stockid` = 846 ORDER BY `minOrder` ASC [ RunTime:0.004854s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 846 ORDER BY `unit` DESC [ RunTime:0.000357s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 846 LIMIT 2 [ RunTime:0.000315s ]
SELECT * FROM `stock_price` WHERE `stockid` = 846 ORDER BY `minOrder` ASC [ RunTime:0.000337s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'T353G106K035AT' OR `brand` LIKE 'KEMET%' ) ) LIMIT 1 [ RunTime:0.000316s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 5340 LIMIT 5 [ RunTime:0.001062s ]
SELECT * FROM `stock_price` WHERE `stockid` = 5340 ORDER BY `minOrder` ASC [ RunTime:0.000327s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 5340 ORDER BY `unit` DESC [ RunTime:0.000303s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 5340 LIMIT 2 [ RunTime:0.000301s ]
SELECT * FROM `stock_price` WHERE `stockid` = 5340 ORDER BY `minOrder` ASC [ RunTime:0.000327s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'M39006/22-0619' OR `brand` LIKE 'VISHAY%' ) ) LIMIT 1 [ RunTime:0.000358s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 10092830 LIMIT 5 [ RunTime:0.001602s ]
SELECT * FROM `stock_price` WHERE `stockid` = 10092830 ORDER BY `minOrder` ASC [ RunTime:0.000859s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 10092830 ORDER BY `unit` DESC [ RunTime:0.003763s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 10092830 LIMIT 2 [ RunTime:0.007584s ]
SELECT * FROM `stock_price` WHERE `stockid` = 10092830 ORDER BY `minOrder` ASC [ RunTime:0.000378s ]
select * from pdf where partno='LA4725'limit 1 [ RunTime:0.001537s ]
select foldpath,foldpath2,filename from pdf_file where id=375678 limit 1 [ RunTime:0.002029s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 10091691 LIMIT 5 [ RunTime:0.003870s ]
SELECT * FROM `stock_price` WHERE `stockid` = 10091691 ORDER BY `minOrder` ASC [ RunTime:0.001967s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 10091691 ORDER BY `unit` DESC [ RunTime:0.000869s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 10091691 LIMIT 2 [ RunTime:0.005230s ]
SELECT * FROM `stock_price` WHERE `stockid` = 10091691 ORDER BY `minOrder` ASC [ RunTime:0.002932s ]
select * from pdf where partno='EEFSX0E331ER' and brandshort='Panasonic' limit 1 [ RunTime:0.000435s ]
select foldpath,foldpath2,filename from pdf_file where id=1078764 limit 1 [ RunTime:0.000291s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'EEFSX0E331ER' OR `brand` LIKE 'Panasonic%' ) ) LIMIT 1 [ RunTime:0.000448s ]
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` IN ('54','55','56','57','58','59','60','61','62','63','64','65','66','67','68','69','70','71','72','73','74') ) ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.003840s ]
SELECT brand, count(*) as count FROM ( SELECT `brand` FROM `stock` `s` WHERE ( `lockUser` = 0 AND `isDisplay` = 1 AND `s`.`categoryid` IN ('54','55','56','57','58','59','60','61','62','63','64','65','66','67','68','69','70','71','72','73','74') ) LIMIT 10 ) tmp GROUP BY `brand` [ RunTime:0.002671s ]