SHOW FULL COLUMNS FROM `product_type` [ RunTime:0.001451s ]
SELECT `id`,`typeid`,`name`,`typestr` FROM `product_type` WHERE `id` NOT IN (11,12,13,14,15) AND `id` <= 750 [ RunTime:0.003191s ]
SHOW FULL COLUMNS FROM `o_cart` [ RunTime:0.002455s ]
SELECT COUNT(*) AS think_count FROM `o_cart` WHERE ( `userId` = 0 AND `visitIP` = '216.73.216.252' ) [ RunTime:0.000555s ]
SHOW FULL COLUMNS FROM `ad` [ RunTime:0.001505s ]
SELECT * FROM `ad` WHERE `isDisplay` = 1 [ RunTime:0.003942s ]
SHOW FULL COLUMNS FROM `stock_search` [ RunTime:0.002379s ]
SELECT * FROM `stock_search` WHERE `partno` = 'MCP4661-103E/ST' LIMIT 1 [ RunTime:0.003348s ]
UPDATE `stock_search` SET `count` = 10918 , `updatetime` = '2026-05-30 19:30:56' WHERE `partno` = 'MCP4661-103E/ST' [ RunTime:0.020698s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `id` = 0 LIMIT 1 [ RunTime:0.015247s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `typeid` = 0 [ RunTime:0.000243s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `typeid` IN (1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,800,1068,1296,1456,1822,1929,2017,2101,2342,2393,2475,2518,2568) [ RunTime:0.026895s ]
SHOW FULL COLUMNS FROM `stock` [ RunTime:0.001546s ]
SELECT COUNT(*) AS think_count FROM `stock` `s` INNER JOIN `user` `u` ON `s`.`userid`=`u`.`stockuserid` WHERE ( `partno` LIKE 'MCP4661-103E/ST%' AND `status` <> 2 ) AND `u`.`lockUser` = '0' [ RunTime:0.015055s ]
SELECT `s`.`id` FROM `stock` `s` INNER JOIN `user` `u` ON `s`.`userid`=`u`.`stockuserid` WHERE `u`.`lockUser` = '0' AND ( (s.isDisplay = 1) ) AND ( `partno` LIKE 'MCP4661-103E/ST%' AND `status` <> 2 ) ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.018989s ]
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 ('25215507','20181189','16141778','3479') ORDER BY FIELD(s.id, 25215507,20181189,16141778,3479) [ RunTime:0.030221s ]
SHOW FULL COLUMNS FROM `stock_pra` [ RunTime:0.002896s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 25215507 LIMIT 4 [ RunTime:0.017269s ]
SHOW FULL COLUMNS FROM `stock_price` [ RunTime:0.003284s ]
SELECT * FROM `stock_price` WHERE `stockid` = 25215507 ORDER BY `minOrder` ASC [ RunTime:0.016089s ]
SHOW FULL COLUMNS FROM `stock_unitquantity` [ RunTime:0.002026s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 25215507 ORDER BY `unit` DESC [ RunTime:0.007459s ]
SHOW FULL COLUMNS FROM `stock_warehousequantity` [ RunTime:0.002256s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 25215507 LIMIT 2 [ RunTime:0.008488s ]
SELECT * FROM `stock_price` WHERE `stockid` = 25215507 ORDER BY `minOrder` ASC [ RunTime:0.002342s ]
select * from pdf where partno='MCP4661-103E/ST' and brandshort='Microchip Technology' limit 1 [ RunTime:0.014772s ]
SHOW FULL COLUMNS FROM `stock_pra_lib` [ RunTime:0.001283s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'MCP4661-103E/ST' OR `brand` LIKE 'Microchip Technology%' ) ) LIMIT 1 [ RunTime:0.011724s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 20181189 LIMIT 4 [ RunTime:0.008337s ]
SELECT * FROM `stock_price` WHERE `stockid` = 20181189 ORDER BY `minOrder` ASC [ RunTime:0.009057s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 20181189 ORDER BY `unit` DESC [ RunTime:0.003082s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 20181189 LIMIT 2 [ RunTime:0.013701s ]
SELECT * FROM `stock_price` WHERE `stockid` = 20181189 ORDER BY `minOrder` ASC [ RunTime:0.004058s ]
select * from pdf where partno='mcp4661-103e/st' and brandshort='microchip technology' limit 1 [ RunTime:0.006798s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'mcp4661-103e/st' OR `brand` LIKE 'microchip technology%' ) ) LIMIT 1 [ RunTime:0.020648s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 16141778 LIMIT 4 [ RunTime:0.021469s ]
SELECT * FROM `stock_price` WHERE `stockid` = 16141778 ORDER BY `minOrder` ASC [ RunTime:0.008777s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 16141778 ORDER BY `unit` DESC [ RunTime:0.008770s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 16141778 LIMIT 2 [ RunTime:0.004789s ]
SELECT * FROM `stock_price` WHERE `stockid` = 16141778 ORDER BY `minOrder` ASC [ RunTime:0.009603s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 3479 LIMIT 4 [ RunTime:0.009796s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3479 ORDER BY `minOrder` ASC [ RunTime:0.004688s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 3479 ORDER BY `unit` DESC [ RunTime:0.000328s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 3479 LIMIT 2 [ RunTime:0.003410s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3479 ORDER BY `minOrder` ASC [ RunTime:0.004697s ]
select * from pdf where partno='MCP4661-103E/ST' and brandshort='MICROCHIP' limit 1 [ RunTime:0.010933s ]
select foldpath,foldpath2,filename from pdf_file where id=1007323 limit 1 [ RunTime:0.006177s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'MCP4661-103E/ST' OR `brand` LIKE 'MICROCHIP%' ) ) LIMIT 1 [ RunTime:0.034097s ]
SELECT brand, count(*) as count FROM `stock` WHERE ( `partno` LIKE 'MCP4661-103E/ST%' AND `status` <> 2 ) AND `brand` IS NOT NULL AND `brand` <> '' GROUP BY `brand` ORDER BY `count` DESC LIMIT 10000 [ RunTime:0.003435s ]