what.so
来自「berkeley db 4.6.21的源码。berkeley db是一个简单的数」· SO 代码 · 共 53 行
SO
53 行
m4_comment([$Id: what.so,v 10.23 2001/03/01 15:58:06 bostic Exp $])m4_ref_title(Introduction, What other services does m4_db provide?,, intro/need, intro/distrib)m4_p([dnlm4_db also provides core database services to developers. Theseservices include:])m4_tagbeginm4_tag(Page cache management:, [dnlThe page cache provides fast access to a cache of database pages,handling the I/O associated with the cache to ensure that dirty pagesare written back to the file system and that new pages are allocated ondemand. Applications may use the m4_db shared memory buffer manager toserve their own files and pages.])m4_tag(Transactions and logging:, [dnlThe transaction and logging systems provide recoverability and atomicityfor multiple database operations. The transaction system uses two-phaselocking and write-ahead logging protocols to ensure that databaseoperations may be undone or redone in the case of application or systemfailure. Applications may use m4_db transaction and logging subsystemsto protect their own data structures and operations from application orsystem failure.])m4_tag(Locking:, [dnlThe locking system provides multiple reader or single writer access toobjects. The m4_db access methods use the locking system to acquirethe right to read or write database pages. Applications may use them4_db locking subsystem to support their own locking needs.])m4_tagendm4_p([dnlBy combining the page cache, transaction, locking, and logging systems,m4_db provides the same services found in much larger, more complex andmore expensive database systems. m4_db supports multiple simultaneousreaders and writers and guarantees that all changes are recoverable, evenin the case of a catastrophic hardware failure during a database update.])m4_p([dnlDevelopers may select some or all of the core database services for anyaccess method or database. Therefore, it is possible to choose theappropriate storage structure and the right degrees of concurrency andrecoverability for any application. In addition, some of the subsystems(for example, the Locking subsystem) can be called separately from them4_db access method. As a result, developers can integrate non-databaseobjects into their transactional applications using m4_db.])m4_page_footer
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?