Library Version 18.1.40

Chapter 8. The DbLsn Handle
Prev |  | Next

## Chapter 8. The DbLsn Handle

    #include <db_cxx.h>

    class DbLsn : public DB_LSN { ... };

The `DbLsn` object is a log sequence number which specifies a unique location in a log file. A `DbLsn` consists of two unsigned 32-bit integers -- one specifies the log file number, and the other specifies an offset in the log file.

## Logging Subsystem and Related Methods

Logging Subsystem and Related Methods | Description
--- | ---
DbEnv::log_archive() | List log and database files
DbEnv::log_file() | Map Log Sequence Numbers to log files
DbEnv::log_flush() | Flush log records
DbEnv::log_printf() | Append informational message to the log
DbEnv::log_put() | Write a log record
DbEnv::log_stat() | Return log subsystem statistics
DbEnv::log_stat_print() | Print log subsystem statistics
DbEnv::log_compare() | Compare two Log Sequence Numbers
Logging Subsystem Cursors
DbEnv::log_cursor() | Create a log cursor handle
The DbLogc Handle | A log cursor handle
DbLogc::close() | Close a log cursor
DbLogc::get() | Retrieve a log record
Logging Subsystem Configuration
DbEnv::log_set_config() , DbEnv::log_get_config() | Configure the logging subsystem
DbEnv::set_lg_bsize() , DbEnv::get_lg_bsize() | Set/get log buffer size
DbEnv::set_lg_dir() , DbEnv::get_lg_dir() | Set/get the environment logging directory
DbEnv::set_lg_filemode() , DbEnv::get_lg_filemode() | Set/get log file mode
DbEnv::set_lg_max() , DbEnv::get_lg_max() | Set/get log file size
DbEnv::set_lg_regionmax() , DbEnv::get_lg_regionmax() | Set/get logging region size

Prev |  | Next
DbEnv::lock_vec() | Home | DbEnv::get_lg_bsize()