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

📄 verify.so

📁 berkeley db 4.6.21的源码。berkeley db是一个简单的数据库管理系统
💻 SO
字号:
m4_comment([$Id: verify.so,v 10.10 2003/10/18 19:15:54 bostic Exp $])m4_ref_title(Access Methods, Database verification and salvage,   [database @verification, database @salvage, salvaging @corrupted databases],   am/upgrade, am/sync)m4_p([dnlThe m4_refT(dbh_verify) verifies that a file, and any databases it maycontain, are uncorrupted.  In addition, the method may optionally becalled with a file stream argument to which all key/data pairs found inthe database are output.  There are two modes for finding key/data pairsto be output:])m4_nlistbeginm4_nlist([dnlIf the m4_ref(DB_SALVAGE) flag is specified, the key/data pairs in thedatabase are output.  When run in this mode, the database is assumed tobe largely uncorrupted. For example, the m4_ref(dbh_verify) method willsearch for pages that are no longer linked into the database, and willoutput key/data pairs from such pages.  However, key/data items thathave been marked as deleted in the database will not be output, as thepage structures are generally trusted in this mode.])m4_nlist([dnlIf both the m4_ref(DB_SALVAGE) and m4_ref(DB_AGGRESSIVE) flags arespecified, all possible key/data pairs are output.  When run in this mode,the database is assumed to be seriously corrupted.  For example, key/datapairs that have been deleted will re-appear in the output.  In addition,because pages may have been subsequently reused and modified duringnormal database operations after the key/data pairs were deleted, it isnot uncommon for apparently corrupted key/data pairs to be output in thismode, even when there is no corruption in the underlying database.  Theoutput will almost always have to be edited by hand or other means beforethe data is ready for reload into another database.  We recommend thatm4_ref(DB_SALVAGE) be tried first, and m4_ref(DB_AGGRESSIVE) only triedif the output from that first attempt is obviously missing data items orthe data is sufficiently valuable that human review of the output ispreferable to any kind of data loss.])m4_nlistendm4_page_footer

⌨️ 快捷键说明

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