SHOW FULL COLUMNS FROM `product_type` [ RunTime:0.000992s ]
SELECT `id`,`typeid`,`name`,`typestr` FROM `product_type` WHERE `id` NOT IN (11,12,13,14,15) AND `id` <= 750 [ RunTime:0.000378s ]
SHOW FULL COLUMNS FROM `o_cart` [ RunTime:0.001467s ]
SELECT COUNT(*) AS think_count FROM `o_cart` WHERE ( `userId` = 0 AND `visitIP` = '216.73.216.121' ) [ RunTime:0.000241s ]
SHOW FULL COLUMNS FROM `ad` [ RunTime:0.000893s ]
SELECT * FROM `ad` WHERE `isDisplay` = 1 [ RunTime:0.000183s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `id` = 545 LIMIT 1 [ RunTime:0.000289s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `typeid` = 545 [ RunTime:0.000242s ]
SELECT `id`,`name` FROM `product_type` WHERE `typeid` = 48 [ RunTime:0.000165s ]
SHOW FULL COLUMNS FROM `stock` [ RunTime:0.000941s ]
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-29 04:07:49' ) ) AND `categoryid` = 545 ) ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,10 [ RunTime:0.027866s ]
SHOW FULL COLUMNS FROM `stock_pra` [ RunTime:0.002192s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 9750 LIMIT 4 [ RunTime:0.000621s ]
SHOW FULL COLUMNS FROM `stock_price` [ RunTime:0.000914s ]
SELECT * FROM `stock_price` WHERE `stockid` = 9750 ORDER BY `minOrder` ASC [ RunTime:0.000300s ]
SHOW FULL COLUMNS FROM `stock_unitquantity` [ RunTime:0.000813s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 9750 ORDER BY `unit` DESC [ RunTime:0.000263s ]
SHOW FULL COLUMNS FROM `stock_warehousequantity` [ RunTime:0.000810s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 9750 LIMIT 2 [ RunTime:0.000247s ]
SELECT * FROM `stock_price` WHERE `stockid` = 9750 ORDER BY `minOrder` ASC [ RunTime:0.000157s ]
SHOW FULL COLUMNS FROM `stock_pra_lib` [ RunTime:0.001152s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '92 28 69 ESD' OR `brand` LIKE 'KNIPEX%' ) ) LIMIT 1 [ RunTime:0.000434s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 5623 LIMIT 4 [ RunTime:0.000224s ]
SELECT * FROM `stock_price` WHERE `stockid` = 5623 ORDER BY `minOrder` ASC [ RunTime:0.000235s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 5623 ORDER BY `unit` DESC [ RunTime:0.000228s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 5623 LIMIT 2 [ RunTime:0.000218s ]
SELECT * FROM `stock_price` WHERE `stockid` = 5623 ORDER BY `minOrder` ASC [ RunTime:0.000151s ]
select * from pdf where partno='259CFR.SA' and brandshort='IDEAL-TEK' limit 1 [ RunTime:0.000890s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '259CFR.SA' OR `brand` LIKE 'IDEAL-TEK%' ) ) LIMIT 1 [ RunTime:0.000782s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 3079 LIMIT 4 [ RunTime:0.000460s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3079 ORDER BY `minOrder` ASC [ RunTime:0.000522s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 3079 ORDER BY `unit` DESC [ RunTime:0.000507s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 3079 LIMIT 2 [ RunTime:0.000444s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3079 ORDER BY `minOrder` ASC [ RunTime:0.000311s ]
select * from pdf where partno='44511' and brandshort='WIHA' limit 1 [ RunTime:0.001199s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '44511' OR `brand` LIKE 'WIHA%' ) ) LIMIT 1 [ RunTime:0.000641s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 10813 LIMIT 4 [ RunTime:0.000436s ]
SELECT * FROM `stock_price` WHERE `stockid` = 10813 ORDER BY `minOrder` ASC [ RunTime:0.000472s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 10813 ORDER BY `unit` DESC [ RunTime:0.000503s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 10813 LIMIT 2 [ RunTime:0.000440s ]
SELECT * FROM `stock_price` WHERE `stockid` = 10813 ORDER BY `minOrder` ASC [ RunTime:0.000314s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '1PK-105T-F' OR `brand` LIKE 'DURATOOL%' ) ) LIMIT 1 [ RunTime:0.000636s ]
SELECT `id`,`brand`,`package` FROM `stock` WHERE ( ( `status` = 1 OR `status` = 3 OR `status` = 4 OR ( `status` = 2 AND `expiretime` > '2025-09-29 04:07:49' ) ) AND `categoryid` = 545 ) ORDER BY `id` DESC LIMIT 10000 [ RunTime:0.030786s ]
SELECT COUNT(*) AS think_count FROM `stock` WHERE ( ( `status` = 1 OR `status` = 3 OR `status` = 4 OR ( `status` = 2 AND `expiretime` > '2025-09-29 04:07:49' ) ) AND `categoryid` = 545 ) [ RunTime:0.020125s ]