SHOW FULL COLUMNS FROM `visit_log` [ RunTime:0.002731s ]
INSERT INTO `visit_log` SET `ip` = '216.73.216.60' , `useragent` = 'Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)' , `reffer` = '' [ RunTime:0.005318s ]
SHOW FULL COLUMNS FROM `product_type` [ RunTime:0.001240s ]
SELECT `id`,`typeid`,`name`,`typestr` FROM `product_type` WHERE `id` NOT IN (11,12,13,14,15) AND `id` <= 750 [ RunTime:0.003538s ]
SHOW FULL COLUMNS FROM `o_cart` [ RunTime:0.001752s ]
SELECT COUNT(*) AS think_count FROM `o_cart` WHERE ( `userId` = 0 AND `visitIP` = '216.73.216.60' ) [ RunTime:0.000962s ]
SHOW FULL COLUMNS FROM `ad` [ RunTime:0.001593s ]
SELECT * FROM `ad` WHERE `isDisplay` = 1 [ RunTime:0.007336s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `id` = 293 LIMIT 1 [ RunTime:0.000516s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `typeid` = 293 [ RunTime:0.000259s ]
SELECT `id`,`name` FROM `product_type` WHERE `typeid` = 30 [ RunTime:0.000202s ]
SHOW FULL COLUMNS FROM `stock` [ RunTime:0.002154s ]
SELECT COUNT(*) AS think_count FROM `stock` `s` INNER JOIN `user` `u` ON `s`.`userid`=`u`.`stockuserid` WHERE ( `status` <> 2 AND `categoryid` = 293 ) AND `u`.`lockUser` = '0' [ RunTime:0.006247s ]
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` = 293 ) ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.011396s ]
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 ('13800','7171','15179','15074','10219','1978','9791','9697','10213','9792') ORDER BY FIELD(s.id, 13800,7171,15179,15074,10219,1978,9791,9697,10213,9792) [ RunTime:0.010188s ]
SHOW FULL COLUMNS FROM `stock_pra` [ RunTime:0.004832s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 13800 LIMIT 4 [ RunTime:0.008728s ]
SHOW FULL COLUMNS FROM `stock_price` [ RunTime:0.009850s ]
SELECT * FROM `stock_price` WHERE `stockid` = 13800 ORDER BY `minOrder` ASC [ RunTime:0.008691s ]
SHOW FULL COLUMNS FROM `stock_unitquantity` [ RunTime:0.003273s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 13800 ORDER BY `unit` DESC [ RunTime:0.001610s ]
SHOW FULL COLUMNS FROM `stock_warehousequantity` [ RunTime:0.002407s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 13800 LIMIT 2 [ RunTime:0.007571s ]
SELECT * FROM `stock_price` WHERE `stockid` = 13800 ORDER BY `minOrder` ASC [ RunTime:0.000599s ]
SHOW FULL COLUMNS FROM `stock_pra_lib` [ RunTime:0.002177s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'MFP201N-RA' OR `brand` LIKE 'KNITTER-SWITCH%' ) ) LIMIT 1 [ RunTime:0.007137s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 7171 LIMIT 4 [ RunTime:0.003388s ]
SELECT * FROM `stock_price` WHERE `stockid` = 7171 ORDER BY `minOrder` ASC [ RunTime:0.008391s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 7171 ORDER BY `unit` DESC [ RunTime:0.003628s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 7171 LIMIT 2 [ RunTime:0.005475s ]
SELECT * FROM `stock_price` WHERE `stockid` = 7171 ORDER BY `minOrder` ASC [ RunTime:0.001574s ]
select * from pdf where partno='OS102011MA1QS1' and brandshort='C&K COMPONENTS' limit 1 [ RunTime:0.003939s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'OS102011MA1QS1' OR `brand` LIKE 'C&K COMPONENTS%' ) ) LIMIT 1 [ RunTime:0.007421s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 15179 LIMIT 4 [ RunTime:0.002822s ]
SELECT * FROM `stock_price` WHERE `stockid` = 15179 ORDER BY `minOrder` ASC [ RunTime:0.001351s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 15179 ORDER BY `unit` DESC [ RunTime:0.000712s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 15179 LIMIT 2 [ RunTime:0.000783s ]
SELECT * FROM `stock_price` WHERE `stockid` = 15179 ORDER BY `minOrder` ASC [ RunTime:0.005395s ]
select * from pdf where partno='EG2308' and brandshort='E-SWITCH' limit 1 [ RunTime:0.002395s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'EG2308' OR `brand` LIKE 'E-SWITCH%' ) ) LIMIT 1 [ RunTime:0.003843s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 15074 LIMIT 4 [ RunTime:0.002360s ]
SELECT * FROM `stock_price` WHERE `stockid` = 15074 ORDER BY `minOrder` ASC [ RunTime:0.000819s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 15074 ORDER BY `unit` DESC [ RunTime:0.000434s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 15074 LIMIT 2 [ RunTime:0.000348s ]
SELECT * FROM `stock_price` WHERE `stockid` = 15074 ORDER BY `minOrder` ASC [ RunTime:0.001259s ]
select * from pdf where partno='EG2308' and brandshort='E-SWITCH' limit 1 [ RunTime:0.000444s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'EG2308' OR `brand` LIKE 'E-SWITCH%' ) ) LIMIT 1 [ RunTime:0.000281s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 10219 LIMIT 4 [ RunTime:0.000350s ]
SELECT * FROM `stock_price` WHERE `stockid` = 10219 ORDER BY `minOrder` ASC [ RunTime:0.003340s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 10219 ORDER BY `unit` DESC [ RunTime:0.003154s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 10219 LIMIT 2 [ RunTime:0.011045s ]
SELECT * FROM `stock_price` WHERE `stockid` = 10219 ORDER BY `minOrder` ASC [ RunTime:0.001594s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'CAS-D20B.' OR `brand` LIKE 'NIDEC COMPONENTS%' ) ) LIMIT 1 [ RunTime:0.008519s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 1978 LIMIT 4 [ RunTime:0.005630s ]
SELECT * FROM `stock_price` WHERE `stockid` = 1978 ORDER BY `minOrder` ASC [ RunTime:0.000890s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 1978 ORDER BY `unit` DESC [ RunTime:0.000394s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 1978 LIMIT 2 [ RunTime:0.000975s ]
SELECT * FROM `stock_price` WHERE `stockid` = 1978 ORDER BY `minOrder` ASC [ RunTime:0.007827s ]
select * from pdf where partno='1103M2S3CQE2' and brandshort='C&K COMPONENTS' limit 1 [ RunTime:0.007735s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '1103M2S3CQE2' OR `brand` LIKE 'C&K COMPONENTS%' ) ) LIMIT 1 [ RunTime:0.010748s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 9791 LIMIT 4 [ RunTime:0.006478s ]
SELECT * FROM `stock_price` WHERE `stockid` = 9791 ORDER BY `minOrder` ASC [ RunTime:0.003037s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 9791 ORDER BY `unit` DESC [ RunTime:0.000513s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 9791 LIMIT 2 [ RunTime:0.007310s ]
SELECT * FROM `stock_price` WHERE `stockid` = 9791 ORDER BY `minOrder` ASC [ RunTime:0.005137s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'CL-SB-22B-11T' OR `brand` LIKE 'NIDEC COMPONENTS%' ) ) LIMIT 1 [ RunTime:0.008299s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 9697 LIMIT 4 [ RunTime:0.009527s ]
SELECT * FROM `stock_price` WHERE `stockid` = 9697 ORDER BY `minOrder` ASC [ RunTime:0.008725s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 9697 ORDER BY `unit` DESC [ RunTime:0.001765s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 9697 LIMIT 2 [ RunTime:0.000628s ]
SELECT * FROM `stock_price` WHERE `stockid` = 9697 ORDER BY `minOrder` ASC [ RunTime:0.002075s ]
select * from pdf where partno='EG2308' and brandshort='E-SWITCH' limit 1 [ RunTime:0.005904s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'EG2308' OR `brand` LIKE 'E-SWITCH%' ) ) LIMIT 1 [ RunTime:0.002272s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 10213 LIMIT 4 [ RunTime:0.002678s ]
SELECT * FROM `stock_price` WHERE `stockid` = 10213 ORDER BY `minOrder` ASC [ RunTime:0.007089s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 10213 ORDER BY `unit` DESC [ RunTime:0.007692s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 10213 LIMIT 2 [ RunTime:0.002687s ]
SELECT * FROM `stock_price` WHERE `stockid` = 10213 ORDER BY `minOrder` ASC [ RunTime:0.004887s ]
select * from pdf where partno='JS102011JCQN' and brandshort='C&K COMPONENTS' limit 1 [ RunTime:0.004195s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'JS102011JCQN' OR `brand` LIKE 'C&K COMPONENTS%' ) ) LIMIT 1 [ RunTime:0.008793s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 9792 LIMIT 4 [ RunTime:0.002424s ]
SELECT * FROM `stock_price` WHERE `stockid` = 9792 ORDER BY `minOrder` ASC [ RunTime:0.001431s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 9792 ORDER BY `unit` DESC [ RunTime:0.002505s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 9792 LIMIT 2 [ RunTime:0.000648s ]
SELECT * FROM `stock_price` WHERE `stockid` = 9792 ORDER BY `minOrder` ASC [ RunTime:0.000459s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'MFS101D-14-Z' OR `brand` LIKE 'NIDEC COMPONENTS%' ) ) LIMIT 1 [ RunTime:0.008166s ]
SELECT brand, count(*) as count FROM `stock` WHERE ( `status` <> 2 AND `categoryid` = 293 ) AND `brand` IS NOT NULL AND `brand` <> '' GROUP BY `brand` ORDER BY `count` DESC LIMIT 10000 [ RunTime:0.007733s ]