Skip to content

Glossary

Applies to SEAM 1

AAD (additional authenticated data). Bytes bound to a seal but not stored in it. Each sealed object has its own AAD, which ties a block to its file and position. See AAD per object.

Append-only. Data files are never modified after they are written; new data goes to new files. See Lifecycle and atomic install.

Auxiliary record. A WAL record that carries an intent or a cancel instead of a commit, marked by a zero timestamp. See Auxiliary record.

Bloom filter. A split-block filter over user keys in each data file; it answers “definitely not here” or “maybe”. See Bloom filter.

Block. A run of entries inside a data file. A block is stored either as a row block or a columnar block.

Catalog. The records under key prefix 0x00: table definitions, users, grants, sequences and more. See Catalog records.

Columnar block. A data block that stores keys, timestamps, kinds and values column by column. See Columnar block.

Commit record. A WAL record holding a commit timestamp and a list of puts and deletes. See Commit record.

Corrupt. The error class for malformed or failed-authentication data. See Error classes.

Data key. One of the random 32-byte keys held in the keyring. Every new seal uses the current one and records its id. See Key hierarchy.

Derived cache. A rebuildable file such as ZONES or cache.hot. It is never migrated: an unknown or unreadable one is ignored. See Derived caches.

Epoch. A number advanced every time a keyring is opened, used as the first four bytes of every nonce. See Nonces and epochs.

Footer. The sealed 96 bytes at the end of a data file that locate every other section. See Footer.

Frame. The unit of a data file: a one-byte codec and format header, a raw length, a body and a seal trailer. See Frame.

Generation. In the WAL, the keyring epoch at write time; in the MANIFEST, a counter that increases on every rewrite. See WAL block and Header.

GC floor. The MVCC timestamp below which old versions may be discarded. See Tag 4: GC floor.

Intent. An auxiliary WAL record that stages work to be resolved or cancelled later. See Auxiliary record.

Keyring. The sealed keys file that stores the data keys. See Keyring file.

Layer. A footer field: 1 hot/row, 2 columnar, 3 cold. See Footer.

Level. The position of a data file in the LSM tree; level 0 files may overlap. See State and levels.

LSN. The stream offset of a WAL record’s header. See Record framing.

MANIFEST. The sealed version log that records which data files are live. See MANIFEST.

Master key. The 32-byte key that seals the keyring; it is never written to disk. See Key hierarchy.

MVCC. Multi-version concurrency control: every version of a key is a separate entry, newest first. See Internal key and MVCC.

NewerFormat. The error class for a version number above what the build supports. See Error classes.

Nonce. The 12-byte value that makes each seal unique: epoch and counter. See Seal trailer.

Posting list. The sorted entries for one term in a trigram or full-text index. See Postings.

Pre-release stamp. One of the four internal store numbers used before SEAM 1. See Pre-release formats.

replay_from. The WAL stream offset before which all records are already in data files. See State and levels.

Restart point. An entry in a row block stored without a shared key prefix, so a lookup can start there. See Row block.

Revision. The layout number of a single structure inside a file, such as footer revision 5. See How to read this wiki.

Seal. Encrypt a region in place with AES-256-GCM and append a 32-byte trailer. See Seal trailer.

Segment. A preallocated WAL file. See Segments.

Sidecar. The local .stci file that holds the tail of a data file whose body lives in object storage. See Remote files.

Stamp. The format number of a store or file. See Pre-release formats and Per-file stamp.

Tombstone. A delete entry; it hides older versions of its key. See Internal key and MVCC.

Torn tail. A partly written final MANIFEST record, ignored when reading. See Reading and the torn tail.

Trailer. The 32 bytes at the end of every sealed region: tag, nonce and data key id. See Seal trailer.

varint. Unsigned LEB128, at most 10 bytes. See varint.

Zone map. Per-block value bounds derived at runtime from the stats frame. See Zone maps.

zvarint. A varint of a zig-zag encoded signed value. See zvarint.