SHOW FULL COLUMNS FROM `product_type` [ RunTime:0.002384s ]
SELECT `id`,`typeid`,`name`,`typestr` FROM `product_type` WHERE `id` NOT IN (11,12,13,14,15) AND `id` <= 750 [ RunTime:0.000626s ]
SHOW FULL COLUMNS FROM `o_cart` [ RunTime:0.003642s ]
SELECT COUNT(*) AS think_count FROM `o_cart` WHERE ( `userId` = 0 AND `visitIP` = '216.73.216.215' ) [ RunTime:0.000464s ]
SHOW FULL COLUMNS FROM `ad` [ RunTime:0.002234s ]
SELECT * FROM `ad` WHERE `isDisplay` = 1 [ RunTime:0.000357s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `id` = 100 LIMIT 1 [ RunTime:0.000636s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `typeid` = 100 [ RunTime:0.000399s ]
SELECT `id`,`name` FROM `product_type` WHERE `typeid` = 19 [ RunTime:0.000156s ]
SHOW FULL COLUMNS FROM `stock` [ RunTime:0.001373s ]
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 ( `package` = 'BGA' AND ( `status` = 1 OR `status` = 3 OR `status` = 4 OR ( `status` = 2 AND `expiretime` > '2025-10-07 19:37:06' ) ) AND `categoryid` = 100 ) ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,10 [ RunTime:2.192619s ]
SHOW FULL COLUMNS FROM `stock_pra` [ RunTime:0.001960s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 14989 LIMIT 4 [ RunTime:0.001148s ]
SHOW FULL COLUMNS FROM `stock_price` [ RunTime:0.001378s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14989 ORDER BY `minOrder` ASC [ RunTime:0.001202s ]
SHOW FULL COLUMNS FROM `stock_unitquantity` [ RunTime:0.001298s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 14989 ORDER BY `unit` DESC [ RunTime:0.001052s ]
SHOW FULL COLUMNS FROM `stock_warehousequantity` [ RunTime:0.001224s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 14989 LIMIT 2 [ RunTime:0.000437s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14989 ORDER BY `minOrder` ASC [ RunTime:0.000240s ]
select * from pdf where partno='LFE2M20E-6FN256C-5I' and brandshort='LATTICE' limit 1 [ RunTime:0.003641s ]
SHOW FULL COLUMNS FROM `stock_pra_lib` [ RunTime:0.002395s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'LFE2M20E-6FN256C-5I' OR `brand` LIKE 'LATTICE%' ) ) LIMIT 1 [ RunTime:0.001388s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 14988 LIMIT 4 [ RunTime:0.000565s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14988 ORDER BY `minOrder` ASC [ RunTime:0.000411s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 14988 ORDER BY `unit` DESC [ RunTime:0.000437s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 14988 LIMIT 2 [ RunTime:0.000405s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14988 ORDER BY `minOrder` ASC [ RunTime:0.000276s ]
select * from pdf where partno='TMS320DM8127BCYE1' and brandshort='TI' limit 1 [ RunTime:0.000881s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'TMS320DM8127BCYE1' OR `brand` LIKE 'TI%' ) ) LIMIT 1 [ RunTime:0.024398s ]
SELECT `id`,`brand`,`package` FROM `stock` WHERE ( `status` = 1 OR `status` = 3 OR `status` = 4 OR ( `status` = 2 AND `expiretime` > '2025-10-07 19:37:06' ) ) AND `categoryid` = 100 ORDER BY `id` DESC LIMIT 10000 [ RunTime:2.839114s ]
SELECT COUNT(*) AS think_count FROM `stock` WHERE ( `package` = 'BGA' AND ( `status` = 1 OR `status` = 3 OR `status` = 4 OR ( `status` = 2 AND `expiretime` > '2025-10-07 19:37:06' ) ) AND `categoryid` = 100 ) [ RunTime:1.740135s ]