SHOW FULL COLUMNS FROM `product_type` [ RunTime:0.002298s ]
SELECT `id`,`typeid`,`name`,`typestr` FROM `product_type` WHERE `id` NOT IN (11,12,13,14,15) AND `id` <= 750 [ RunTime:0.000549s ]
SHOW FULL COLUMNS FROM `o_cart` [ RunTime:0.002116s ]
SELECT COUNT(*) AS think_count FROM `o_cart` WHERE ( `userId` = 0 AND `visitIP` = '216.73.216.51' ) [ RunTime:0.000328s ]
SHOW FULL COLUMNS FROM `ad` [ RunTime:0.001907s ]
SELECT * FROM `ad` WHERE `isDisplay` = 1 [ RunTime:0.000301s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `id` = 48 LIMIT 1 [ RunTime:0.000343s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `typeid` = 48 [ RunTime:0.000236s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `typeid` IN (540,541,542,543,544,545,546,547,548,549,550,551,552,553,554,555,556,557,558,559,560,561,562,563,564,565,566,567,568,569,570,571,572,573,574,575,576,577,578,579,580,581,582,583,584,585,586,587,588,589,590,591,592,593,594,595,596,597,598,599,600,601,602) [ RunTime:0.000498s ]
SHOW FULL COLUMNS FROM `stock` [ RunTime:0.002071s ]
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-05 06:13:50' ) ) AND `categoryid` IN (540,541,542,543,544,545,546,547,548,549,550,551,552,553,554,555,556,557,558,559,560,561,562,563,564,565,566,567,568,569,570,571,572,573,574,575,576,577,578,579,580,581,582,583,584,585,586,587,588,589,590,591,592,593,594,595,596,597,598,599,600,601,602) ) ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 60,10 [ RunTime:2.213018s ]
SHOW FULL COLUMNS FROM `stock_pra` [ RunTime:0.001246s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 10490 LIMIT 4 [ RunTime:0.000374s ]
SHOW FULL COLUMNS FROM `stock_price` [ RunTime:0.000845s ]
SELECT * FROM `stock_price` WHERE `stockid` = 10490 ORDER BY `minOrder` ASC [ RunTime:0.000296s ]
SHOW FULL COLUMNS FROM `stock_unitquantity` [ RunTime:0.000860s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 10490 ORDER BY `unit` DESC [ RunTime:0.000281s ]
SHOW FULL COLUMNS FROM `stock_warehousequantity` [ RunTime:0.000849s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 10490 LIMIT 2 [ RunTime:0.000262s ]
SELECT * FROM `stock_price` WHERE `stockid` = 10490 ORDER BY `minOrder` ASC [ RunTime:0.000164s ]
SHOW FULL COLUMNS FROM `stock_pra_lib` [ RunTime:0.001171s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'BNX002-11' OR `brand` LIKE 'MURATA%' ) ) LIMIT 1 [ RunTime:0.003279s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 5468 LIMIT 4 [ RunTime:0.000198s ]
SELECT * FROM `stock_price` WHERE `stockid` = 5468 ORDER BY `minOrder` ASC [ RunTime:0.000166s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 5468 ORDER BY `unit` DESC [ RunTime:0.000165s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 5468 LIMIT 2 [ RunTime:0.000160s ]
SELECT * FROM `stock_price` WHERE `stockid` = 5468 ORDER BY `minOrder` ASC [ RunTime:0.000150s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'ICL7665SIBAZ' OR `brand` LIKE 'RENESAS%' ) ) LIMIT 1 [ RunTime:0.000168s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 7682 LIMIT 4 [ RunTime:0.000266s ]
SELECT * FROM `stock_price` WHERE `stockid` = 7682 ORDER BY `minOrder` ASC [ RunTime:0.000253s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 7682 ORDER BY `unit` DESC [ RunTime:0.000260s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 7682 LIMIT 2 [ RunTime:0.000241s ]
SELECT * FROM `stock_price` WHERE `stockid` = 7682 ORDER BY `minOrder` ASC [ RunTime:0.000223s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'BTS500801TEAAUMA1' OR `brand` LIKE 'INFINEON%' ) ) LIMIT 1 [ RunTime:0.004720s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 7643 LIMIT 4 [ RunTime:0.000283s ]
SELECT * FROM `stock_price` WHERE `stockid` = 7643 ORDER BY `minOrder` ASC [ RunTime:0.000257s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 7643 ORDER BY `unit` DESC [ RunTime:0.000268s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 7643 LIMIT 2 [ RunTime:0.000240s ]
SELECT * FROM `stock_price` WHERE `stockid` = 7643 ORDER BY `minOrder` ASC [ RunTime:0.000162s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '694106301002' OR `brand` LIKE 'WURTH ELEKTRONIK%' ) ) LIMIT 1 [ RunTime:0.004236s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 1212 LIMIT 4 [ RunTime:0.000265s ]
SELECT * FROM `stock_price` WHERE `stockid` = 1212 ORDER BY `minOrder` ASC [ RunTime:0.000258s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 1212 ORDER BY `unit` DESC [ RunTime:0.000256s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 1212 LIMIT 2 [ RunTime:0.000248s ]
SELECT * FROM `stock_price` WHERE `stockid` = 1212 ORDER BY `minOrder` ASC [ RunTime:0.000180s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'RNF-100-1/8-X-STK' OR `brand` LIKE 'RAYCHEM - TE CONNECTIVITY%' ) ) LIMIT 1 [ RunTime:0.000357s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 11134 LIMIT 4 [ RunTime:0.000241s ]
SELECT * FROM `stock_price` WHERE `stockid` = 11134 ORDER BY `minOrder` ASC [ RunTime:0.000253s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 11134 ORDER BY `unit` DESC [ RunTime:0.000255s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 11134 LIMIT 2 [ RunTime:0.000246s ]
SELECT * FROM `stock_price` WHERE `stockid` = 11134 ORDER BY `minOrder` ASC [ RunTime:0.000156s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'BTS500101TAEATMA1' OR `brand` LIKE 'INFINEON%' ) ) LIMIT 1 [ RunTime:0.004647s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 1200 LIMIT 4 [ RunTime:0.000283s ]
SELECT * FROM `stock_price` WHERE `stockid` = 1200 ORDER BY `minOrder` ASC [ RunTime:0.000259s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 1200 ORDER BY `unit` DESC [ RunTime:0.000256s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 1200 LIMIT 2 [ RunTime:0.000259s ]
SELECT * FROM `stock_price` WHERE `stockid` = 1200 ORDER BY `minOrder` ASC [ RunTime:0.000170s ]
select * from pdf where partno='RNF-100-1/8-0-STK' and brandshort='RAYCHEM - TE CONNECTIVITY' limit 1 [ RunTime:0.001380s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'RNF-100-1/8-0-STK' OR `brand` LIKE 'RAYCHEM - TE CONNECTIVITY%' ) ) LIMIT 1 [ RunTime:0.000983s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 5509 LIMIT 4 [ RunTime:0.000441s ]
SELECT * FROM `stock_price` WHERE `stockid` = 5509 ORDER BY `minOrder` ASC [ RunTime:0.000442s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 5509 ORDER BY `unit` DESC [ RunTime:0.000309s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 5509 LIMIT 2 [ RunTime:0.000293s ]
SELECT * FROM `stock_price` WHERE `stockid` = 5509 ORDER BY `minOrder` ASC [ RunTime:0.000186s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'ACM1211-102-2PL-TL01' OR `brand` LIKE 'TDK%' ) ) LIMIT 1 [ RunTime:0.004781s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 9360 LIMIT 4 [ RunTime:0.000321s ]
SELECT * FROM `stock_price` WHERE `stockid` = 9360 ORDER BY `minOrder` ASC [ RunTime:0.000311s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 9360 ORDER BY `unit` DESC [ RunTime:0.000323s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 9360 LIMIT 2 [ RunTime:0.000282s ]
SELECT * FROM `stock_price` WHERE `stockid` = 9360 ORDER BY `minOrder` ASC [ RunTime:0.000196s ]
select * from pdf where partno='MAX4995BAUT+T' and brandshort='ANALOG DEVICES' limit 1 [ RunTime:0.001747s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'MAX4995BAUT+T' OR `brand` LIKE 'ANALOG DEVICES%' ) ) LIMIT 1 [ RunTime:0.000672s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 1196 LIMIT 4 [ RunTime:0.000288s ]
SELECT * FROM `stock_price` WHERE `stockid` = 1196 ORDER BY `minOrder` ASC [ RunTime:0.000327s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 1196 ORDER BY `unit` DESC [ RunTime:0.000306s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 1196 LIMIT 2 [ RunTime:0.000288s ]
SELECT * FROM `stock_price` WHERE `stockid` = 1196 ORDER BY `minOrder` ASC [ RunTime:0.000188s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'RNF-100-3/64-0-STK' OR `brand` LIKE 'RAYCHEM - TE CONNECTIVITY%' ) ) LIMIT 1 [ RunTime:0.000400s ]
SELECT `id`,`brand`,`package` FROM `stock` WHERE ( ( `status` = 1 OR `status` = 3 OR `status` = 4 OR ( `status` = 2 AND `expiretime` > '2025-10-05 06:13:50' ) ) AND `categoryid` IN (540,541,542,543,544,545,546,547,548,549,550,551,552,553,554,555,556,557,558,559,560,561,562,563,564,565,566,567,568,569,570,571,572,573,574,575,576,577,578,579,580,581,582,583,584,585,586,587,588,589,590,591,592,593,594,595,596,597,598,599,600,601,602) ) ORDER BY `id` DESC LIMIT 10000 [ RunTime:3.243333s ]
SELECT COUNT(*) AS think_count FROM `stock` WHERE ( ( `status` = 1 OR `status` = 3 OR `status` = 4 OR ( `status` = 2 AND `expiretime` > '2025-10-05 06:13:50' ) ) AND `categoryid` IN (540,541,542,543,544,545,546,547,548,549,550,551,552,553,554,555,556,557,558,559,560,561,562,563,564,565,566,567,568,569,570,571,572,573,574,575,576,577,578,579,580,581,582,583,584,585,586,587,588,589,590,591,592,593,594,595,596,597,598,599,600,601,602) ) [ RunTime:1.770432s ]