This sample demonstrates the use of the transaction log labeling feature. The application starts transaction logging and runs
READ_WRITE
transactions while it periodically marks the log file with labels between transaction blocks. After the specified transaction count has elapsed the sample demonstrates how to gather information about labels inside the current opened log file and then from a detached log file using a user-defined labelproc
callback function.
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:tloglabelsBut it is more instructive to run it in your development environment debugger, stepping through the code.