📄 close.so
字号:
m4_comment([$Id: close.so,v 10.18 2003/10/18 19:15:51 bostic Exp $])m4_ref_title(Access Methods, Database close, @closing a database, am/sync, am/second)m4_p([dnlThe m4_refT(dbh_close) closes the m4_ref(Db) database handle. Bydefault, m4_ref(dbh_close) also flushes all modified records from thedatabase cache to disk.])m4_p([dnlThere is one flag that you can set to customize m4_ref(dbh_close):])m4_tagbeginm4_tag([m4_ref(DB_NOSYNC)], [Do not flush cached information to disk.])m4_tagendm4_bold([It is important to understand that flushing cached informationto disk only minimizes the window of opportunity for corrupted data, itdoes not eliminate the possibility.])m4_p([dnlWhile unlikely, it is possible for database corruption to happen if asystem or application crash occurs while writing data to the database. Toensure that database corruption never occurs, applications must either:])m4_bulletbeginm4_bullet([Use transactions and logging with automatic recovery.])m4_bullet([Use logging and application-specific recovery.])m4_bullet([Edit a copy of the database, and, once all applicationsusing the database have successfully called m4_ref(dbh_close), usesystem operations (for example, the POSIX rename system call) toatomically replace the original database with the updated copy.])m4_bulletendm4_page_footer
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -