This sample demonstrates eXtremeDB Transaction Logging by appending transactions to an already existing log file. It demonstrates the use of the
MCO_TRANSLOG_APPEND
option.The application opens and connects to a database, starts transaction logging, performs some read-write transactions, then stops transaction logging.
Then the transaction log file is queried for append compatibility and, if it is found compatible, more read-write transactions are performed, transaction logging is stopped, and the database closed.
See instructions here on how to build this and other samples on your development platform. Once built, the sample can be run from the
\target\bin
directory:tlogappendBut it is more instructive to run it in your development environment debugger, stepping through the code.