SHOW FULL COLUMNS FROM `product_type` [ RunTime:0.002880s ]
SELECT `id`,`typeid`,`name`,`typestr` FROM `product_type` WHERE `id` NOT IN (11,12,13,14,15) AND `id` <= 750 [ RunTime:0.000650s ]
SHOW FULL COLUMNS FROM `o_cart` [ RunTime:0.002915s ]
SELECT COUNT(*) AS think_count FROM `o_cart` WHERE ( `userId` = 0 AND `visitIP` = '216.73.216.121' ) [ RunTime:0.000392s ]
SHOW FULL COLUMNS FROM `ad` [ RunTime:0.002564s ]
SELECT * FROM `ad` WHERE `isDisplay` = 1 [ RunTime:0.000352s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `id` = 117 LIMIT 1 [ RunTime:0.000610s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `typeid` = 117 [ RunTime:0.000286s ]
SELECT `id`,`name` FROM `product_type` WHERE `typeid` = 21 [ RunTime:0.000262s ]
SHOW FULL COLUMNS FROM `stock` [ RunTime:0.002893s ]
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-09-30 15:00:52' ) ) AND `categoryid` = 117 ) ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 20,10 [ RunTime:0.886848s ]
SHOW FULL COLUMNS FROM `stock_pra` [ RunTime:0.001449s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 3121 LIMIT 4 [ RunTime:0.000402s ]
SHOW FULL COLUMNS FROM `stock_price` [ RunTime:0.000975s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3121 ORDER BY `minOrder` ASC [ RunTime:0.000224s ]
SHOW FULL COLUMNS FROM `stock_unitquantity` [ RunTime:0.000990s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 3121 ORDER BY `unit` DESC [ RunTime:0.000191s ]
SHOW FULL COLUMNS FROM `stock_warehousequantity` [ RunTime:0.000942s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 3121 LIMIT 2 [ RunTime:0.000191s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3121 ORDER BY `minOrder` ASC [ RunTime:0.000177s ]
SHOW FULL COLUMNS FROM `stock_pra_lib` [ RunTime:0.001779s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'BAT54T1G' OR `brand` LIKE 'ONSEMI%' ) ) LIMIT 1 [ RunTime:0.000244s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 4514 LIMIT 4 [ RunTime:0.000317s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4514 ORDER BY `minOrder` ASC [ RunTime:0.000310s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 4514 ORDER BY `unit` DESC [ RunTime:0.000292s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 4514 LIMIT 2 [ RunTime:0.000272s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4514 ORDER BY `minOrder` ASC [ RunTime:0.000184s ]
select * from pdf where partno='B160-13-F' and brandshort='DIODES INC.' limit 1 [ RunTime:0.001726s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'B160-13-F' OR `brand` LIKE 'DIODES INC.%' ) ) LIMIT 1 [ RunTime:0.000939s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 4519 LIMIT 4 [ RunTime:0.000420s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4519 ORDER BY `minOrder` ASC [ RunTime:0.000422s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 4519 ORDER BY `unit` DESC [ RunTime:0.000403s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 4519 LIMIT 2 [ RunTime:0.000387s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4519 ORDER BY `minOrder` ASC [ RunTime:0.000298s ]
select * from pdf where partno='B260A-13-F' and brandshort='DIODES INC.' limit 1 [ RunTime:0.001133s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'B260A-13-F' OR `brand` LIKE 'DIODES INC.%' ) ) LIMIT 1 [ RunTime:0.000563s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 4687 LIMIT 4 [ RunTime:0.000376s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4687 ORDER BY `minOrder` ASC [ RunTime:0.000399s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 4687 ORDER BY `unit` DESC [ RunTime:0.000386s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 4687 LIMIT 2 [ RunTime:0.000410s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4687 ORDER BY `minOrder` ASC [ RunTime:0.000319s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'SS12' OR `brand` LIKE 'MULTICOMP PRO%' ) ) LIMIT 1 [ RunTime:0.000559s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 6334 LIMIT 4 [ RunTime:0.000383s ]
SELECT * FROM `stock_price` WHERE `stockid` = 6334 ORDER BY `minOrder` ASC [ RunTime:0.000402s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 6334 ORDER BY `unit` DESC [ RunTime:0.000393s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 6334 LIMIT 2 [ RunTime:0.000377s ]
SELECT * FROM `stock_price` WHERE `stockid` = 6334 ORDER BY `minOrder` ASC [ RunTime:0.000290s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'BAS40-04LT1G' OR `brand` LIKE 'ONSEMI%' ) ) LIMIT 1 [ RunTime:0.007517s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 4512 LIMIT 4 [ RunTime:0.000408s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4512 ORDER BY `minOrder` ASC [ RunTime:0.000403s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 4512 ORDER BY `unit` DESC [ RunTime:0.000414s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 4512 LIMIT 2 [ RunTime:0.000387s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4512 ORDER BY `minOrder` ASC [ RunTime:0.000303s ]
select * from pdf where partno='B240A-13-F' and brandshort='DIODES INC.' limit 1 [ RunTime:0.000685s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'B240A-13-F' OR `brand` LIKE 'DIODES INC.%' ) ) LIMIT 1 [ RunTime:0.000727s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 6352 LIMIT 4 [ RunTime:0.000529s ]
SELECT * FROM `stock_price` WHERE `stockid` = 6352 ORDER BY `minOrder` ASC [ RunTime:0.000536s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 6352 ORDER BY `unit` DESC [ RunTime:0.000383s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 6352 LIMIT 2 [ RunTime:0.000332s ]
SELECT * FROM `stock_price` WHERE `stockid` = 6352 ORDER BY `minOrder` ASC [ RunTime:0.000231s ]
select * from pdf where partno='NSR20F30NXT5G' and brandshort='ONSEMI' limit 1 [ RunTime:0.001129s ]
select foldpath,foldpath2,filename from pdf_file where id=1019153 limit 1 [ RunTime:0.000401s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'NSR20F30NXT5G' OR `brand` LIKE 'ONSEMI%' ) ) LIMIT 1 [ RunTime:0.008880s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 4528 LIMIT 4 [ RunTime:0.000292s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4528 ORDER BY `minOrder` ASC [ RunTime:0.000253s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 4528 ORDER BY `unit` DESC [ RunTime:0.000238s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 4528 LIMIT 2 [ RunTime:0.000278s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4528 ORDER BY `minOrder` ASC [ RunTime:0.000190s ]
select * from pdf where partno='BAT54A-7-F' and brandshort='DIODES INC.' limit 1 [ RunTime:0.001006s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'BAT54A-7-F' OR `brand` LIKE 'DIODES INC.%' ) ) LIMIT 1 [ RunTime:0.000513s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 14742 LIMIT 4 [ RunTime:0.000272s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14742 ORDER BY `minOrder` ASC [ RunTime:0.000196s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 14742 ORDER BY `unit` DESC [ RunTime:0.000195s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 14742 LIMIT 2 [ RunTime:0.000178s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14742 ORDER BY `minOrder` ASC [ RunTime:0.000176s ]
select * from pdf where partno='BAR43CFILM' and brandshort='STMICROELECTRONICS' limit 1 [ RunTime:0.000240s ]
select foldpath,foldpath2,filename from pdf_file where id=234523 limit 1 [ RunTime:0.000183s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'BAR43CFILM' OR `brand` LIKE 'STMICROELECTRONICS%' ) ) LIMIT 1 [ RunTime:0.000191s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 2970 LIMIT 4 [ RunTime:0.000296s ]
SELECT * FROM `stock_price` WHERE `stockid` = 2970 ORDER BY `minOrder` ASC [ RunTime:0.000188s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 2970 ORDER BY `unit` DESC [ RunTime:0.000196s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 2970 LIMIT 2 [ RunTime:0.000181s ]
SELECT * FROM `stock_price` WHERE `stockid` = 2970 ORDER BY `minOrder` ASC [ RunTime:0.000183s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'BAS70-04,215' OR `brand` LIKE 'NEXPERIA%' ) ) LIMIT 1 [ RunTime:0.000191s ]
SELECT `id`,`brand`,`package` FROM `stock` WHERE ( ( `status` = 1 OR `status` = 3 OR `status` = 4 OR ( `status` = 2 AND `expiretime` > '2025-09-30 15:00:52' ) ) AND `categoryid` = 117 ) ORDER BY `id` DESC LIMIT 10000 [ RunTime:1.191284s ]
SELECT COUNT(*) AS think_count FROM `stock` WHERE ( ( `status` = 1 OR `status` = 3 OR `status` = 4 OR ( `status` = 2 AND `expiretime` > '2025-09-30 15:00:52' ) ) AND `categoryid` = 117 ) [ RunTime:0.701501s ]