SHOW FULL COLUMNS FROM `product_type` [ RunTime:0.001995s ]
SELECT `id`,`typeid`,`name`,`typestr` FROM `product_type` WHERE `id` NOT IN (11,12,13,14,15) AND `id` <= 750 [ RunTime:0.000499s ]
SHOW FULL COLUMNS FROM `o_cart` [ RunTime:0.002799s ]
SELECT COUNT(*) AS think_count FROM `o_cart` WHERE ( `userId` = 0 AND `visitIP` = '216.73.216.121' ) [ RunTime:0.000313s ]
SHOW FULL COLUMNS FROM `ad` [ RunTime:0.001832s ]
SELECT * FROM `ad` WHERE `isDisplay` = 1 [ RunTime:0.000278s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `id` = 127 LIMIT 1 [ RunTime:0.000635s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `typeid` = 127 [ RunTime:0.000346s ]
SELECT `id`,`name` FROM `product_type` WHERE `typeid` = 21 [ RunTime:0.000261s ]
SHOW FULL COLUMNS FROM `stock` [ RunTime:0.001113s ]
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-30 15:00:50' ) ) AND `categoryid` = 127 ) ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 20,10 [ RunTime:0.824103s ]
SHOW FULL COLUMNS FROM `stock_pra` [ RunTime:0.001347s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 12361 LIMIT 4 [ RunTime:0.000415s ]
SHOW FULL COLUMNS FROM `stock_price` [ RunTime:0.000982s ]
SELECT * FROM `stock_price` WHERE `stockid` = 12361 ORDER BY `minOrder` ASC [ RunTime:0.000356s ]
SHOW FULL COLUMNS FROM `stock_unitquantity` [ RunTime:0.001322s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 12361 ORDER BY `unit` DESC [ RunTime:0.000387s ]
SHOW FULL COLUMNS FROM `stock_warehousequantity` [ RunTime:0.000978s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 12361 LIMIT 2 [ RunTime:0.000325s ]
SELECT * FROM `stock_price` WHERE `stockid` = 12361 ORDER BY `minOrder` ASC [ RunTime:0.000210s ]
SHOW FULL COLUMNS FROM `stock_pra_lib` [ RunTime:0.001033s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'A6213KLJTR-T' OR `brand` LIKE 'ALLEGRO MICROSYSTEMS%' ) ) LIMIT 1 [ RunTime:0.000468s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 13582 LIMIT 4 [ RunTime:0.000291s ]
SELECT * FROM `stock_price` WHERE `stockid` = 13582 ORDER BY `minOrder` ASC [ RunTime:0.000201s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 13582 ORDER BY `unit` DESC [ RunTime:0.000222s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 13582 LIMIT 2 [ RunTime:0.000185s ]
SELECT * FROM `stock_price` WHERE `stockid` = 13582 ORDER BY `minOrder` ASC [ RunTime:0.000177s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'HSMY-C170' OR `brand` LIKE 'BROADCOM%' ) ) LIMIT 1 [ RunTime:0.000199s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 3692 LIMIT 4 [ RunTime:0.000294s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3692 ORDER BY `minOrder` ASC [ RunTime:0.000320s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 3692 ORDER BY `unit` DESC [ RunTime:0.000352s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 3692 LIMIT 2 [ RunTime:0.000284s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3692 ORDER BY `minOrder` ASC [ RunTime:0.000185s ]
select * from pdf where partno='OVS-0603' and brandshort='MULTICOMP PRO' limit 1 [ RunTime:0.001776s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'OVS-0603' OR `brand` LIKE 'MULTICOMP PRO%' ) ) LIMIT 1 [ RunTime:0.001026s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 13848 LIMIT 4 [ RunTime:0.000417s ]
SELECT * FROM `stock_price` WHERE `stockid` = 13848 ORDER BY `minOrder` ASC [ RunTime:0.000360s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 13848 ORDER BY `unit` DESC [ RunTime:0.000346s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 13848 LIMIT 2 [ RunTime:0.000329s ]
SELECT * FROM `stock_price` WHERE `stockid` = 13848 ORDER BY `minOrder` ASC [ RunTime:0.000250s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'KP-2012SURC' OR `brand` LIKE 'KINGBRIGHT%' ) ) LIMIT 1 [ RunTime:0.000788s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 53 LIMIT 4 [ RunTime:0.000332s ]
SELECT * FROM `stock_price` WHERE `stockid` = 53 ORDER BY `minOrder` ASC [ RunTime:0.000257s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 53 ORDER BY `unit` DESC [ RunTime:0.000254s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 53 LIMIT 2 [ RunTime:0.000241s ]
SELECT * FROM `stock_price` WHERE `stockid` = 53 ORDER BY `minOrder` ASC [ RunTime:0.000248s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'HLMP-1503' OR `brand` LIKE 'BROADCOM%' ) ) LIMIT 1 [ RunTime:0.000259s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 60 LIMIT 4 [ RunTime:0.000312s ]
SELECT * FROM `stock_price` WHERE `stockid` = 60 ORDER BY `minOrder` ASC [ RunTime:0.000265s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 60 ORDER BY `unit` DESC [ RunTime:0.000273s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 60 LIMIT 2 [ RunTime:0.000240s ]
SELECT * FROM `stock_price` WHERE `stockid` = 60 ORDER BY `minOrder` ASC [ RunTime:0.000243s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'HLMP-4740' OR `brand` LIKE 'BROADCOM%' ) ) LIMIT 1 [ RunTime:0.000252s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 3442 LIMIT 4 [ RunTime:0.000319s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3442 ORDER BY `minOrder` ASC [ RunTime:0.000343s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 3442 ORDER BY `unit` DESC [ RunTime:0.000329s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 3442 LIMIT 2 [ RunTime:0.000329s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3442 ORDER BY `minOrder` ASC [ RunTime:0.000247s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'KPHCM-2012SURCK' OR `brand` LIKE 'KINGBRIGHT%' ) ) LIMIT 1 [ RunTime:0.000653s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 2769 LIMIT 4 [ RunTime:0.000320s ]
SELECT * FROM `stock_price` WHERE `stockid` = 2769 ORDER BY `minOrder` ASC [ RunTime:0.000337s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 2769 ORDER BY `unit` DESC [ RunTime:0.000332s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 2769 LIMIT 2 [ RunTime:0.000334s ]
SELECT * FROM `stock_price` WHERE `stockid` = 2769 ORDER BY `minOrder` ASC [ RunTime:0.000249s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'MCL034GT' OR `brand` LIKE 'MULTICOMP PRO%' ) ) LIMIT 1 [ RunTime:0.000399s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 1606 LIMIT 4 [ RunTime:0.000311s ]
SELECT * FROM `stock_price` WHERE `stockid` = 1606 ORDER BY `minOrder` ASC [ RunTime:0.000270s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 1606 ORDER BY `unit` DESC [ RunTime:0.000260s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 1606 LIMIT 2 [ RunTime:0.000238s ]
SELECT * FROM `stock_price` WHERE `stockid` = 1606 ORDER BY `minOrder` ASC [ RunTime:0.000243s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'TLMS1100-GS08' OR `brand` LIKE 'VISHAY%' ) ) LIMIT 1 [ RunTime:0.000277s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 5992 LIMIT 4 [ RunTime:0.000326s ]
SELECT * FROM `stock_price` WHERE `stockid` = 5992 ORDER BY `minOrder` ASC [ RunTime:0.000369s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 5992 ORDER BY `unit` DESC [ RunTime:0.000328s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 5992 LIMIT 2 [ RunTime:0.000324s ]
SELECT * FROM `stock_price` WHERE `stockid` = 5992 ORDER BY `minOrder` ASC [ RunTime:0.000251s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'L-154A4SURKQBDZGW' OR `brand` LIKE 'KINGBRIGHT%' ) ) LIMIT 1 [ RunTime:0.000678s ]
SELECT `id`,`brand`,`package` FROM `stock` WHERE ( ( `status` = 1 OR `status` = 3 OR `status` = 4 OR ( `status` = 2 AND `expiretime` > '2025-09-30 15:00:50' ) ) AND `categoryid` = 127 ) ORDER BY `id` DESC LIMIT 10000 [ RunTime:1.143262s ]
SELECT COUNT(*) AS think_count FROM `stock` WHERE ( ( `status` = 1 OR `status` = 3 OR `status` = 4 OR ( `status` = 2 AND `expiretime` > '2025-09-30 15:00:50' ) ) AND `categoryid` = 127 ) [ RunTime:0.691667s ]