r/mysql • u/ShannonBase • Oct 09 '26
question Why heatwave sets this limitation?
in mysql doc, it says that "Enable autocommit. If autocommit is disabled, MySQL HeatWave does not offload the query and execution is performed on the DB System. To check the autocommit setting:". whether we can say it does not support long transaction statement or not. just like "
start transaction;
insert into table_a values(...);
select xxx from table_a where yyy;
commit;
"
only
"
set autocommit =1;
insert into table_a values(...);
select xxx from table_a where yyy;
"
Anyone can explain why mysql sets this limitation? thanks in advance.
6
Upvotes
1
u/ssnoyes Oct 09 '26
I think it's because RAPID is not transactional and cannot see uncommitted changes. Requiring autocommit guarantees that you will not be mixing your off-loaded SELECT with some writes and expecting to see those uncommitted results.