📄 sync.so
字号:
m4_comment([$Id: sync.so,v 10.18 2003/10/18 19:15:53 bostic Exp $])m4_ref_title(Access Methods, Flushing the database cache, flushing the database @cache, am/verify, am/close)m4_p([dnlThe m4_refT(dbh_sync) flushes all modified records from the databasecache to disk.])m4_p([dnlm4_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 + -