SHOW FULL COLUMNS FROM `product_type` [ RunTime:0.002310s ]
SELECT `id`,`typeid`,`name`,`typestr` FROM `product_type` WHERE `id` NOT IN (11,12,13,14,15) AND `id` <= 750 [ RunTime:0.000525s ]
SHOW FULL COLUMNS FROM `o_cart` [ RunTime:0.002102s ]
SELECT COUNT(*) AS think_count FROM `o_cart` WHERE ( `userId` = 0 AND `visitIP` = '216.73.216.215' ) [ RunTime:0.000356s ]
SHOW FULL COLUMNS FROM `ad` [ RunTime:0.001810s ]
SELECT * FROM `ad` WHERE `isDisplay` = 1 [ RunTime:0.000289s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `id` = 577 LIMIT 1 [ RunTime:0.000333s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `typeid` = 577 [ RunTime:0.000255s ]
SELECT `id`,`name` FROM `product_type` WHERE `typeid` = 48 [ RunTime:0.000234s ]
SHOW FULL COLUMNS FROM `stock` [ RunTime:0.001969s ]
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-07 18:47:03' ) ) AND `categoryid` = 577 ) ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 60,10 [ RunTime:1.987387s ]
SHOW FULL COLUMNS FROM `stock_pra` [ RunTime:0.002682s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 5788 LIMIT 4 [ RunTime:0.000546s ]
SHOW FULL COLUMNS FROM `stock_price` [ RunTime:0.001266s ]
SELECT * FROM `stock_price` WHERE `stockid` = 5788 ORDER BY `minOrder` ASC [ RunTime:0.000426s ]
SHOW FULL COLUMNS FROM `stock_unitquantity` [ RunTime:0.000889s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 5788 ORDER BY `unit` DESC [ RunTime:0.000368s ]
SHOW FULL COLUMNS FROM `stock_warehousequantity` [ RunTime:0.000863s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 5788 LIMIT 2 [ RunTime:0.000348s ]
SELECT * FROM `stock_price` WHERE `stockid` = 5788 ORDER BY `minOrder` ASC [ RunTime:0.000259s ]
SHOW FULL COLUMNS FROM `stock_pra_lib` [ RunTime:0.000920s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'BTS5210LAUMA1' OR `brand` LIKE 'INFINEON%' ) ) LIMIT 1 [ RunTime:0.005024s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 11847 LIMIT 4 [ RunTime:0.000393s ]
SELECT * FROM `stock_price` WHERE `stockid` = 11847 ORDER BY `minOrder` ASC [ RunTime:0.000365s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 11847 ORDER BY `unit` DESC [ RunTime:0.000350s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 11847 LIMIT 2 [ RunTime:0.000335s ]
SELECT * FROM `stock_price` WHERE `stockid` = 11847 ORDER BY `minOrder` ASC [ RunTime:0.000250s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'AP2553W6-7' OR `brand` LIKE 'DIODES INC.%' ) ) LIMIT 1 [ RunTime:0.002717s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 12690 LIMIT 4 [ RunTime:0.000410s ]
SELECT * FROM `stock_price` WHERE `stockid` = 12690 ORDER BY `minOrder` ASC [ RunTime:0.000435s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 12690 ORDER BY `unit` DESC [ RunTime:0.000347s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 12690 LIMIT 2 [ RunTime:0.000330s ]
SELECT * FROM `stock_price` WHERE `stockid` = 12690 ORDER BY `minOrder` ASC [ RunTime:0.000252s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'AP22916BCA4-7' OR `brand` LIKE 'DIODES INC.%' ) ) LIMIT 1 [ RunTime:0.000771s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 8851 LIMIT 4 [ RunTime:0.000385s ]
SELECT * FROM `stock_price` WHERE `stockid` = 8851 ORDER BY `minOrder` ASC [ RunTime:0.000366s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 8851 ORDER BY `unit` DESC [ RunTime:0.000356s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 8851 LIMIT 2 [ RunTime:0.000330s ]
SELECT * FROM `stock_price` WHERE `stockid` = 8851 ORDER BY `minOrder` ASC [ RunTime:0.000253s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'NCP45521IMNTWG-L' OR `brand` LIKE 'ONSEMI%' ) ) LIMIT 1 [ RunTime:0.007563s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 7108 LIMIT 4 [ RunTime:0.000866s ]
SELECT * FROM `stock_price` WHERE `stockid` = 7108 ORDER BY `minOrder` ASC [ RunTime:0.000677s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 7108 ORDER BY `unit` DESC [ RunTime:0.000655s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 7108 LIMIT 2 [ RunTime:0.000624s ]
SELECT * FROM `stock_price` WHERE `stockid` = 7108 ORDER BY `minOrder` ASC [ RunTime:0.000414s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'BTS428L2ATMA1' OR `brand` LIKE 'INFINEON%' ) ) LIMIT 1 [ RunTime:0.011511s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 9533 LIMIT 4 [ RunTime:0.000772s ]
SELECT * FROM `stock_price` WHERE `stockid` = 9533 ORDER BY `minOrder` ASC [ RunTime:0.000451s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 9533 ORDER BY `unit` DESC [ RunTime:0.000354s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 9533 LIMIT 2 [ RunTime:0.000374s ]
SELECT * FROM `stock_price` WHERE `stockid` = 9533 ORDER BY `minOrder` ASC [ RunTime:0.000388s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'NCP331SNT1G' OR `brand` LIKE 'ONSEMI%' ) ) LIMIT 1 [ RunTime:0.000368s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 3370 LIMIT 4 [ RunTime:0.000610s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3370 ORDER BY `minOrder` ASC [ RunTime:0.000640s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 3370 ORDER BY `unit` DESC [ RunTime:0.000610s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 3370 LIMIT 2 [ RunTime:0.000509s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3370 ORDER BY `minOrder` ASC [ RunTime:0.000380s ]
select * from pdf where partno='VLCF5020T-220MR75-1' and brandshort='TDK' limit 1 [ RunTime:0.002027s ]
select foldpath,foldpath2,filename from pdf_file where id=1047451 limit 1 [ RunTime:0.000593s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'VLCF5020T-220MR75-1' OR `brand` LIKE 'TDK%' ) ) LIMIT 1 [ RunTime:0.009389s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 12649 LIMIT 4 [ RunTime:0.000697s ]
SELECT * FROM `stock_price` WHERE `stockid` = 12649 ORDER BY `minOrder` ASC [ RunTime:0.000657s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 12649 ORDER BY `unit` DESC [ RunTime:0.000619s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 12649 LIMIT 2 [ RunTime:0.000602s ]
SELECT * FROM `stock_price` WHERE `stockid` = 12649 ORDER BY `minOrder` ASC [ RunTime:0.000400s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'PCA9450AAHNY' OR `brand` LIKE 'NXP%' ) ) LIMIT 1 [ RunTime:0.005221s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 11135 LIMIT 4 [ RunTime:0.000602s ]
SELECT * FROM `stock_price` WHERE `stockid` = 11135 ORDER BY `minOrder` ASC [ RunTime:0.000632s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 11135 ORDER BY `unit` DESC [ RunTime:0.000774s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 11135 LIMIT 2 [ RunTime:0.000593s ]
SELECT * FROM `stock_price` WHERE `stockid` = 11135 ORDER BY `minOrder` ASC [ RunTime:0.000393s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'BTS72002EPAXUMA1' OR `brand` LIKE 'INFINEON%' ) ) LIMIT 1 [ RunTime:0.011023s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 2868 LIMIT 4 [ RunTime:0.000626s ]
SELECT * FROM `stock_price` WHERE `stockid` = 2868 ORDER BY `minOrder` ASC [ RunTime:0.000618s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 2868 ORDER BY `unit` DESC [ RunTime:0.000504s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 2868 LIMIT 2 [ RunTime:0.000490s ]
SELECT * FROM `stock_price` WHERE `stockid` = 2868 ORDER BY `minOrder` ASC [ RunTime:0.000360s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '760' OR `brand` LIKE 'SWITCHCRAFT/CONXALL%' ) ) LIMIT 1 [ RunTime:0.001208s ]
SELECT `id`,`brand`,`package` FROM `stock` WHERE ( ( `status` = 1 OR `status` = 3 OR `status` = 4 OR ( `status` = 2 AND `expiretime` > '2025-10-07 18:47:03' ) ) AND `categoryid` = 577 ) ORDER BY `id` DESC LIMIT 10000 [ RunTime:2.795587s ]
SELECT COUNT(*) AS think_count FROM `stock` WHERE ( ( `status` = 1 OR `status` = 3 OR `status` = 4 OR ( `status` = 2 AND `expiretime` > '2025-10-07 18:47:03' ) ) AND `categoryid` = 577 ) [ RunTime:1.693367s ]