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

📄 term.so

📁 berkeley db 4.6.21的源码。berkeley db是一个简单的数据库管理系统
💻 SO
字号:
m4_comment([$Id: term.so,v 10.19 2005/09/23 16:26:40 bostic Exp $])m4_ref_title(m4_tam Applications,    Terminology,, transapp/why, transapp/fail)m4_p([dnlHere are some definitions that will be helpful in understandingtransactions:])m4_tagbeginm4_tag(Thread of control, [dnlm4_db is indifferent to the type or style of threads being used by theapplication; or, for that matter, if threads are being used at all --because m4_db supports multiprocess access.  In the m4_db documentation,any time we refer to a m4_italic(thread of control), it can be read asa true thread (one of many in an application's address space) or aprocess.])m4_tag(Free-threaded, [dnlA m4_db handle that can be used by multiple threads simultaneouslywithout any application-level synchronization is calledm4_italic(free-threaded).])m4_tag(Transaction, [dnlA m4_italic(transaction) is a one or more operations on one or moredatabases that should be treated as a single unit of work.  For example,changes to a set of databases, in which either all of the changes must beapplied to the database(s) or none of them should.  Applications specifywhen each transaction starts, what database operations are included init, and when it ends.])m4_tag([Transaction abort/commit], [dnlEvery transaction ends by m4_italic(committing) or m4_italic(aborting).If a transaction commits, m4_db guarantees that any database changesincluded in the transaction will never be lost, even after system orapplication failure.  If a transaction aborts, or is uncommitted whenthe system or application fails, then the changes involved will neverappear in the database.])m4_tag(System or application failure, [dnlm4_italic(System or application failure) is the phrase we use todescribe something bad happening near your data.  It can be anapplication dumping core, being interrupted by a signal, the diskfilling up, or the entire system crashing.  In any case, for whateverreason, the application can no longer make forward progress, and itsdatabases are left in an unknown state.])m4_tag(Recovery, [dnlm4_italic(Recovery) is what makes the database consistent after a systemor application failure.  The recovery process includes review of logfiles and databases to ensure that the changes from each committedtransaction appear in the database, and that no changes from anunfinished (or aborted) transaction do.  Whenever system or applicationfailure occurs, applications must usually run recovery.])m4_tag(Deadlock, [dnlm4_italic(Deadlock), in its simplest form, happens when one thread ofcontrol owns resource A, but needs resource B; while another thread ofcontrol owns resource B, but needs resource A.  Neither thread ofcontrol can make progress, and so one has to give up and release allits resources, at which time the remaining thread of control can makeforward progress.])m4_tagendm4_page_footer

⌨️ 快捷键说明

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