MyRocks and START TRANSACTION WITH CONSISTENT SNAPSHOT
You are viewing an old version of this article. View
the current version here
FB/MySQL has added new syntax:
START TRANSACTION WITH CONSISTENT ROCKSDB|INNODB SNAPSHOT;
The statement returns the binlog coordinates pointing at the snapshot.
MariaDB (and Percona Server) support extension to the regular
START TRANSACTION WITH CONSISTENT SNAPSHOT;
syntax as documented in Enhancements for START TRANSACTION WITH CONSISTENT SNAPSHOT.
After issuing the statement, one can examine the binlog_snapshot_file and binlog_snapshot_position status variables to see the binlog position that corresponds to the snapshot.
Content reproduced on this site is the property of its respective owners,
and this content is not reviewed in advance by MariaDB. The views, information and opinions
expressed by this content do not necessarily represent those of MariaDB or any other party.