SHOW FULL COLUMNS FROM `product_type` [ RunTime:0.002116s ]
SELECT `id`,`typeid`,`name`,`typestr` FROM `product_type` WHERE `id` NOT IN (11,12,13,14,15) AND `id` <= 750 [ RunTime:0.000619s ]
SHOW FULL COLUMNS FROM `o_cart` [ RunTime:0.001246s ]
SELECT COUNT(*) AS think_count FROM `o_cart` WHERE ( `userId` = 0 AND `visitIP` = '216.73.216.51' ) [ RunTime:0.000221s ]
SHOW FULL COLUMNS FROM `ad` [ RunTime:0.000876s ]
SELECT * FROM `ad` WHERE `isDisplay` = 1 [ RunTime:0.000184s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `id` = 635 LIMIT 1 [ RunTime:0.000599s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `typeid` = 635 [ RunTime:0.000590s ]
SELECT `id`,`name` FROM `product_type` WHERE `typeid` = 49 [ RunTime:0.000365s ]
SHOW FULL COLUMNS FROM `stock` [ RunTime:0.003222s ]
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 05:16:36' ) ) AND `categoryid` = 635 ) ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,10 [ RunTime:1.852870s ]
SHOW FULL COLUMNS FROM `stock_pra` [ RunTime:0.001779s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 13687 LIMIT 4 [ RunTime:0.000409s ]
SHOW FULL COLUMNS FROM `stock_price` [ RunTime:0.000967s ]
SELECT * FROM `stock_price` WHERE `stockid` = 13687 ORDER BY `minOrder` ASC [ RunTime:0.000321s ]
SHOW FULL COLUMNS FROM `stock_unitquantity` [ RunTime:0.000967s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 13687 ORDER BY `unit` DESC [ RunTime:0.000325s ]
SHOW FULL COLUMNS FROM `stock_warehousequantity` [ RunTime:0.000955s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 13687 LIMIT 2 [ RunTime:0.000290s ]
SELECT * FROM `stock_price` WHERE `stockid` = 13687 ORDER BY `minOrder` ASC [ RunTime:0.000184s ]
SHOW FULL COLUMNS FROM `stock_pra_lib` [ RunTime:0.000994s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '6220.2300' OR `brand` LIKE 'SCHURTER%' ) ) LIMIT 1 [ RunTime:0.001493s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 10030 LIMIT 4 [ RunTime:0.000275s ]
SELECT * FROM `stock_price` WHERE `stockid` = 10030 ORDER BY `minOrder` ASC [ RunTime:0.000276s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 10030 ORDER BY `unit` DESC [ RunTime:0.000279s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 10030 LIMIT 2 [ RunTime:0.000261s ]
SELECT * FROM `stock_price` WHERE `stockid` = 10030 ORDER BY `minOrder` ASC [ RunTime:0.000198s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'GDS 207' OR `brand` LIKE 'HIRSCHMANN%' ) ) LIMIT 1 [ RunTime:0.002828s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 10029 LIMIT 4 [ RunTime:0.000261s ]
SELECT * FROM `stock_price` WHERE `stockid` = 10029 ORDER BY `minOrder` ASC [ RunTime:0.000283s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 10029 ORDER BY `unit` DESC [ RunTime:0.000274s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 10029 LIMIT 2 [ RunTime:0.000264s ]
SELECT * FROM `stock_price` WHERE `stockid` = 10029 ORDER BY `minOrder` ASC [ RunTime:0.000178s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'STAK 3 N SCHWARZ/BLACK' OR `brand` LIKE 'HIRSCHMANN%' ) ) LIMIT 1 [ RunTime:0.000348s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 11641 LIMIT 4 [ RunTime:0.000262s ]
SELECT * FROM `stock_price` WHERE `stockid` = 11641 ORDER BY `minOrder` ASC [ RunTime:0.000286s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 11641 ORDER BY `unit` DESC [ RunTime:0.000284s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 11641 LIMIT 2 [ RunTime:0.000266s ]
SELECT * FROM `stock_price` WHERE `stockid` = 11641 ORDER BY `minOrder` ASC [ RunTime:0.000179s ]
select * from pdf where partno='9-176975-1' and brandshort='AMP - TE CONNECTIVITY' limit 1 [ RunTime:0.000855s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '9-176975-1' OR `brand` LIKE 'AMP - TE CONNECTIVITY%' ) ) LIMIT 1 [ RunTime:0.000871s ]
SELECT `id`,`brand`,`package` FROM `stock` WHERE ( ( `status` = 1 OR `status` = 3 OR `status` = 4 OR ( `status` = 2 AND `expiretime` > '2025-10-04 05:16:36' ) ) AND `categoryid` = 635 ) ORDER BY `id` DESC LIMIT 10000 [ RunTime:2.582982s ]
SELECT COUNT(*) AS think_count FROM `stock` WHERE ( ( `status` = 1 OR `status` = 3 OR `status` = 4 OR ( `status` = 2 AND `expiretime` > '2025-10-04 05:16:36' ) ) AND `categoryid` = 635 ) [ RunTime:1.512523s ]