Open main menu
Home
Random
Recent changes
Special pages
Community portal
Preferences
About Wikipedia
Disclaimers
Incubator escapee wiki
Search
User menu
Talk
Dark mode
Contributions
Create account
Log in
Editing
Transaction log
(section)
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
==Anatomy of a general database log== A database log record is made up of: <!-- (FIXME: resource managers, xid not universal) --> *''Log Sequence Number'' (LSN): A unique ID for a log record. With LSNs, logs can be recovered in constant time. Most LSNs are assigned in monotonically increasing order, which is useful in recovery [[algorithm]]s, like [[Algorithms for Recovery and Isolation Exploiting Semantics|ARIES]]. *''Prev LSN'': A link to their last log record. This implies database logs are constructed in [[linked list]] form. *''Transaction ID number'': A reference to the database transaction generating the log record. *''Type'': Describes the type of database log record. *Information about the actual changes that triggered the log record to be written.
Edit summary
(Briefly describe your changes)
By publishing changes, you agree to the
Terms of Use
, and you irrevocably agree to release your contribution under the
CC BY-SA 4.0 License
and the
GFDL
. You agree that a hyperlink or URL is sufficient attribution under the Creative Commons license.
Cancel
Editing help
(opens in new window)