# VeloceDB 2.73.36 — peer-guard

Installer/listener train after 2.73.35 backup-integrations. **Not a C++/mmap recut.** analog packs 2.73.14–2.73.31 stay Workbench. Do not re-roll host01 CRM migrate.

Compared with the DB-Engines top 10 for October 2026: Oracle, MySQL, Microsoft SQL Server, PostgreSQL, MongoDB, Snowflake, Databricks, Redis, IBM Db2, Apache Cassandra. Scores are popularity, not a benchmark. Source: [db-engines.com/en/ranking](https://db-engines.com/en/ranking) (October 2026).

## What shipped

1. **Session transactions.** `BEGIN` / `COMMIT` / `ROLLBACK` on the calling socket. `INSERT` / `MINSERT` / `GET` / `MGET` / `COUNT TESTDB` see the buffer. Other sockets do not. `COMMIT` writes the last value of each key and calls one flush. `ROLLBACK` discards the buffer. Nested `BEGIN` is `ERROR nested begin`. `BEGIN WORK` stays `ERROR unsupported`. Not MVCC, not ARIES, not SSI, not 2PC. A crash during `COMMIT` can leave a prefix of the keys. Replica write-forward returns `ERROR txn is local primary`.
2. **Credential roles.** `CREATE USER name ROLE reader|writer|admin PASSWORD ...` stores scrypt. The password is not written to the user file or the audit chain. `AUTH user password`. With `VELOCE_AUTH=on`, an anonymous client may `PING`, `AUTH`, `QUIT`, `SHOW AUTH`, `SHOW GUARD`, `SHOW VERSION`, and the first `CREATE USER` (that user must be admin). `SET ROLE` cannot rise above the authenticated role. `SET ROLE replica|primary` requires admin while auth is on. Reader `INSERT` / `MINSERT` returns `ERROR role reader`. Five failed `AUTH` attempts lock that socket, not the account. Default is off unless `VELOCE_AUTH=on` or a persisted `SET AUTH ON`. The env value pins the mode. Not SCRAM, not Kerberos, not x.509, not RLS, not TDE.
3. **`SHOW AUDIT CHAIN`.** Append-only SHA-256 prev-hash JSONL (`guard-audit.jsonl`). `SHOW AUDIT` stays the in-memory ring. Not a SOC 2 letter.
4. **`SHOW GUARD`.** Same JSON as `SHOW AUTH`: `mvcc:false`, `scram:false`, `certifiedClaim:false`, and the leftover list.

## What this train will not say

JOIN, CTE, a second database, SCRAM wire, TDE, row-level security, MVCC, account-lockout policy, Always On, a Snowflake or Databricks region, a Redis replacement, Cassandra quorum, or a new ops/s number. The published bench stays the 2026-08-31 host03 table. certifiedClaim=false.

## Advantages that are true on this train

- Perpetual workgroup price against core, processor, and DBU meters.
- `COMMIT` runs on the machine you installed. It does not open a region.
- Tachyon ISAM and SQL stay one process.
- With auth on, a client cannot promote its own role.
- A session can discard uncommitted testdb puts.
- The audit hash is on disk and recomputable. It is not a letter.

## Rollback

Stop the listener. Delete `guard-users.json`, `guard-mode.json`, and `guard-audit.jsonl` under the data dir. Rows already committed stay in testdb. Unset `VELOCE_AUTH`.

Not Lite. analog ≠ native. certifiedClaim=false.
