SHOW FULL COLUMNS FROM `product_type` [ RunTime:0.001011s ]
SELECT `id`,`typeid`,`name`,`typestr` FROM `product_type` WHERE `id` NOT IN (11,12,13,14,15) AND `id` <= 750 [ RunTime:0.000377s ]
SHOW FULL COLUMNS FROM `o_cart` [ RunTime:0.001102s ]
SELECT COUNT(*) AS think_count FROM `o_cart` WHERE ( `userId` = 0 AND `visitIP` = '216.73.216.163' ) [ RunTime:0.000222s ]
SHOW FULL COLUMNS FROM `ad` [ RunTime:0.000919s ]
SELECT * FROM `ad` WHERE `isDisplay` = 1 [ RunTime:0.000198s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `id` = 127 LIMIT 1 [ RunTime:0.000206s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `typeid` = 127 [ RunTime:0.000156s ]
SELECT `id`,`name` FROM `product_type` WHERE `typeid` = 21 [ RunTime:0.000156s ]
SHOW FULL COLUMNS FROM `stock` [ RunTime:0.000958s ]
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-08 10:48:10' ) ) AND `categoryid` = 127 ) ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 30,10 [ RunTime:1.846606s ]
SHOW FULL COLUMNS FROM `stock_pra` [ RunTime:0.001696s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 5990 LIMIT 4 [ RunTime:0.000265s ]
SHOW FULL COLUMNS FROM `stock_price` [ RunTime:0.000820s ]
SELECT * FROM `stock_price` WHERE `stockid` = 5990 ORDER BY `minOrder` ASC [ RunTime:0.000177s ]
SHOW FULL COLUMNS FROM `stock_unitquantity` [ RunTime:0.000810s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 5990 ORDER BY `unit` DESC [ RunTime:0.000175s ]
SHOW FULL COLUMNS FROM `stock_warehousequantity` [ RunTime:0.000803s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 5990 LIMIT 2 [ RunTime:0.000172s ]
SELECT * FROM `stock_price` WHERE `stockid` = 5990 ORDER BY `minOrder` ASC [ RunTime:0.000156s ]
SHOW FULL COLUMNS FROM `stock_pra_lib` [ RunTime:0.000836s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'KP-1608SURCK' OR `brand` LIKE 'KINGBRIGHT%' ) ) LIMIT 1 [ RunTime:0.000191s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 7340 LIMIT 4 [ RunTime:0.000161s ]
SELECT * FROM `stock_price` WHERE `stockid` = 7340 ORDER BY `minOrder` ASC [ RunTime:0.000163s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 7340 ORDER BY `unit` DESC [ RunTime:0.000161s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 7340 LIMIT 2 [ RunTime:0.000157s ]
SELECT * FROM `stock_price` WHERE `stockid` = 7340 ORDER BY `minOrder` ASC [ RunTime:0.000148s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'KP-1608MGC' OR `brand` LIKE 'KINGBRIGHT%' ) ) LIMIT 1 [ RunTime:0.000166s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 5470 LIMIT 4 [ RunTime:0.000325s ]
SELECT * FROM `stock_price` WHERE `stockid` = 5470 ORDER BY `minOrder` ASC [ RunTime:0.000267s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 5470 ORDER BY `unit` DESC [ RunTime:0.000407s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 5470 LIMIT 2 [ RunTime:0.000307s ]
SELECT * FROM `stock_price` WHERE `stockid` = 5470 ORDER BY `minOrder` ASC [ RunTime:0.000159s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '703-0087' OR `brand` LIKE 'MULTICOMP PRO%' ) ) LIMIT 1 [ RunTime:0.000395s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 58 LIMIT 4 [ RunTime:0.000255s ]
SELECT * FROM `stock_price` WHERE `stockid` = 58 ORDER BY `minOrder` ASC [ RunTime:0.000261s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 58 ORDER BY `unit` DESC [ RunTime:0.000243s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 58 LIMIT 2 [ RunTime:0.000230s ]
SELECT * FROM `stock_price` WHERE `stockid` = 58 ORDER BY `minOrder` ASC [ RunTime:0.000169s ]
select * from pdf where partno='HLMP-3401' and brandshort='BROADCOM' limit 1 [ RunTime:0.000940s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'HLMP-3401' OR `brand` LIKE 'BROADCOM%' ) ) LIMIT 1 [ RunTime:0.002327s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 55 LIMIT 4 [ RunTime:0.000435s ]
SELECT * FROM `stock_price` WHERE `stockid` = 55 ORDER BY `minOrder` ASC [ RunTime:0.000428s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 55 ORDER BY `unit` DESC [ RunTime:0.000648s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 55 LIMIT 2 [ RunTime:0.000520s ]
SELECT * FROM `stock_price` WHERE `stockid` = 55 ORDER BY `minOrder` ASC [ RunTime:0.000305s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'HLMP-1790' OR `brand` LIKE 'BROADCOM%' ) ) LIMIT 1 [ RunTime:0.002194s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 178 LIMIT 4 [ RunTime:0.000537s ]
SELECT * FROM `stock_price` WHERE `stockid` = 178 ORDER BY `minOrder` ASC [ RunTime:0.000487s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 178 ORDER BY `unit` DESC [ RunTime:0.000502s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 178 LIMIT 2 [ RunTime:0.000554s ]
SELECT * FROM `stock_price` WHERE `stockid` = 178 ORDER BY `minOrder` ASC [ RunTime:0.000307s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'TLHG4900' OR `brand` LIKE 'VISHAY%' ) ) LIMIT 1 [ RunTime:0.006840s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 2767 LIMIT 4 [ RunTime:0.000453s ]
SELECT * FROM `stock_price` WHERE `stockid` = 2767 ORDER BY `minOrder` ASC [ RunTime:0.000443s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 2767 ORDER BY `unit` DESC [ RunTime:0.000427s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 2767 LIMIT 2 [ RunTime:0.000397s ]
SELECT * FROM `stock_price` WHERE `stockid` = 2767 ORDER BY `minOrder` ASC [ RunTime:0.000299s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'MCL034GD' OR `brand` LIKE 'MULTICOMP PRO%' ) ) LIMIT 1 [ RunTime:0.000529s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 3690 LIMIT 4 [ RunTime:0.000621s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3690 ORDER BY `minOrder` ASC [ RunTime:0.000671s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 3690 ORDER BY `unit` DESC [ RunTime:0.000567s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 3690 LIMIT 2 [ RunTime:0.000544s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3690 ORDER BY `minOrder` ASC [ RunTime:0.000301s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'OVS-0801' OR `brand` LIKE 'MULTICOMP PRO%' ) ) LIMIT 1 [ RunTime:0.000620s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 14492 LIMIT 4 [ RunTime:0.000397s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14492 ORDER BY `minOrder` ASC [ RunTime:0.000396s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 14492 ORDER BY `unit` DESC [ RunTime:0.000401s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 14492 LIMIT 2 [ RunTime:0.000398s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14492 ORDER BY `minOrder` ASC [ RunTime:0.000298s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'LED3-3' OR `brand` LIKE 'MULTICOMP PRO%' ) ) LIMIT 1 [ RunTime:0.000506s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 13850 LIMIT 4 [ RunTime:0.000399s ]
SELECT * FROM `stock_price` WHERE `stockid` = 13850 ORDER BY `minOrder` ASC [ RunTime:0.000422s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 13850 ORDER BY `unit` DESC [ RunTime:0.000409s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 13850 LIMIT 2 [ RunTime:0.000392s ]
SELECT * FROM `stock_price` WHERE `stockid` = 13850 ORDER BY `minOrder` ASC [ RunTime:0.000297s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'KP-3216MGC' OR `brand` LIKE 'KINGBRIGHT%' ) ) LIMIT 1 [ RunTime:0.001074s ]
SELECT `id`,`brand`,`package` FROM `stock` WHERE ( ( `status` = 1 OR `status` = 3 OR `status` = 4 OR ( `status` = 2 AND `expiretime` > '2025-10-08 10:48:10' ) ) AND `categoryid` = 127 ) ORDER BY `id` DESC LIMIT 10000 [ RunTime:2.551827s ]
SELECT COUNT(*) AS think_count FROM `stock` WHERE ( ( `status` = 1 OR `status` = 3 OR `status` = 4 OR ( `status` = 2 AND `expiretime` > '2025-10-08 10:48:10' ) ) AND `categoryid` = 127 ) [ RunTime:1.598554s ]