Skip to content

File txn

marufcetin edited this page Sep 1, 2026 · 1 revision

File Extension: .txn (Disk-Backed Undo Journal)

Turkce Dokumantasyon | English Documentation

Category: File Formats & Storage
Location: dbstore/txn/${transaction_uuid}.txn
Format: Line-Delimited Journal Log


1. Definition and Overview

The .txn file is an active, disk-backed undo journal created upon transact_start(). It records the exact pre-modification state of every modified or deleted record and tracks inserted IDs. If a transaction fails or a process crashes, transact_rollback() or transact_recover() parses the .txn file to reverse mutations in LIFO order.


2. See Also

AmberDB Encyclopedia

Home · A-Z Index


Getting Started & Guides


Core Concepts


Core CRUD Methods


Query, Search & Facets


Transactions & Locks


Cache, Buffer & Low-Level


Locale & Helpers


Maintenance & Tools


Configuration Flags


File Formats


Language

Clone this wiki locally