SHOW FULL COLUMNS FROM `visit_log` [ RunTime:0.001227s ]
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/category_152/1.html' [ RunTime:0.006462s ]
SHOW FULL COLUMNS FROM `product_type` [ RunTime:0.001253s ]
SELECT `id`,`typeid`,`name`,`typestr` FROM `product_type` WHERE `id` NOT IN (11,12,13,14,15) AND `id` <= 750 [ RunTime:0.013596s ]
SHOW FULL COLUMNS FROM `o_cart` [ RunTime:0.002902s ]
SELECT COUNT(*) AS think_count FROM `o_cart` WHERE ( `userId` = 0 AND `visitIP` = '216.73.217.11' ) [ RunTime:0.001464s ]
SHOW FULL COLUMNS FROM `ad` [ RunTime:0.005090s ]
SELECT * FROM `ad` WHERE `isDisplay` = 1 [ RunTime:0.001045s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `typeid` = 152 [ RunTime:0.000844s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `id` = 152 LIMIT 1 [ RunTime:0.001423s ]
SHOW FULL COLUMNS FROM `stock` [ RunTime:0.003666s ]
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` = '152' ) ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.012933s ]
SHOW FULL COLUMNS FROM `stock_pra` [ RunTime:0.002141s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 1179 LIMIT 5 [ RunTime:0.019369s ]
SHOW FULL COLUMNS FROM `stock_price` [ RunTime:0.002164s ]
SELECT * FROM `stock_price` WHERE `stockid` = 1179 ORDER BY `minOrder` ASC [ RunTime:0.001388s ]
SHOW FULL COLUMNS FROM `stock_unitquantity` [ RunTime:0.001987s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 1179 ORDER BY `unit` DESC [ RunTime:0.001320s ]
SHOW FULL COLUMNS FROM `stock_warehousequantity` [ RunTime:0.002159s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 1179 LIMIT 2 [ RunTime:0.004267s ]
SELECT * FROM `stock_price` WHERE `stockid` = 1179 ORDER BY `minOrder` ASC [ RunTime:0.010851s ]
SHOW FULL COLUMNS FROM `stock_pra_lib` [ RunTime:0.002361s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'MF-NSMF020-2' OR `brand` LIKE 'BOURNS%' ) ) LIMIT 1 [ RunTime:0.005268s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 4195 LIMIT 5 [ RunTime:0.008344s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4195 ORDER BY `minOrder` ASC [ RunTime:0.024839s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 4195 ORDER BY `unit` DESC [ RunTime:0.003801s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 4195 LIMIT 2 [ RunTime:0.011109s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4195 ORDER BY `minOrder` ASC [ RunTime:0.018847s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'MC33152' OR `brand` LIKE 'MULTICOMP PRO%' ) ) LIMIT 1 [ RunTime:0.005453s ]
SELECT `id` FROM `stock` WHERE `id` <> 4195 AND `partno` = 'MC33152' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%multicomp pro%' ) [ RunTime:0.017631s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 962 LIMIT 5 [ RunTime:0.038085s ]
SELECT * FROM `stock_price` WHERE `stockid` = 962 ORDER BY `minOrder` ASC [ RunTime:0.021297s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 962 ORDER BY `unit` DESC [ RunTime:0.011795s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 962 LIMIT 2 [ RunTime:0.006485s ]
SELECT * FROM `stock_price` WHERE `stockid` = 962 ORDER BY `minOrder` ASC [ RunTime:0.018690s ]
select * from pdf where partno='RF2568-000.' and brandshort='LITTELFUSE' limit 1 [ RunTime:0.028894s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'RF2568-000.' OR `brand` LIKE 'LITTELFUSE%' ) ) LIMIT 1 [ RunTime:0.030393s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 1477 LIMIT 5 [ RunTime:0.005948s ]
SELECT * FROM `stock_price` WHERE `stockid` = 1477 ORDER BY `minOrder` ASC [ RunTime:0.001861s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 1477 ORDER BY `unit` DESC [ RunTime:0.006869s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 1477 LIMIT 2 [ RunTime:0.007422s ]
SELECT * FROM `stock_price` WHERE `stockid` = 1477 ORDER BY `minOrder` ASC [ RunTime:0.009051s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'MF-PSMF050X-2' OR `brand` LIKE 'BOURNS%' ) ) LIMIT 1 [ RunTime:0.018192s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 16624 LIMIT 5 [ RunTime:0.004164s ]
SELECT * FROM `stock_price` WHERE `stockid` = 16624 ORDER BY `minOrder` ASC [ RunTime:0.038565s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 16624 ORDER BY `unit` DESC [ RunTime:0.049968s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 16624 LIMIT 2 [ RunTime:0.008246s ]
SELECT * FROM `stock_price` WHERE `stockid` = 16624 ORDER BY `minOrder` ASC [ RunTime:0.021281s ]
select * from pdf where partno='MF-NSMF020-2' and brandshort='BOURNS' limit 1 [ RunTime:0.011122s ]
select foldpath,foldpath2,filename from pdf_file where id=595703 limit 1 [ RunTime:0.010230s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'MF-NSMF020-2' OR `brand` LIKE 'BOURNS%' ) ) LIMIT 1 [ RunTime:0.014655s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 16496 LIMIT 5 [ RunTime:0.032541s ]
SELECT * FROM `stock_price` WHERE `stockid` = 16496 ORDER BY `minOrder` ASC [ RunTime:0.039200s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 16496 ORDER BY `unit` DESC [ RunTime:0.007846s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 16496 LIMIT 2 [ RunTime:0.005905s ]
SELECT * FROM `stock_price` WHERE `stockid` = 16496 ORDER BY `minOrder` ASC [ RunTime:0.003221s ]
select * from pdf where partno='RUEF185' and brandshort='LITTELFUSE' limit 1 [ RunTime:0.019394s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'RUEF185' OR `brand` LIKE 'LITTELFUSE%' ) ) LIMIT 1 [ RunTime:0.038150s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 15605 LIMIT 5 [ RunTime:0.009304s ]
SELECT * FROM `stock_price` WHERE `stockid` = 15605 ORDER BY `minOrder` ASC [ RunTime:0.033620s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 15605 ORDER BY `unit` DESC [ RunTime:0.069535s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 15605 LIMIT 2 [ RunTime:0.021640s ]
SELECT * FROM `stock_price` WHERE `stockid` = 15605 ORDER BY `minOrder` ASC [ RunTime:0.014802s ]
select * from pdf where partno='MF-NSMF020-2' and brandshort='BOURNS' limit 1 [ RunTime:0.054778s ]
select foldpath,foldpath2,filename from pdf_file where id=595703 limit 1 [ RunTime:0.006137s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'MF-NSMF020-2' OR `brand` LIKE 'BOURNS%' ) ) LIMIT 1 [ RunTime:0.006607s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 15476 LIMIT 5 [ RunTime:0.039240s ]
SELECT * FROM `stock_price` WHERE `stockid` = 15476 ORDER BY `minOrder` ASC [ RunTime:0.033412s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 15476 ORDER BY `unit` DESC [ RunTime:0.020228s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 15476 LIMIT 2 [ RunTime:0.055740s ]
SELECT * FROM `stock_price` WHERE `stockid` = 15476 ORDER BY `minOrder` ASC [ RunTime:0.010296s ]
select * from pdf where partno='RUEF185' and brandshort='LITTELFUSE' limit 1 [ RunTime:0.049834s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'RUEF185' OR `brand` LIKE 'LITTELFUSE%' ) ) LIMIT 1 [ RunTime:0.014431s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 960 LIMIT 5 [ RunTime:0.041838s ]
SELECT * FROM `stock_price` WHERE `stockid` = 960 ORDER BY `minOrder` ASC [ RunTime:0.045766s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 960 ORDER BY `unit` DESC [ RunTime:0.020173s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 960 LIMIT 2 [ RunTime:0.025436s ]
SELECT * FROM `stock_price` WHERE `stockid` = 960 ORDER BY `minOrder` ASC [ RunTime:0.021850s ]
select * from pdf where partno='RUEF185' and brandshort='LITTELFUSE' limit 1 [ RunTime:0.033497s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'RUEF185' OR `brand` LIKE 'LITTELFUSE%' ) ) LIMIT 1 [ RunTime:0.013465s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 1682 LIMIT 5 [ RunTime:0.024904s ]
SELECT * FROM `stock_price` WHERE `stockid` = 1682 ORDER BY `minOrder` ASC [ RunTime:0.088574s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 1682 ORDER BY `unit` DESC [ RunTime:0.055596s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 1682 LIMIT 2 [ RunTime:0.050938s ]
SELECT * FROM `stock_price` WHERE `stockid` = 1682 ORDER BY `minOrder` ASC [ RunTime:0.010293s ]
select * from pdf where partno='SMD185F-2' and brandshort='LITTELFUSE' limit 1 [ RunTime:0.066787s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'SMD185F-2' OR `brand` LIKE 'LITTELFUSE%' ) ) LIMIT 1 [ RunTime:0.039872s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 961 LIMIT 5 [ RunTime:0.048964s ]
SELECT * FROM `stock_price` WHERE `stockid` = 961 ORDER BY `minOrder` ASC [ RunTime:0.042912s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 961 ORDER BY `unit` DESC [ RunTime:0.035397s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 961 LIMIT 2 [ RunTime:0.073733s ]
SELECT * FROM `stock_price` WHERE `stockid` = 961 ORDER BY `minOrder` ASC [ RunTime:0.014872s ]
select * from pdf where partno='RXEF050' and brandshort='LITTELFUSE' limit 1 [ RunTime:0.029494s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'RXEF050' OR `brand` LIKE 'LITTELFUSE%' ) ) LIMIT 1 [ RunTime:0.023676s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 1683 LIMIT 5 [ RunTime:0.022248s ]
SELECT * FROM `stock_price` WHERE `stockid` = 1683 ORDER BY `minOrder` ASC [ RunTime:0.014450s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 1683 ORDER BY `unit` DESC [ RunTime:0.049432s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 1683 LIMIT 2 [ RunTime:0.040047s ]
SELECT * FROM `stock_price` WHERE `stockid` = 1683 ORDER BY `minOrder` ASC [ RunTime:0.012105s ]
select * from pdf where partno='SMD260F-2' and brandshort='LITTELFUSE' limit 1 [ RunTime:0.045810s ]
select foldpath,foldpath2,filename from pdf_file where id=1638855 limit 1 [ RunTime:0.022954s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'SMD260F-2' OR `brand` LIKE 'LITTELFUSE%' ) ) LIMIT 1 [ RunTime:0.017216s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 1681 LIMIT 5 [ RunTime:0.013257s ]
SELECT * FROM `stock_price` WHERE `stockid` = 1681 ORDER BY `minOrder` ASC [ RunTime:0.014655s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 1681 ORDER BY `unit` DESC [ RunTime:0.002660s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 1681 LIMIT 2 [ RunTime:0.022476s ]
SELECT * FROM `stock_price` WHERE `stockid` = 1681 ORDER BY `minOrder` ASC [ RunTime:0.001991s ]
select * from pdf where partno='SMD150F/33-2' and brandshort='LITTELFUSE' limit 1 [ RunTime:0.015285s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'SMD150F/33-2' OR `brand` LIKE 'LITTELFUSE%' ) ) LIMIT 1 [ RunTime:0.035508s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 14295 LIMIT 5 [ RunTime:0.019694s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14295 ORDER BY `minOrder` ASC [ RunTime:0.016270s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 14295 ORDER BY `unit` DESC [ RunTime:0.011675s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 14295 LIMIT 2 [ RunTime:0.017198s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14295 ORDER BY `minOrder` ASC [ RunTime:0.001896s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'MF-R025' OR `brand` LIKE 'BOURNS%' ) ) LIMIT 1 [ RunTime:0.010242s ]
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` = '152' ) ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.007096s ]
SELECT brand, count(*) as count FROM ( SELECT `brand` FROM `stock` `s` WHERE ( `lockUser` = 0 AND `isDisplay` = 1 AND `s`.`categoryid` = '152' ) LIMIT 14 ) tmp GROUP BY `brand` [ RunTime:0.019716s ]