SHOW FULL COLUMNS FROM `product_type` [ RunTime:0.002259s ]
SELECT `id`,`typeid`,`name`,`typestr` FROM `product_type` WHERE `id` NOT IN (11,12,13,14,15) AND `id` <= 750 [ RunTime:0.000534s ]
SHOW FULL COLUMNS FROM `o_cart` [ RunTime:0.002519s ]
SELECT COUNT(*) AS think_count FROM `o_cart` WHERE ( `userId` = 0 AND `visitIP` = '216.73.216.51' ) [ RunTime:0.000343s ]
SHOW FULL COLUMNS FROM `ad` [ RunTime:0.002036s ]
SELECT * FROM `ad` WHERE `isDisplay` = 1 [ RunTime:0.000309s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `id` = 547 LIMIT 1 [ RunTime:0.000441s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `typeid` = 547 [ RunTime:0.000241s ]
SELECT `id`,`name` FROM `product_type` WHERE `typeid` = 48 [ RunTime:0.000226s ]
SHOW FULL COLUMNS FROM `stock` [ RunTime:0.002336s ]
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 04:18:49' ) ) AND `categoryid` = 547 ) ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,10 [ RunTime:1.863027s ]
SHOW FULL COLUMNS FROM `stock_pra` [ RunTime:0.001639s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 3516 LIMIT 4 [ RunTime:0.000379s ]
SHOW FULL COLUMNS FROM `stock_price` [ RunTime:0.000828s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3516 ORDER BY `minOrder` ASC [ RunTime:0.000282s ]
SHOW FULL COLUMNS FROM `stock_unitquantity` [ RunTime:0.000822s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 3516 ORDER BY `unit` DESC [ RunTime:0.000267s ]
SHOW FULL COLUMNS FROM `stock_warehousequantity` [ RunTime:0.000805s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 3516 LIMIT 2 [ RunTime:0.000281s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3516 ORDER BY `minOrder` ASC [ RunTime:0.000162s ]
select * from pdf where partno='D01022' and brandshort='MULTICOMP PRO' limit 1 [ RunTime:0.001236s ]
SHOW FULL COLUMNS FROM `stock_pra_lib` [ RunTime:0.002519s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'D01022' OR `brand` LIKE 'MULTICOMP PRO%' ) ) LIMIT 1 [ RunTime:0.000854s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 13294 LIMIT 4 [ RunTime:0.000414s ]
SELECT * FROM `stock_price` WHERE `stockid` = 13294 ORDER BY `minOrder` ASC [ RunTime:0.000410s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 13294 ORDER BY `unit` DESC [ RunTime:0.000404s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 13294 LIMIT 2 [ RunTime:0.000459s ]
SELECT * FROM `stock_price` WHERE `stockid` = 13294 ORDER BY `minOrder` ASC [ RunTime:0.000337s ]
select * from pdf where partno='16 60 05 SB' and brandshort='KNIPEX' limit 1 [ RunTime:0.003688s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '16 60 05 SB' OR `brand` LIKE 'KNIPEX%' ) ) LIMIT 1 [ RunTime:0.000835s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 13290 LIMIT 4 [ RunTime:0.000463s ]
SELECT * FROM `stock_price` WHERE `stockid` = 13290 ORDER BY `minOrder` ASC [ RunTime:0.000476s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 13290 ORDER BY `unit` DESC [ RunTime:0.000456s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 13290 LIMIT 2 [ RunTime:0.000447s ]
SELECT * FROM `stock_price` WHERE `stockid` = 13290 ORDER BY `minOrder` ASC [ RunTime:0.000338s ]
select * from pdf where partno='12 21 180' and brandshort='KNIPEX' limit 1 [ RunTime:0.001693s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '12 21 180' OR `brand` LIKE 'KNIPEX%' ) ) LIMIT 1 [ RunTime:0.000944s ]
SELECT `id`,`brand`,`package` FROM `stock` WHERE ( ( `status` = 1 OR `status` = 3 OR `status` = 4 OR ( `status` = 2 AND `expiretime` > '2025-10-04 04:18:49' ) ) AND `categoryid` = 547 ) ORDER BY `id` DESC LIMIT 10000 [ RunTime:3.361514s ]
SELECT COUNT(*) AS think_count FROM `stock` WHERE ( ( `status` = 1 OR `status` = 3 OR `status` = 4 OR ( `status` = 2 AND `expiretime` > '2025-10-04 04:18:49' ) ) AND `categoryid` = 547 ) [ RunTime:1.650112s ]