SHOW FULL COLUMNS FROM `visit_log` [ RunTime:0.001833s ]
INSERT INTO `visit_log` SET `ip` = '216.73.216.133' , `useragent` = 'Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)' , `reffer` = '' , `host` = 'https://www.ic118.com/stock?typeid=100' [ RunTime:0.029371s ]
SHOW FULL COLUMNS FROM `product_type` [ RunTime:0.001671s ]
SELECT `id`,`typeid`,`name`,`typestr` FROM `product_type` WHERE `id` NOT IN (11,12,13,14,15) AND `id` <= 750 [ RunTime:0.008303s ]
SHOW FULL COLUMNS FROM `o_cart` [ RunTime:0.002316s ]
SELECT COUNT(*) AS think_count FROM `o_cart` WHERE ( `userId` = 0 AND `visitIP` = '216.73.216.133' ) [ RunTime:0.000537s ]
SHOW FULL COLUMNS FROM `ad` [ RunTime:0.001257s ]
SELECT * FROM `ad` WHERE `isDisplay` = 1 [ RunTime:0.002356s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `typeid` = 100 [ RunTime:0.018955s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `id` = 100 LIMIT 1 [ RunTime:0.007239s ]
SHOW FULL COLUMNS FROM `stock` [ RunTime:0.001824s ]
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` = '100' ) ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.026113s ]
SHOW FULL COLUMNS FROM `stock_pra` [ RunTime:0.002665s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 14922 LIMIT 5 [ RunTime:0.009933s ]
SHOW FULL COLUMNS FROM `stock_price` [ RunTime:0.001436s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14922 ORDER BY `minOrder` ASC [ RunTime:0.018886s ]
SHOW FULL COLUMNS FROM `stock_unitquantity` [ RunTime:0.002061s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 14922 ORDER BY `unit` DESC [ RunTime:0.001997s ]
SHOW FULL COLUMNS FROM `stock_warehousequantity` [ RunTime:0.001729s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 14922 LIMIT 2 [ RunTime:0.005159s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14922 ORDER BY `minOrder` ASC [ RunTime:0.013439s ]
select * from pdf where partno='PIC16F886-I/SS' and brandshort='MICROCHIP' limit 1 [ RunTime:0.005791s ]
select foldpath,foldpath2,filename from pdf_file where id=882365 limit 1 [ RunTime:0.016387s ]
SHOW FULL COLUMNS FROM `stock_pra_lib` [ RunTime:0.002028s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'PIC16F886-I/SS' OR `brand` LIKE 'MICROCHIP%' ) ) LIMIT 1 [ RunTime:0.014168s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 14985 LIMIT 5 [ RunTime:0.005514s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14985 ORDER BY `minOrder` ASC [ RunTime:0.002551s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 14985 ORDER BY `unit` DESC [ RunTime:0.005386s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 14985 LIMIT 2 [ RunTime:0.001507s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14985 ORDER BY `minOrder` ASC [ RunTime:0.001357s ]
select * from pdf where partno='PIC12F1501T-I/MC' and brandshort='MICROCHIP' limit 1 [ RunTime:0.000687s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'PIC12F1501T-I/MC' OR `brand` LIKE 'MICROCHIP%' ) ) LIMIT 1 [ RunTime:0.001263s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 14999 LIMIT 5 [ RunTime:0.000442s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14999 ORDER BY `minOrder` ASC [ RunTime:0.005639s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 14999 ORDER BY `unit` DESC [ RunTime:0.010714s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 14999 LIMIT 2 [ RunTime:0.009137s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14999 ORDER BY `minOrder` ASC [ RunTime:0.000904s ]
select * from pdf where partno='STM32F407VGT6' and brandshort='ST' limit 1 [ RunTime:0.002430s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'STM32F407VGT6' OR `brand` LIKE 'ST%' ) ) LIMIT 1 [ RunTime:0.010292s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 14923 LIMIT 5 [ RunTime:0.014407s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14923 ORDER BY `minOrder` ASC [ RunTime:0.032407s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 14923 ORDER BY `unit` DESC [ RunTime:0.012069s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 14923 LIMIT 2 [ RunTime:0.010081s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14923 ORDER BY `minOrder` ASC [ RunTime:0.001431s ]
select * from pdf where partno='PIC16F887-I/PT' and brandshort='MICROCHIP' limit 1 [ RunTime:0.002960s ]
select foldpath,foldpath2,filename from pdf_file where id=882365 limit 1 [ RunTime:0.000289s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'PIC16F887-I/PT' OR `brand` LIKE 'MICROCHIP%' ) ) LIMIT 1 [ RunTime:0.000319s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 14998 LIMIT 5 [ RunTime:0.001837s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14998 ORDER BY `minOrder` ASC [ RunTime:0.000292s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 14998 ORDER BY `unit` DESC [ RunTime:0.004035s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 14998 LIMIT 2 [ RunTime:0.003442s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14998 ORDER BY `minOrder` ASC [ RunTime:0.001148s ]
select * from pdf where partno='STM32F407VET6' and brandshort='ST' limit 1 [ RunTime:0.004053s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'STM32F407VET6' OR `brand` LIKE 'ST%' ) ) LIMIT 1 [ RunTime:0.000263s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 14938 LIMIT 5 [ RunTime:0.002636s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14938 ORDER BY `minOrder` ASC [ RunTime:0.002919s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 14938 ORDER BY `unit` DESC [ RunTime:0.000977s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 14938 LIMIT 2 [ RunTime:0.001129s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14938 ORDER BY `minOrder` ASC [ RunTime:0.005209s ]
select * from pdf where partno='STM32H743VIT6' and brandshort='ST' limit 1 [ RunTime:0.002294s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'STM32H743VIT6' OR `brand` LIKE 'ST%' ) ) LIMIT 1 [ RunTime:0.007715s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 14989 LIMIT 5 [ RunTime:0.001540s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14989 ORDER BY `minOrder` ASC [ RunTime:0.002195s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 14989 ORDER BY `unit` DESC [ RunTime:0.000598s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 14989 LIMIT 2 [ RunTime:0.007875s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14989 ORDER BY `minOrder` ASC [ RunTime:0.014689s ]
select * from pdf where partno='LFE2M20E-6FN256C-5I' and brandshort='LATTICE' limit 1 [ RunTime:0.003401s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'LFE2M20E-6FN256C-5I' OR `brand` LIKE 'LATTICE%' ) ) LIMIT 1 [ RunTime:0.002951s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 14988 LIMIT 5 [ RunTime:0.005593s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14988 ORDER BY `minOrder` ASC [ RunTime:0.002050s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 14988 ORDER BY `unit` DESC [ RunTime:0.000242s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 14988 LIMIT 2 [ RunTime:0.001509s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14988 ORDER BY `minOrder` ASC [ RunTime:0.002342s ]
select * from pdf where partno='TMS320DM8127BCYE1' and brandshort='TI' limit 1 [ RunTime:0.000349s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'TMS320DM8127BCYE1' OR `brand` LIKE 'TI%' ) ) LIMIT 1 [ RunTime:0.000284s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 14987 LIMIT 5 [ RunTime:0.000201s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14987 ORDER BY `minOrder` ASC [ RunTime:0.000224s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 14987 ORDER BY `unit` DESC [ RunTime:0.000207s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 14987 LIMIT 2 [ RunTime:0.000196s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14987 ORDER BY `minOrder` ASC [ RunTime:0.000190s ]
select * from pdf where partno='CY8C5868AXI-LP035' and brandshort='CYPRESS' limit 1 [ RunTime:0.000248s ]
select foldpath,foldpath2,filename from pdf_file where id=1087426 limit 1 [ RunTime:0.000189s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'CY8C5868AXI-LP035' OR `brand` LIKE 'CYPRESS%' ) ) LIMIT 1 [ RunTime:0.000200s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 14986 LIMIT 5 [ RunTime:0.001758s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14986 ORDER BY `minOrder` ASC [ RunTime:0.000226s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 14986 ORDER BY `unit` DESC [ RunTime:0.000191s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 14986 LIMIT 2 [ RunTime:0.000193s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14986 ORDER BY `minOrder` ASC [ RunTime:0.000191s ]
select * from pdf where partno='EP3C120F780C7N' and brandshort='ALTERA' limit 1 [ RunTime:0.000249s ]
select foldpath,foldpath2,filename from pdf_file where id=1114110 limit 1 [ RunTime:0.000204s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'EP3C120F780C7N' OR `brand` LIKE 'ALTERA%' ) ) LIMIT 1 [ RunTime:0.000207s ]
SELECT `id` FROM `stock` WHERE `id` <> 14986 AND `partno` = 'EP3C120F780C7N' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%altera%' ) [ RunTime:0.000253s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 16127741 [ RunTime:0.000203s ]
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` = '100' ) ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.000275s ]
SELECT brand, count(*) as count FROM ( SELECT `brand` FROM `stock` `s` WHERE ( `lockUser` = 0 AND `isDisplay` = 1 AND `s`.`categoryid` = '100' ) LIMIT 10 ) tmp GROUP BY `brand` [ RunTime:0.000281s ]