SHOW FULL COLUMNS FROM `visit_log` [ RunTime:0.001435s ]
INSERT INTO `visit_log` SET `ip` = '216.73.217.174' , `useragent` = 'Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)' , `reffer` = '' [ RunTime:0.002931s ]
SHOW FULL COLUMNS FROM `product_type` [ RunTime:0.001310s ]
SELECT `id`,`typeid`,`name`,`typestr` FROM `product_type` WHERE `id` NOT IN (11,12,13,14,15) AND `id` <= 750 [ RunTime:0.000586s ]
SHOW FULL COLUMNS FROM `o_cart` [ RunTime:0.001187s ]
SELECT COUNT(*) AS think_count FROM `o_cart` WHERE ( `userId` = 0 AND `visitIP` = '216.73.217.174' ) [ RunTime:0.000269s ]
SHOW FULL COLUMNS FROM `ad` [ RunTime:0.001846s ]
SELECT * FROM `ad` WHERE `isDisplay` = 1 [ RunTime:0.000214s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `id` = 309 LIMIT 1 [ RunTime:0.000267s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `typeid` = 309 [ RunTime:0.000185s ]
SELECT `id`,`name` FROM `product_type` WHERE `typeid` = 31 [ RunTime:0.000186s ]
SHOW FULL COLUMNS FROM `stock` [ RunTime:0.001279s ]
SELECT COUNT(*) AS think_count FROM `stock` `s` INNER JOIN `user` `u` ON `s`.`userid`=`u`.`stockuserid` WHERE ( `status` <> 2 AND `categoryid` = 309 ) AND `u`.`lockUser` = '0' [ RunTime:0.001625s ]
SELECT `s`.`id` FROM `stock` `s` INNER JOIN `user` `u` ON `s`.`userid`=`u`.`stockuserid` WHERE `u`.`lockUser` = '0' AND ( (s.isDisplay = 1) ) AND ( `status` <> 2 AND `categoryid` = 309 ) ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.001164s ]
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` INNER JOIN `user` `u` ON `s`.`userid`=`u`.`stockuserid` LEFT JOIN `product_type` `t` ON `t`.`id`=`s`.`categoryid` WHERE `u`.`lockUser` = '0' AND ( (s.isDisplay = 1) ) AND `s`.`id` IN ('3478','16558','15538','4191','3688','4192','4472','4432','4473','3479','7985','10299','3557') ORDER BY FIELD(s.id, 3478,16558,15538,4191,3688,4192,4472,4432,4473,3479,7985,10299,3557) [ RunTime:0.001390s ]
SHOW FULL COLUMNS FROM `stock_pra` [ RunTime:0.001137s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 3478 LIMIT 4 [ RunTime:0.000351s ]
SHOW FULL COLUMNS FROM `stock_price` [ RunTime:0.002856s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3478 ORDER BY `minOrder` ASC [ RunTime:0.000731s ]
SHOW FULL COLUMNS FROM `stock_unitquantity` [ RunTime:0.001744s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 3478 ORDER BY `unit` DESC [ RunTime:0.000306s ]
SHOW FULL COLUMNS FROM `stock_warehousequantity` [ RunTime:0.001714s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 3478 LIMIT 2 [ RunTime:0.001112s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3478 ORDER BY `minOrder` ASC [ RunTime:0.001980s ]
SHOW FULL COLUMNS FROM `stock_pra_lib` [ RunTime:0.000959s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'MCP4651-103E/ST' OR `brand` LIKE 'MICROCHIP%' ) ) LIMIT 1 [ RunTime:0.009422s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 16558 LIMIT 4 [ RunTime:0.002783s ]
SELECT * FROM `stock_price` WHERE `stockid` = 16558 ORDER BY `minOrder` ASC [ RunTime:0.000720s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 16558 ORDER BY `unit` DESC [ RunTime:0.000266s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 16558 LIMIT 2 [ RunTime:0.003093s ]
SELECT * FROM `stock_price` WHERE `stockid` = 16558 ORDER BY `minOrder` ASC [ RunTime:0.007508s ]
select * from pdf where partno='MCP4651-103E/ST' and brandshort='MICROCHIP' limit 1 [ RunTime:0.007965s ]
select foldpath,foldpath2,filename from pdf_file where id=1007320 limit 1 [ RunTime:0.004170s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'MCP4651-103E/ST' OR `brand` LIKE 'MICROCHIP%' ) ) LIMIT 1 [ RunTime:0.000440s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 15538 LIMIT 4 [ RunTime:0.006564s ]
SELECT * FROM `stock_price` WHERE `stockid` = 15538 ORDER BY `minOrder` ASC [ RunTime:0.003039s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 15538 ORDER BY `unit` DESC [ RunTime:0.001063s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 15538 LIMIT 2 [ RunTime:0.001132s ]
SELECT * FROM `stock_price` WHERE `stockid` = 15538 ORDER BY `minOrder` ASC [ RunTime:0.000316s ]
select * from pdf where partno='MCP4651-103E/ST' and brandshort='MICROCHIP' limit 1 [ RunTime:0.001079s ]
select foldpath,foldpath2,filename from pdf_file where id=1007320 limit 1 [ RunTime:0.000441s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'MCP4651-103E/ST' OR `brand` LIKE 'MICROCHIP%' ) ) LIMIT 1 [ RunTime:0.000572s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 4191 LIMIT 4 [ RunTime:0.000748s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4191 ORDER BY `minOrder` ASC [ RunTime:0.002339s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 4191 ORDER BY `unit` DESC [ RunTime:0.002357s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 4191 LIMIT 2 [ RunTime:0.018474s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4191 ORDER BY `minOrder` ASC [ RunTime:0.002664s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'MCP40D17T-103E/LT' OR `brand` LIKE 'MICROCHIP%' ) ) LIMIT 1 [ RunTime:0.023251s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 3688 LIMIT 4 [ RunTime:0.018828s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3688 ORDER BY `minOrder` ASC [ RunTime:0.026615s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 3688 ORDER BY `unit` DESC [ RunTime:0.024284s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 3688 LIMIT 2 [ RunTime:0.009140s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3688 ORDER BY `minOrder` ASC [ RunTime:0.007239s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'MCP4017T-103E/LT' OR `brand` LIKE 'MICROCHIP%' ) ) LIMIT 1 [ RunTime:0.043356s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 4192 LIMIT 4 [ RunTime:0.005239s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4192 ORDER BY `minOrder` ASC [ RunTime:0.011442s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 4192 ORDER BY `unit` DESC [ RunTime:0.018650s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 4192 LIMIT 2 [ RunTime:0.016431s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4192 ORDER BY `minOrder` ASC [ RunTime:0.000635s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'MCP40D18T-502E/LT' OR `brand` LIKE 'MICROCHIP%' ) ) LIMIT 1 [ RunTime:0.032985s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 4472 LIMIT 4 [ RunTime:0.022386s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4472 ORDER BY `minOrder` ASC [ RunTime:0.005936s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 4472 ORDER BY `unit` DESC [ RunTime:0.003789s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 4472 LIMIT 2 [ RunTime:0.000762s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4472 ORDER BY `minOrder` ASC [ RunTime:0.000458s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'MCP4652-104E/UN' OR `brand` LIKE 'MICROCHIP%' ) ) LIMIT 1 [ RunTime:0.031480s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 4432 LIMIT 4 [ RunTime:0.004763s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4432 ORDER BY `minOrder` ASC [ RunTime:0.003292s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 4432 ORDER BY `unit` DESC [ RunTime:0.015867s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 4432 LIMIT 2 [ RunTime:0.015987s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4432 ORDER BY `minOrder` ASC [ RunTime:0.001082s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'MCP4011-202E/SN' OR `brand` LIKE 'MICROCHIP%' ) ) LIMIT 1 [ RunTime:0.025654s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 4473 LIMIT 4 [ RunTime:0.016908s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4473 ORDER BY `minOrder` ASC [ RunTime:0.004729s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 4473 ORDER BY `unit` DESC [ RunTime:0.015237s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 4473 LIMIT 2 [ RunTime:0.006920s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4473 ORDER BY `minOrder` ASC [ RunTime:0.000968s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'MCP4151-103E/SN' OR `brand` LIKE 'MICROCHIP%' ) ) LIMIT 1 [ RunTime:0.022549s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 3479 LIMIT 4 [ RunTime:0.000738s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3479 ORDER BY `minOrder` ASC [ RunTime:0.000698s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 3479 ORDER BY `unit` DESC [ RunTime:0.000417s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 3479 LIMIT 2 [ RunTime:0.000596s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3479 ORDER BY `minOrder` ASC [ RunTime:0.002835s ]
select * from pdf where partno='MCP4661-103E/ST' and brandshort='MICROCHIP' limit 1 [ RunTime:0.005266s ]
select foldpath,foldpath2,filename from pdf_file where id=1007323 limit 1 [ RunTime:0.000534s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'MCP4661-103E/ST' OR `brand` LIKE 'MICROCHIP%' ) ) LIMIT 1 [ RunTime:0.006675s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 7985 LIMIT 4 [ RunTime:0.001236s ]
SELECT * FROM `stock_price` WHERE `stockid` = 7985 ORDER BY `minOrder` ASC [ RunTime:0.002063s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 7985 ORDER BY `unit` DESC [ RunTime:0.011838s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 7985 LIMIT 2 [ RunTime:0.000817s ]
SELECT * FROM `stock_price` WHERE `stockid` = 7985 ORDER BY `minOrder` ASC [ RunTime:0.000478s ]
select * from pdf where partno='DS1881E-050+' and brandshort='ANALOG DEVICES' limit 1 [ RunTime:0.004655s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'DS1881E-050+' OR `brand` LIKE 'ANALOG DEVICES%' ) ) LIMIT 1 [ RunTime:0.003989s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 10299 LIMIT 4 [ RunTime:0.011612s ]
SELECT * FROM `stock_price` WHERE `stockid` = 10299 ORDER BY `minOrder` ASC [ RunTime:0.012932s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 10299 ORDER BY `unit` DESC [ RunTime:0.003508s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 10299 LIMIT 2 [ RunTime:0.001155s ]
SELECT * FROM `stock_price` WHERE `stockid` = 10299 ORDER BY `minOrder` ASC [ RunTime:0.005504s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'X95820WV14IZ-2.7T1' OR `brand` LIKE 'RENESAS%' ) ) LIMIT 1 [ RunTime:0.008045s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 3557 LIMIT 4 [ RunTime:0.000798s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3557 ORDER BY `minOrder` ASC [ RunTime:0.000747s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 3557 ORDER BY `unit` DESC [ RunTime:0.003077s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 3557 LIMIT 2 [ RunTime:0.006937s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3557 ORDER BY `minOrder` ASC [ RunTime:0.003778s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'MCP4551-103E/MS' OR `brand` LIKE 'MICROCHIP%' ) ) LIMIT 1 [ RunTime:0.010946s ]
SELECT brand, count(*) as count FROM `stock` WHERE ( `status` <> 2 AND `categoryid` = 309 ) AND `brand` IS NOT NULL AND `brand` <> '' GROUP BY `brand` ORDER BY `count` DESC LIMIT 10000 [ RunTime:0.003966s ]