Transaction Logging API

Please use the links below to view Reference Guide pages for the eXtremeDB Transaction Logging API functions:

mco_translog_apply
Reads a specified log file up to the specified label and applies its content to the database.
mco_translog_db_save
Saves a database image to an external file and truncates a transaction log.
mco_translog_flush
Flushes the file system buffers of a log file.
mco_translog_get_info
Obtains information about the currently running TL runtime.
mco_translog_init
Initializes internal database runtime core pointers to provide access to service functions inside the TL library.
mco_translog_iterate
Reads a specified log file or pipe and iterates its content using a user-defined callback.
mco_translog_label
Stores a label in the log file.
mco_translog_play
Reads a specified log file or pipe and iterates its content using a user-defined callback.
mco_translog_play_params_init

Initializes the parameters passed to mco_translog_play_ex().

mco_translog_play_ex
Reads and iterates a log file as mco_translog_play() does, except using a mco_TL_play_params_t argument.
mco_translog_play_stop
Stops one instance of transaction logging without affecting other instances of transaction logging.
mco_translog_query_info
Reads a specified log file to check it for compatibility with the current database and enumerates its labels.
mco_translog_start
Begins logging transactions according to the specified options.
mco_translog_stop
Terminates transaction logging and closes the log file.
mco_translog_terminate
Terminates transaction logging when logging MCO_TRANSLOG_PIPE was enabled and the pipe has become full.
mco_translog_truncate
Truncates the log file and begins logging anew.