Index of structures
Applies to SEAM 1
One row per structure page. Introduced is the first public version whose writers produce it, or “Pre-release only” for layouts that SEAM 1 only reads. Pre-release is the range of pre-release stamps that already had it. For the same data by version, see the version matrix.
| Structure | Introduced | Pre-release | Readable by | What it is |
|---|---|---|---|---|
| Conventions | ||||
| Conventions | SEAM 1 | 1–4 | ≥ SEAM 1 | Integer encodings, counts, error classes and notation used by every page. |
| varint | SEAM 1 | 1–4 | ≥ SEAM 1 | Unsigned LEB128, at most 10 bytes. |
| zvarint | SEAM 1 | 1–4 | ≥ SEAM 1 | Zig-zag signed varint. |
| count(limit) | SEAM 1 | 1–4 | ≥ SEAM 1 | A varint that must not exceed a stated limit. |
| Error classes | SEAM 1 | 1–4 | ≥ SEAM 1 | Corrupt and NewerFormat, and when each applies. |
| Store layout | ||||
| Store layout | SEAM 1 | 1–4 | ≥ SEAM 1 | The directory tree of a store and what lives where. |
| File kinds | SEAM 1 | 1–4 | ≥ SEAM 1 | Which files are mutable, how each is sealed, and which are authoritative. |
| Lifecycle and atomic install | SEAM 1 | 1–4 | ≥ SEAM 1 | How a data file becomes part of the store, and the startup sweep. |
| Open sequence | SEAM 1 | 1–4 | ≥ SEAM 1 | The ordered steps a build performs when it opens a store. |
| Small files | SEAM 1 | 1–4 | ≥ SEAM 1 | strata.lock, db.id, db.parent, archive.anchor and the keyring file. |
| Derived caches | SEAM 1 | 1–4 | ≥ SEAM 1 | Rebuildable cache files that are never migrated. |
| ZONES | SEAM 1 | 1–4 | ≥ SEAM 1 | Zone-map seeds cache. |
| SPANS | SEAM 1 | 1–4 | ≥ SEAM 1 | Per-file value spans cache. |
| TIERHEAT | SEAM 1 | 1–4 | ≥ SEAM 1 | Per-file read heat for the cold tier. |
| cache.hot | SEAM 1 | 1–4 | ≥ SEAM 1 | Hot block list used for warm restart. |
| rcache/ | SEAM 1 | 1–4 | ≥ SEAM 1 | Cold-tier frame cache. |
| Spill runs | SEAM 1 | 1–4 | ≥ SEAM 1 | Temporary bulk-load and index-build sort runs. |
| Encryption | ||||
| Encryption at rest | SEAM 1 | 1–4 | ≥ SEAM 1 | Algorithms and what is sealed. |
| Key hierarchy | SEAM 1 | 1–4 | ≥ SEAM 1 | Master key, data keys, cluster keys and the auth key. |
| Keyring file | SEAM 1 | 1–4 | ≥ SEAM 1 | The sealed keys file: header, body and rewrite rules. |
| Seal trailer | SEAM 1 | 1–4 | ≥ SEAM 1 | The 32-byte trailer that ends every sealed region. |
| Nonces and epochs | SEAM 1 | 1–4 | ≥ SEAM 1 | How nonces are built and why they cannot repeat. |
| AAD per object | SEAM 1 | 1–4 | ≥ SEAM 1 | The additional authenticated data bound to each sealed object. |
| Sealed caching_sha2 verifier | SEAM 1 | 1–4 | ≥ SEAM 1 | The 61-byte sealed catalog value for MySQL caching_sha2 passwords. |
| Write-ahead log | ||||
| Write-ahead log | SEAM 1 | 1–4 | ≥ SEAM 1 | Segments, 4096-byte blocks and records. |
| Segments | SEAM 1 | 1–4 | ≥ SEAM 1 | File names, preallocation and WAL format numbers. |
| WAL block | SEAM 1 | 1–4 | ≥ SEAM 1 | The sealed 4096-byte block and its validity rules. |
| Record framing | SEAM 1 | 1–4 | ≥ SEAM 1 | Length, CRC32C and the logical stream across blocks. |
| Commit record | SEAM 1 | 1–4 | ≥ SEAM 1 | Timestamp, operations and the optional resolves id. |
| Auxiliary record | SEAM 1 | 1–4 | ≥ SEAM 1 | Intent and cancel records marked by a zero timestamp. |
| Durability modes | SEAM 1 | 1–4 | ≥ SEAM 1 | When a commit is acknowledged; the bytes do not change. |
| Recovery | SEAM 1 | 1–4 | ≥ SEAM 1 | How replay accepts blocks and records. |
| MANIFEST | ||||
| MANIFEST | SEAM 1 | 1–4 | ≥ SEAM 1 | The sealed version log: header, records and edits. |
| Header (24 bytes) | SEAM 1 | 2–4 | ≥ SEAM 1 | Magic, manifest format, store stamp and generation. |
| Legacy header (8 bytes) | Pre-release only | 1–4 | ≥ SEAM 1 | Generation only; read for stores created before the stamped header. |
| Reading and the torn tail | SEAM 1 | 1–4 | ≥ SEAM 1 | How records are read and where reading stops. |
| Edit encoding | SEAM 1 | 1–4 | ≥ SEAM 1 | The byte layout of one version edit. |
| File entry (add) | SEAM 1 | 1–4 | ≥ SEAM 1 | Level, id, size, entries, timestamps and key bounds of one added file. |
| State and levels | SEAM 1 | 1–4 | ≥ SEAM 1 | How edits are applied and what each field means. |
| Rewrite and format stamp | SEAM 1 | 2–4 | ≥ SEAM 1 | Why every open rewrites the MANIFEST and stamps the store. |
| Tagged sections | SEAM 1 | 1–4 | ≥ SEAM 1 | The optional sections at the end of an edit. |
| Tag 1: range table | SEAM 1 | 1–4 | ≥ SEAM 1 | Key-range table with read-write and read-only modes. |
| Tag 2: global timestamps | SEAM 1 | 1–4 | ≥ SEAM 1 | Per-file global timestamp for ingested files. |
| Tag 3: never written | SEAM 1 | 1–4 | ≥ SEAM 1 | A tag that decoders reject. |
| Tag 4: GC floor | SEAM 1 | 1–4 | ≥ SEAM 1 | MVCC garbage-collection floor in microseconds. |
| Tag 5: per-file stamp | SEAM 1 | 2–4 | ≥ SEAM 1 | The format stamp each data file conforms to. |
| Tag 6: reserved | SEAM 1 | 1–4 | ≥ SEAM 1 | A reserved tag. |
| Tag 7: range drops | SEAM 1 | 1–4 | ≥ SEAM 1 | Half-open key ranges that hide older data. |
| SEAM data file | ||||
| SEAM data file | SEAM 1 | 1–4 | ≥ SEAM 1 | The immutable .stc file: frames, index, bloom, stats and footer. |
| Frame | SEAM 1 | 1–4 | ≥ SEAM 1 | The 5-byte header, body and seal trailer shared by every section. |
| Block index | SEAM 1 | 1–4 | ≥ SEAM 1 | Last key, timestamp, offset and length of every data block. |
| Remote files and sidecar | SEAM 1 | 1–4 | ≥ SEAM 1 | Cold files in object storage and the local .stci tail. |
| Per-file stamp | SEAM 1 | 2–4 | ≥ SEAM 1 | The format stamp recorded for each file in the MANIFEST. |
| Reader invariants | SEAM 1 | 1–4 | ≥ SEAM 1 | What a reader must verify for every SEAM file. |
| Footer | SEAM 1 | 1–4 | ≥ SEAM 1 | The 96-byte sealed footer at the end of the file. |
| Footer flags | SEAM 1 | 1–4 | ≥ SEAM 1 | STATS, BLOOM_SKIP, BLOOM_RANGES and BLOCK_COUNTS. |
| Choosing a footer revision | SEAM 1 | 1–4 | ≥ SEAM 1 | Legal flag combinations and the writer priority order. |
| Footer revision 1: plain | Pre-release only | 1–4 | ≥ SEAM 1 | No bloom tail, no ranges, no counts. |
| Footer revision 2: bloom skip | Pre-release only | 1–4 | ≥ SEAM 1 | Bloom filter has a skip-tag tail. |
| Footer revision 3: codec | Pre-release only | 1–4 | ≥ SEAM 1 | The file contains an LZ4 frame. |
| Footer revision 4: ranged bloom | Pre-release only | 4 | ≥ SEAM 1 | Bloom filter has a ranged tail. |
| Footer revision 5: block counts | SEAM 1 | 4 | ≥ SEAM 1 | Stats frame with per-block version codes. The default for new files. |
| Bloom filter | SEAM 1 | 1–4 | ≥ SEAM 1 | Split-block Bloom filter over user keys. |
| Skip-tag tail | SEAM 1 | 1–4 | ≥ SEAM 1 | Keys whose first byte is a listed tag are not in the filter. |
| Ranged tail | SEAM 1 | 4 | ≥ SEAM 1 | Keys that start with a listed prefix are not in the filter. |
| Row block (format 0) | SEAM 1 | 1–4 | ≥ SEAM 1 | Prefix-compressed entries with restart points. |
| Columnar block (format 1) | SEAM 1 | 1–4 | ≥ SEAM 1 | The same entries stored column by column, in five revisions. |
| Layout of revisions 1 to 4 | SEAM 1 | 1–4 | ≥ SEAM 1 | Header, key columns, timestamps, kinds and values. |
| Columnar revision 1: base | Pre-release only | 1–4 | ≥ SEAM 1 | The base layout. Read only. |
| Columnar revision 2: cross-column deltas | Pre-release only | 1–4 | ≥ SEAM 1 | Integer columns stored as deltas against another column. Read only. |
| Columnar revision 3: FSST | SEAM 1 | 1–4 | ≥ SEAM 1 | Adds the FSST bytes codec. Written when a block needs nothing newer. |
| Columnar revision 4: key references | SEAM 1 | 3–4 | ≥ SEAM 1 | Integer value columns derived from a key field. |
| Columnar revision 5: typed keys | SEAM 1 | 4 | ≥ SEAM 1 | Fixed-width key section split into integer fields. |
| Value modes | SEAM 1 | 1–4 | ≥ SEAM 1 | Generic byte values versus row-shaped values. |
| Column slot | SEAM 1 | 1–4 | ≥ SEAM 1 | Reference, tags, ints, floats, bools and bytes of one column. |
| Key references | SEAM 1 | 3–4 | ≥ SEAM 1 | A column whose values equal a field of the key. |
| Typed key section | SEAM 1 | 4 | ≥ SEAM 1 | Keys of equal length split into integer fields. |
| Columnar limits | SEAM 1 | 1–4 | ≥ SEAM 1 | Entry, width, cell and size limits. |
| Block stats frame | SEAM 1 | 1–4 | ≥ SEAM 1 | Per-block counts, bounds and column summaries. |
| Stats revision 1 | Pre-release only | 1–4 | ≥ SEAM 1 | Per-block statistics without version codes. |
| Stats revision 2 | SEAM 1 | 4 | ≥ SEAM 1 | Adds a version code per block. |
| Column stats | SEAM 1 | 1–4 | ≥ SEAM 1 | Flags, counts, bounds per column. |
| Versions code | SEAM 1 | 4 | ≥ SEAM 1 | How a block records whether it holds single versions. |
| Zone maps | SEAM 1 | 1–4 | ≥ SEAM 1 | Derived at runtime from stats; no separate on-disk map. |
| Column codecs | ||||
| Column codecs | SEAM 1 | 1–4 | ≥ SEAM 1 | The encodings used inside columnar blocks and frames. |
| Column container types | SEAM 1 | 1–4 | ≥ SEAM 1 | Flat, IntCol, FloatCol and BytesCol. |
| Packed integers | SEAM 1 | 1–4 | ≥ SEAM 1 | Minimum plus fixed-width bit-packing. |
| zstd and LZ4 framing | SEAM 1 | 1–4 | ≥ SEAM 1 | Frame codec ids, length rules and writer policy. |
| CONST | SEAM 1 | 1–4 | ≥ SEAM 1 | All values equal. |
| FOR (frame of reference) | SEAM 1 | 1–4 | ≥ SEAM 1 | Packed offsets from a minimum. |
| PATCHED | SEAM 1 | 1–4 | ≥ SEAM 1 | Packed base with a list of exceptions. |
| DELTA | SEAM 1 | 1–4 | ≥ SEAM 1 | Absolute samples plus wrapping differences. |
| RLE | SEAM 1 | 1–4 | ≥ SEAM 1 | Run values and run end positions. |
| Integer DICT | SEAM 1 | 1–4 | ≥ SEAM 1 | Sorted distinct integers plus indexes. |
| Float RAW | SEAM 1 | 1–4 | ≥ SEAM 1 | Plain 64-bit floats. |
| ALP | SEAM 1 | 1–4 | ≥ SEAM 1 | Floats stored as scaled integers with exceptions. |
| XOR | SEAM 1 | 1–4 | ≥ SEAM 1 | Floats stored as XOR of neighbouring bit patterns. |
| Bytes PLAIN | SEAM 1 | 1–4 | ≥ SEAM 1 | Lengths, offset samples and concatenated bytes. |
| Bytes DICT | SEAM 1 | 1–4 | ≥ SEAM 1 | A plain dictionary and indexes. |
| FRONT | SEAM 1 | 1–4 | ≥ SEAM 1 | Front-coded byte strings. |
| FSST | SEAM 1 | 1–4 | ≥ SEAM 1 | Symbol-table string compression. |
| Scaled key fields (timestamp scale) | SEAM 1 | 4 | ≥ SEAM 1 | Typed-key fields stored as base plus granularity times value. |
| How writers choose a codec | SEAM 1 | 1–4 | ≥ SEAM 1 | Writer heuristics, which are not part of the format. |
| Postings | ||||
| Postings | SEAM 1 | 1–4 | ≥ SEAM 1 | Trigram and full-text posting lists and their five block revisions. |
| Posting keys | SEAM 1 | 1–4 | ≥ SEAM 1 | List prefix and the sub-key families. |
| Posting payloads | SEAM 1 | 1–4 | ≥ SEAM 1 | What each entry carries for trigram, document and full-text lists. |
| Block head | SEAM 1 | 1–4 | ≥ SEAM 1 | The marker, revision byte, count and tier bounds. |
| Posting revision 1: unmarked | Pre-release only | 1–4 | ≥ SEAM 1 | No marker byte. Read only. |
| Posting revision 2: 0xE2 | SEAM 1 | 1–4 | ≥ SEAM 1 | Front-coded or numeric keys. The writer fallback. |
| Posting revision 3: 0xE3 | SEAM 1 | 2–4 | ≥ SEAM 1 | Bit-split integer keys. |
| Posting revision 4: 0xE4 | SEAM 1 | 4 | ≥ SEAM 1 | Multi-field tuple keys. |
| Posting revision 5: 0xE5 | SEAM 1 | 4 | ≥ SEAM 1 | Wraps an inner block and adds term positions. |
| Integer groups | SEAM 1 | 2–4 | ≥ SEAM 1 | Frame-packed integer runs used by revisions 3 and 4. |
| Key encodings | ||||
| Key encodings | SEAM 1 | 1–4 | ≥ SEAM 1 | How logical rows, indexes and catalog entries map to keys. |
| Internal key and MVCC | SEAM 1 | 1–4 | ≥ SEAM 1 | User key, timestamp, kind and ordering. |
| Order-preserving values | SEAM 1 | 1–4 | ≥ SEAM 1 | The bytes encode_key_value emits. |
| Keyspace map | SEAM 1 | 1–4 | ≥ SEAM 1 | What each first byte means. |
| Table rows | SEAM 1 | 1–4 | ≥ SEAM 1 | Primary-key layout of row keys. |
| Interleaved tables | SEAM 1 | 1–4 | ≥ SEAM 1 | Child rows stored under their parent. |
| Row format v1 | SEAM 1 | 1–4 | ≥ SEAM 1 | The value layout shared by SQL and the columnar decoder. |
| Index entries | SEAM 1 | 1–4 | ≥ SEAM 1 | Unique, non-unique and JSON-path index keys and values. |
| Foreign keys | SEAM 1 | 1–4 | ≥ SEAM 1 | Reverse lookups reuse ordinary indexes. |
| RESP keys | SEAM 1 | 1–4 | ≥ SEAM 1 | Key layout used by the Redis-compatible layer. |
| Materialized view keys | SEAM 1 | 1–4 | ≥ SEAM 1 | View ids, cursor keys and groups. |
| Catalog records | ||||
| Catalog records | SEAM 1 | 1–4 | ≥ SEAM 1 | Keys and values under the 0x00 prefix. |
| Table definition | SEAM 1 | 1–4 | ≥ SEAM 1 | The encoded table record. |
| Column definition | SEAM 1 | 1–4 | ≥ SEAM 1 | Name, type, flags and default. |
| Index definition | SEAM 1 | 1–4 | ≥ SEAM 1 | Index id, name, kind and columns. |
| Extension tags | SEAM 1 | 1–4 | ≥ SEAM 1 | The additive extension list at the end of a table definition. |
| Ext R: relations | SEAM 1 | 1–4 | ≥ SEAM 1 | Foreign keys and the interleave parent. |
| Ext S: schema | SEAM 1 | 1–4 | ≥ SEAM 1 | Column ids, fills and hidden columns. |
| Ext M: metadata | SEAM 1 | 1–4 | ≥ SEAM 1 | SQL types, defaults and comments. |
| Ext I: INCLUDE columns | SEAM 1 | 1–4 | ≥ SEAM 1 | Covering columns of an index. |
| Ext D: DESC flags | SEAM 1 | 1–4 | ≥ SEAM 1 | Descending index parts. |
| Ext C: compression | SEAM 1 | 1–4 | ≥ SEAM 1 | Per-table compression override. |
| Ext B: bloom off | SEAM 1 | 1–4 | ≥ SEAM 1 | Tables created WITH (bloom = off). |
| Ext V: materialized views | SEAM 1 | 1–4 | ≥ SEAM 1 | View id, building flag, name and SQL. |
| Ext X: search options | SEAM 1 | 1–4 | ≥ SEAM 1 | Analyzer and positions trailer. |
| Other catalog records | SEAM 1 | 1–4 | ≥ SEAM 1 | Users, grants, sequences, databases and blob metadata. |