SHOW FULL COLUMNS FROM `product_type` [ RunTime:0.001244s ]
SELECT `id`,`typeid`,`name`,`typestr` FROM `product_type` WHERE `id` NOT IN (11,12,13,14,15) AND `id` <= 750 [ RunTime:0.000409s ]
SHOW FULL COLUMNS FROM `o_cart` [ RunTime:0.001685s ]
SELECT COUNT(*) AS think_count FROM `o_cart` WHERE ( `userId` = 0 AND `visitIP` = '216.73.216.213' ) [ RunTime:0.000252s ]
SHOW FULL COLUMNS FROM `ad` [ RunTime:0.001047s ]
SELECT * FROM `ad` WHERE `isDisplay` = 1 [ RunTime:0.000211s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `id` = 296 LIMIT 1 [ RunTime:0.000212s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `typeid` = 296 [ RunTime:0.000147s ]
SELECT `id`,`name` FROM `product_type` WHERE `typeid` = 30 [ RunTime:0.000182s ]
SHOW FULL COLUMNS FROM `stock` [ RunTime:0.003205s ]
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-02 03:53:56' ) ) AND `categoryid` = 296 ) ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,10 [ RunTime:1.826936s ]
SHOW FULL COLUMNS FROM `stock_pra` [ RunTime:0.002588s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 4639 LIMIT 4 [ RunTime:0.000853s ]
SHOW FULL COLUMNS FROM `stock_price` [ RunTime:0.000971s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4639 ORDER BY `minOrder` ASC [ RunTime:0.000436s ]
SHOW FULL COLUMNS FROM `stock_unitquantity` [ RunTime:0.000890s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 4639 ORDER BY `unit` DESC [ RunTime:0.000420s ]
SHOW FULL COLUMNS FROM `stock_warehousequantity` [ RunTime:0.001426s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 4639 LIMIT 2 [ RunTime:0.000400s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4639 ORDER BY `minOrder` ASC [ RunTime:0.000258s ]
SHOW FULL COLUMNS FROM `stock_pra_lib` [ RunTime:0.000931s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'PEL12T-4225S-S1024-DEL' OR `brand` LIKE 'BOURNS%' ) ) LIMIT 1 [ RunTime:0.000326s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 16328 LIMIT 4 [ RunTime:0.000359s ]
SELECT * FROM `stock_price` WHERE `stockid` = 16328 ORDER BY `minOrder` ASC [ RunTime:0.000532s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 16328 ORDER BY `unit` DESC [ RunTime:0.000358s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 16328 LIMIT 2 [ RunTime:0.000326s ]
SELECT * FROM `stock_price` WHERE `stockid` = 16328 ORDER BY `minOrder` ASC [ RunTime:0.000244s ]
select * from pdf where partno='PEL12T-4225S-S1024-DEL' and brandshort='BOURNS' limit 1 [ RunTime:0.000598s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'PEL12T-4225S-S1024-DEL' OR `brand` LIKE 'BOURNS%' ) ) LIMIT 1 [ RunTime:0.000566s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 15308 LIMIT 4 [ RunTime:0.000410s ]
SELECT * FROM `stock_price` WHERE `stockid` = 15308 ORDER BY `minOrder` ASC [ RunTime:0.000339s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 15308 ORDER BY `unit` DESC [ RunTime:0.000247s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 15308 LIMIT 2 [ RunTime:0.000237s ]
SELECT * FROM `stock_price` WHERE `stockid` = 15308 ORDER BY `minOrder` ASC [ RunTime:0.000236s ]
select * from pdf where partno='PEL12T-4225S-S1024-DEL' and brandshort='BOURNS' limit 1 [ RunTime:0.000776s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'PEL12T-4225S-S1024-DEL' OR `brand` LIKE 'BOURNS%' ) ) LIMIT 1 [ RunTime:0.000299s ]
SELECT `id`,`brand`,`package` FROM `stock` WHERE ( ( `status` = 1 OR `status` = 3 OR `status` = 4 OR ( `status` = 2 AND `expiretime` > '2025-10-02 03:53:56' ) ) AND `categoryid` = 296 ) ORDER BY `id` DESC LIMIT 10000 [ RunTime:2.478419s ]
SELECT COUNT(*) AS think_count FROM `stock` WHERE ( ( `status` = 1 OR `status` = 3 OR `status` = 4 OR ( `status` = 2 AND `expiretime` > '2025-10-02 03:53:56' ) ) AND `categoryid` = 296 ) [ RunTime:1.500081s ]