事务日志记录
请使用下面的链接查看 SmartEDB Transaction Logging API 函数的参考指南页面:
mco_translog_apply | 读取指定的日志文件,直到指定的标签,并将其内容应用于数据库 |
mco_translog_db_save | 将数据库映像保存到外部文件并截断事务日志 |
mco_translog_flush | 刷新日志文件的文件系统缓冲区 |
mco_translog_get_info | 获取有关当前正在运行的 TL 运行时的信息 |
mco_translog_init | 初始化内部数据库运行时核心指针,以提供对 TL 库中服务函数的访问 |
mco_translog_iterate | 读取指定的日志文件或 Pipe,并通过用户定义的回调迭代其内容 |
mco_translog_label | 在日志文件中存储标签 |
mco_translog_play | 读取指定的日志文件或 Pipe,并通过用户定义的回调迭代其内容 |
mco_translog_play_params_init | 初始化传递给 的参数。mco_translog_play_ex() |
mco_translog_play_ex | 以 mco_translog_play() 方式读取和迭代日志文件,但使用 mco_translog_play_params_t 参数除外 |
mco_translog_play_stop | 停止事务日志记录的一个实例,而不影响事务日志记录的其他实例 |
mco_translog_query_info | 读取指定的日志文件以检查它与当前数据库的兼容性并枚举其标签 |
mco_translog_start | 根据指定的选项开始记录事务 |
mco_translog_stop | 终止事务日志记录并关闭日志文件 |
mco_translog_terminate | 启用日志记录MCO_TRANSLOG_PIPE并且管道已满时终止事务日志记录 |
mco_translog_truncate | 截断日志文件并重新开始记录 |