⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 logfile.so

📁 berkeley db 4.6.21的源码。berkeley db是一个简单的数据库管理系统
💻 SO
字号:
m4_comment([$Id: logfile.so,v 11.9 2002/11/13 21:49:24 bostic Exp $])m4_ref_title(m4_tam Applications,    Log file removal,    @log file removal,    transapp/archival, transapp/recovery)m4_p([dnlThe fourth component of the infrastructure, log file removal, concernsthe ongoing disk consumption of the database log files.  Depending onthe rate at which the application writes to the databases and theavailable disk space, the number of log files may increase quicklyenough so that disk space will be a resource problem.  For this reason,you will periodically want to remove log files in order to conserve diskspace.  This procedure is distinct from database and log file archivalfor catastrophic recovery, and you cannot remove the current log filessimply because you have created a database snapshot or copied log filesto archival media.])m4_p([dnlLog files may be removed at any time, as long as:])m4_bulletbeginm4_bullet([the log file is not involved in an active transaction.])m4_bullet([a checkpoint has been written subsequent to the log file'screation.])m4_bullet([the log file is not the only log file in the environment.])m4_bulletendm4_p([dnlIf you are preparing for catastrophic failure, you will want to copythe log files to archival media before you remove them as described inm4_link(archival, Database and log file archival).])m4_p([dnlIf you are not preparing for catastrophic failure, any one of thefollowing methods can be used to remove log files:])m4_nlistbeginm4_nlist([dnlRun the standalone m4_ref(db_archive) utility with the m4_option(d)option, to remove any log files that are no longer needed at the timethe command is executed.])m4_nlist([dnlCall the m4_refT(log_archive) from the application, with them4_ref(DB_ARCH_REMOVE) flag, to remove any log files that are no longerneeded at the time the call is made.])m4_nlist([dnlCall the m4_refT(dbenv_set_flags) from the application, with them4_ref(DB_LOG_AUTOREMOVE) flag, to remove any log files that are nolonger needed on an ongoing basis.  With this configuration, m4_db willautomatically remove log files, and the application will not have anopportunity to copy the log files to backup media.])m4_nlistendm4_page_footer

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -