Skip to content

Besides table definitions, the catalog holds the records below. Only their keys are specified here.

Key Record
0x00 'n' next id counter
0x00 's' sequences
0x00 'u' users
0x00 'K' SCRAM verifiers
0x00 'k' decoys
0x00 'h' caching_sha2 records
0x00 'G' grants
0x00 'g' grants meta
0x00 'p' purge work records
0x00 'a' alter work records
0x00 'r' reclaim work records
0x00 'D' databases
0x00 'B' … blob metadata; 0x00 'B' 'k' is blob secrets

Names of non-default databases are stored as db ‖ table, joined with U+001F.

The values of these records are defined only by the code (crates/strata-sql/src/engine/accounts.rs, grants.rs, dbs.rs and crates/strata-blob/src/meta.rs).

The one exception is the caching_sha2 record, which has a defined sealed form: see Sealed caching_sha2 verifier.