SHOW FULL COLUMNS FROM `product_type` [ RunTime:0.001916s ]
SELECT `id`,`typeid`,`name`,`typestr` FROM `product_type` WHERE `id` NOT IN (11,12,13,14,15) AND `id` <= 750 [ RunTime:0.000484s ]
SHOW FULL COLUMNS FROM `o_cart` [ RunTime:0.002004s ]
SELECT COUNT(*) AS think_count FROM `o_cart` WHERE ( `userId` = 0 AND `visitIP` = '216.73.216.51' ) [ RunTime:0.000308s ]
SHOW FULL COLUMNS FROM `ad` [ RunTime:0.001683s ]
SELECT * FROM `ad` WHERE `isDisplay` = 1 [ RunTime:0.000282s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `id` = 29 LIMIT 1 [ RunTime:0.000317s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `typeid` = 29 [ RunTime:0.000245s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `typeid` IN (229,230,231,232,233,234,235,236,237,238,239,240,241,242,243,244,245,246,247,248,249,250,251,252,253,254,255,256,257,258,259,260,261,262,263,264,265,266,267,268,269,270,271,272,273,274,275,276,277,278,279,280,281,282,283,284,285,286) [ RunTime:0.000415s ]
SHOW FULL COLUMNS FROM `stock` [ RunTime:0.002377s ]
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-04 20:29:15' ) ) AND `categoryid` IN (229,230,231,232,233,234,235,236,237,238,239,240,241,242,243,244,245,246,247,248,249,250,251,252,253,254,255,256,257,258,259,260,261,262,263,264,265,266,267,268,269,270,271,272,273,274,275,276,277,278,279,280,281,282,283,284,285,286) ) ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 70,10 [ RunTime:2.050796s ]
SHOW FULL COLUMNS FROM `stock_pra` [ RunTime:0.001798s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 7607 LIMIT 4 [ RunTime:0.000475s ]
SHOW FULL COLUMNS FROM `stock_price` [ RunTime:0.000917s ]
SELECT * FROM `stock_price` WHERE `stockid` = 7607 ORDER BY `minOrder` ASC [ RunTime:0.000446s ]
SHOW FULL COLUMNS FROM `stock_unitquantity` [ RunTime:0.000886s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 7607 ORDER BY `unit` DESC [ RunTime:0.000359s ]
SHOW FULL COLUMNS FROM `stock_warehousequantity` [ RunTime:0.001012s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 7607 LIMIT 2 [ RunTime:0.000344s ]
SELECT * FROM `stock_price` WHERE `stockid` = 7607 ORDER BY `minOrder` ASC [ RunTime:0.000254s ]
SHOW FULL COLUMNS FROM `stock_pra_lib` [ RunTime:0.001134s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'NSHR-08V-S' OR `brand` LIKE 'JST (JAPAN SOLDERLESS TERMINALS)%' ) ) LIMIT 1 [ RunTime:0.000499s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 4057 LIMIT 4 [ RunTime:0.001036s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4057 ORDER BY `minOrder` ASC [ RunTime:0.000737s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 4057 ORDER BY `unit` DESC [ RunTime:0.000500s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 4057 LIMIT 2 [ RunTime:0.000524s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4057 ORDER BY `minOrder` ASC [ RunTime:0.000252s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '104257-5' OR `brand` LIKE 'TE CONNECTIVITY%' ) ) LIMIT 1 [ RunTime:0.009391s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 10922 LIMIT 4 [ RunTime:0.000668s ]
SELECT * FROM `stock_price` WHERE `stockid` = 10922 ORDER BY `minOrder` ASC [ RunTime:0.000348s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 10922 ORDER BY `unit` DESC [ RunTime:0.000412s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 10922 LIMIT 2 [ RunTime:0.000353s ]
SELECT * FROM `stock_price` WHERE `stockid` = 10922 ORDER BY `minOrder` ASC [ RunTime:0.000251s ]
select * from pdf where partno='1-1564514-1' and brandshort='TE CONNECTIVITY' limit 1 [ RunTime:0.001167s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '1-1564514-1' OR `brand` LIKE 'TE CONNECTIVITY%' ) ) LIMIT 1 [ RunTime:0.019852s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 13679 LIMIT 4 [ RunTime:0.000903s ]
SELECT * FROM `stock_price` WHERE `stockid` = 13679 ORDER BY `minOrder` ASC [ RunTime:0.000632s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 13679 ORDER BY `unit` DESC [ RunTime:0.000631s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 13679 LIMIT 2 [ RunTime:0.000639s ]
SELECT * FROM `stock_price` WHERE `stockid` = 13679 ORDER BY `minOrder` ASC [ RunTime:0.000395s ]
select * from pdf where partno='43020-0400' and brandshort='MOLEX' limit 1 [ RunTime:0.001071s ]
select foldpath,foldpath2,filename from pdf_file where id=827932 limit 1 [ RunTime:0.000542s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '43020-0400' OR `brand` LIKE 'MOLEX%' ) ) LIMIT 1 [ RunTime:0.012063s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 9238 LIMIT 4 [ RunTime:0.000735s ]
SELECT * FROM `stock_price` WHERE `stockid` = 9238 ORDER BY `minOrder` ASC [ RunTime:0.000831s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 9238 ORDER BY `unit` DESC [ RunTime:0.000618s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 9238 LIMIT 2 [ RunTime:0.000620s ]
SELECT * FROM `stock_price` WHERE `stockid` = 9238 ORDER BY `minOrder` ASC [ RunTime:0.000394s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '1-1318118-9' OR `brand` LIKE 'AMP - TE CONNECTIVITY%' ) ) LIMIT 1 [ RunTime:0.000811s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 7187 LIMIT 4 [ RunTime:0.000572s ]
SELECT * FROM `stock_price` WHERE `stockid` = 7187 ORDER BY `minOrder` ASC [ RunTime:0.000622s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 7187 ORDER BY `unit` DESC [ RunTime:0.000610s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 7187 LIMIT 2 [ RunTime:0.000758s ]
SELECT * FROM `stock_price` WHERE `stockid` = 7187 ORDER BY `minOrder` ASC [ RunTime:0.000396s ]
select * from pdf where partno='1-178128-4' and brandshort='AMP - TE CONNECTIVITY' limit 1 [ RunTime:0.001165s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '1-178128-4' OR `brand` LIKE 'AMP - TE CONNECTIVITY%' ) ) LIMIT 1 [ RunTime:0.000750s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 5187 LIMIT 4 [ RunTime:0.000569s ]
SELECT * FROM `stock_price` WHERE `stockid` = 5187 ORDER BY `minOrder` ASC [ RunTime:0.000602s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 5187 ORDER BY `unit` DESC [ RunTime:0.000647s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 5187 LIMIT 2 [ RunTime:0.000594s ]
SELECT * FROM `stock_price` WHERE `stockid` = 5187 ORDER BY `minOrder` ASC [ RunTime:0.000416s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '1-178288-3' OR `brand` LIKE 'AMP - TE CONNECTIVITY%' ) ) LIMIT 1 [ RunTime:0.003400s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 13643 LIMIT 4 [ RunTime:0.000796s ]
SELECT * FROM `stock_price` WHERE `stockid` = 13643 ORDER BY `minOrder` ASC [ RunTime:0.000647s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 13643 ORDER BY `unit` DESC [ RunTime:0.000642s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 13643 LIMIT 2 [ RunTime:0.000574s ]
SELECT * FROM `stock_price` WHERE `stockid` = 13643 ORDER BY `minOrder` ASC [ RunTime:0.000393s ]
select * from pdf where partno='51021-0500' and brandshort='MOLEX' limit 1 [ RunTime:0.000585s ]
select foldpath,foldpath2,filename from pdf_file where id=824932 limit 1 [ RunTime:0.000391s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '51021-0500' OR `brand` LIKE 'MOLEX%' ) ) LIMIT 1 [ RunTime:0.000422s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 8993 LIMIT 4 [ RunTime:0.000576s ]
SELECT * FROM `stock_price` WHERE `stockid` = 8993 ORDER BY `minOrder` ASC [ RunTime:0.000612s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 8993 ORDER BY `unit` DESC [ RunTime:0.000613s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 8993 LIMIT 2 [ RunTime:0.000580s ]
SELECT * FROM `stock_price` WHERE `stockid` = 8993 ORDER BY `minOrder` ASC [ RunTime:0.000395s ]
select * from pdf where partno='440129-4' and brandshort='AMP - TE CONNECTIVITY' limit 1 [ RunTime:0.000972s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '440129-4' OR `brand` LIKE 'AMP - TE CONNECTIVITY%' ) ) LIMIT 1 [ RunTime:0.001035s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 934 LIMIT 4 [ RunTime:0.000576s ]
SELECT * FROM `stock_price` WHERE `stockid` = 934 ORDER BY `minOrder` ASC [ RunTime:0.000638s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 934 ORDER BY `unit` DESC [ RunTime:0.000642s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 934 LIMIT 2 [ RunTime:0.000587s ]
SELECT * FROM `stock_price` WHERE `stockid` = 934 ORDER BY `minOrder` ASC [ RunTime:0.000401s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'HFBR-4513Z' OR `brand` LIKE 'BROADCOM%' ) ) LIMIT 1 [ RunTime:0.004378s ]
SELECT `id`,`brand`,`package` FROM `stock` WHERE ( ( `status` = 1 OR `status` = 3 OR `status` = 4 OR ( `status` = 2 AND `expiretime` > '2025-10-04 20:29:15' ) ) AND `categoryid` IN (229,230,231,232,233,234,235,236,237,238,239,240,241,242,243,244,245,246,247,248,249,250,251,252,253,254,255,256,257,258,259,260,261,262,263,264,265,266,267,268,269,270,271,272,273,274,275,276,277,278,279,280,281,282,283,284,285,286) ) ORDER BY `id` DESC LIMIT 10000 [ RunTime:2.836873s ]
SELECT COUNT(*) AS think_count FROM `stock` WHERE ( ( `status` = 1 OR `status` = 3 OR `status` = 4 OR ( `status` = 2 AND `expiretime` > '2025-10-04 20:29:15' ) ) AND `categoryid` IN (229,230,231,232,233,234,235,236,237,238,239,240,241,242,243,244,245,246,247,248,249,250,251,252,253,254,255,256,257,258,259,260,261,262,263,264,265,266,267,268,269,270,271,272,273,274,275,276,277,278,279,280,281,282,283,284,285,286) ) [ RunTime:1.810867s ]