SHOW FULL COLUMNS FROM `product_type` [ RunTime:0.001939s ]
SELECT `id`,`typeid`,`name`,`typestr` FROM `product_type` WHERE `id` NOT IN (11,12,13,14,15) AND `id` <= 750 [ RunTime:0.000486s ]
SHOW FULL COLUMNS FROM `o_cart` [ RunTime:0.002907s ]
SELECT COUNT(*) AS think_count FROM `o_cart` WHERE ( `userId` = 0 AND `visitIP` = '216.73.216.163' ) [ RunTime:0.000572s ]
SHOW FULL COLUMNS FROM `ad` [ RunTime:0.002216s ]
SELECT * FROM `ad` WHERE `isDisplay` = 1 [ RunTime:0.000310s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `id` = 28 LIMIT 1 [ RunTime:0.000396s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `typeid` = 28 [ RunTime:0.000231s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `typeid` IN (217,218,219,220,221,222,223,224,225,226,227,228) [ RunTime:0.000278s ]
SHOW FULL COLUMNS FROM `stock` [ RunTime:0.002420s ]
SELECT `s`.`id`,`s`.*,`u`.`company`,`t`.`name` FROM `stock` `s` LEFT JOIN `user` `u` ON `u`.`id`=`s`.`userid` LEFT JOIN `product_type` `t` ON `t`.`id`=`s`.`categoryid` WHERE ( ( `status` = 1 OR `status` = 3 OR `status` = 4 OR ( `status` = 2 AND `expiretime` > '2025-10-03 08:47:28' ) ) AND `categoryid` IN (217,218,219,220,221,222,223,224,225,226,227,228) ) ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,10 [ RunTime:2.052587s ]
SHOW FULL COLUMNS FROM `stock_pra` [ RunTime:0.002893s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 6933 LIMIT 4 [ RunTime:0.000572s ]
SHOW FULL COLUMNS FROM `stock_price` [ RunTime:0.000841s ]
SELECT * FROM `stock_price` WHERE `stockid` = 6933 ORDER BY `minOrder` ASC [ RunTime:0.000287s ]
SHOW FULL COLUMNS FROM `stock_unitquantity` [ RunTime:0.000816s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 6933 ORDER BY `unit` DESC [ RunTime:0.000270s ]
SHOW FULL COLUMNS FROM `stock_warehousequantity` [ RunTime:0.000811s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 6933 LIMIT 2 [ RunTime:0.000266s ]
SELECT * FROM `stock_price` WHERE `stockid` = 6933 ORDER BY `minOrder` ASC [ RunTime:0.000160s ]
SHOW FULL COLUMNS FROM `stock_pra_lib` [ RunTime:0.000872s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'PCF8523T/1,118' OR `brand` LIKE 'NXP%' ) ) LIMIT 1 [ RunTime:0.002195s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 9172 LIMIT 4 [ RunTime:0.000237s ]
SELECT * FROM `stock_price` WHERE `stockid` = 9172 ORDER BY `minOrder` ASC [ RunTime:0.000248s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 9172 ORDER BY `unit` DESC [ RunTime:0.000322s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 9172 LIMIT 2 [ RunTime:0.000230s ]
SELECT * FROM `stock_price` WHERE `stockid` = 9172 ORDER BY `minOrder` ASC [ RunTime:0.000151s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'PCF85263ATL/AX' OR `brand` LIKE 'NXP%' ) ) LIMIT 1 [ RunTime:0.001923s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 7060 LIMIT 4 [ RunTime:0.000222s ]
SELECT * FROM `stock_price` WHERE `stockid` = 7060 ORDER BY `minOrder` ASC [ RunTime:0.000235s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 7060 ORDER BY `unit` DESC [ RunTime:0.000228s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 7060 LIMIT 2 [ RunTime:0.000224s ]
SELECT * FROM `stock_price` WHERE `stockid` = 7060 ORDER BY `minOrder` ASC [ RunTime:0.000151s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'PCF8523TK/1,118' OR `brand` LIKE 'NXP%' ) ) LIMIT 1 [ RunTime:0.001894s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 9175 LIMIT 4 [ RunTime:0.000221s ]
SELECT * FROM `stock_price` WHERE `stockid` = 9175 ORDER BY `minOrder` ASC [ RunTime:0.000245s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 9175 ORDER BY `unit` DESC [ RunTime:0.000233s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 9175 LIMIT 2 [ RunTime:0.000215s ]
SELECT * FROM `stock_price` WHERE `stockid` = 9175 ORDER BY `minOrder` ASC [ RunTime:0.000151s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'PCF85363ATT/AJ' OR `brand` LIKE 'NXP%' ) ) LIMIT 1 [ RunTime:0.001921s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 4270 LIMIT 4 [ RunTime:0.000223s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4270 ORDER BY `minOrder` ASC [ RunTime:0.000235s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 4270 ORDER BY `unit` DESC [ RunTime:0.000227s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 4270 LIMIT 2 [ RunTime:0.000221s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4270 ORDER BY `minOrder` ASC [ RunTime:0.000149s ]
select * from pdf where partno='MCP79410-I/SN' and brandshort='MICROCHIP' limit 1 [ RunTime:0.002643s ]
select foldpath,foldpath2,filename from pdf_file where id=1007381 limit 1 [ RunTime:0.000285s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'MCP79410-I/SN' OR `brand` LIKE 'MICROCHIP%' ) ) LIMIT 1 [ RunTime:0.020505s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 9349 LIMIT 4 [ RunTime:0.000427s ]
SELECT * FROM `stock_price` WHERE `stockid` = 9349 ORDER BY `minOrder` ASC [ RunTime:0.000443s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 9349 ORDER BY `unit` DESC [ RunTime:0.000412s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 9349 LIMIT 2 [ RunTime:0.000368s ]
SELECT * FROM `stock_price` WHERE `stockid` = 9349 ORDER BY `minOrder` ASC [ RunTime:0.000198s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'DS3231SN#T&R' OR `brand` LIKE 'ANALOG DEVICES%' ) ) LIMIT 1 [ RunTime:0.000680s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 10300 LIMIT 4 [ RunTime:0.000277s ]
SELECT * FROM `stock_price` WHERE `stockid` = 10300 ORDER BY `minOrder` ASC [ RunTime:0.000287s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 10300 ORDER BY `unit` DESC [ RunTime:0.000281s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 10300 LIMIT 2 [ RunTime:0.000273s ]
SELECT * FROM `stock_price` WHERE `stockid` = 10300 ORDER BY `minOrder` ASC [ RunTime:0.000190s ]
select * from pdf where partno='ISL12026IBZ-T' and brandshort='RENESAS' limit 1 [ RunTime:0.001189s ]
select foldpath,foldpath2,filename from pdf_file where id=1384254 limit 1 [ RunTime:0.000382s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'ISL12026IBZ-T' OR `brand` LIKE 'RENESAS%' ) ) LIMIT 1 [ RunTime:0.004992s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 9619 LIMIT 4 [ RunTime:0.000285s ]
SELECT * FROM `stock_price` WHERE `stockid` = 9619 ORDER BY `minOrder` ASC [ RunTime:0.000288s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 9619 ORDER BY `unit` DESC [ RunTime:0.000286s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 9619 LIMIT 2 [ RunTime:0.000272s ]
SELECT * FROM `stock_price` WHERE `stockid` = 9619 ORDER BY `minOrder` ASC [ RunTime:0.000184s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'PCF8563T/F4,118' OR `brand` LIKE 'NXP%' ) ) LIMIT 1 [ RunTime:0.002314s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 7499 LIMIT 4 [ RunTime:0.000271s ]
SELECT * FROM `stock_price` WHERE `stockid` = 7499 ORDER BY `minOrder` ASC [ RunTime:0.000304s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 7499 ORDER BY `unit` DESC [ RunTime:0.000291s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 7499 LIMIT 2 [ RunTime:0.000272s ]
SELECT * FROM `stock_price` WHERE `stockid` = 7499 ORDER BY `minOrder` ASC [ RunTime:0.000183s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'M41T00SM6F' OR `brand` LIKE 'STMICROELECTRONICS%' ) ) LIMIT 1 [ RunTime:0.000690s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 9174 LIMIT 4 [ RunTime:0.000280s ]
SELECT * FROM `stock_price` WHERE `stockid` = 9174 ORDER BY `minOrder` ASC [ RunTime:0.000291s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 9174 ORDER BY `unit` DESC [ RunTime:0.000273s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 9174 LIMIT 2 [ RunTime:0.000259s ]
SELECT * FROM `stock_price` WHERE `stockid` = 9174 ORDER BY `minOrder` ASC [ RunTime:0.000183s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'PCF85063ATT/AJ' OR `brand` LIKE 'NXP%' ) ) LIMIT 1 [ RunTime:0.002331s ]
SELECT `id`,`brand`,`package` FROM `stock` WHERE ( ( `status` = 1 OR `status` = 3 OR `status` = 4 OR ( `status` = 2 AND `expiretime` > '2025-10-03 08:47:28' ) ) AND `categoryid` IN (217,218,219,220,221,222,223,224,225,226,227,228) ) ORDER BY `id` DESC LIMIT 10000 [ RunTime:3.438716s ]
SELECT COUNT(*) AS think_count FROM `stock` WHERE ( ( `status` = 1 OR `status` = 3 OR `status` = 4 OR ( `status` = 2 AND `expiretime` > '2025-10-03 08:47:28' ) ) AND `categoryid` IN (217,218,219,220,221,222,223,224,225,226,227,228) ) [ RunTime:1.703990s ]