# Isolation rules, feature locks and exclusions

> Why Mimus isolates one compatibility protocol per instance, guards cluster startup with mimus_required_features, and excludes conflicting forks.

---

LLMS index: [llms.txt](/llms.txt)

---

## One compatibility listener per instance {#isolation}

Although a Mimus binary built through patch layer `401` contains the kernel hooks for both OpenHalo (`MySQL`) and Babelfish (`MSSQL`), each running `PGDATA` cluster enables **at most one** compatibility protocol alongside native PostgreSQL (`5432`).

- `shared_preload_libraries`, background workers, parser hooks, and custom GUC namespaces apply across the entire PostgreSQL instance.
- Isolating one compatibility listener per instance keeps parser dispatch, catalog resolution, connection limits, and failover runbooks predictable. Note that this rule is a product support boundary rather than a hard startup error.

## Data-directory feature locks {#feature-lock}

A plain community PostgreSQL 19.0 data directory can start on Mimus, and an unused Mimus directory with `mimus_required_features = ''` can be handed back to stock PostgreSQL 19.0 (verified across 36/36 handoff checks in `19.0.1-r4`).

Once an instance activates transparent encryption (`tde`), MySQL catalog objects, Babelfish catalogs, or Spock conflict metadata, Patch `000` records that dependency persistently for the cluster. On subsequent startups or WAL recovery, Mimus verifies that the required preload modules and hooks are present before opening relations or replaying records—preventing silent corruption or unreadable ciphertext errors mid-query.

## Hard exclusions and out-of-scope forks {#out-of-scope}

To preserve storage reliability and crash safety, several upstream PostgreSQL forks and extensions are explicitly excluded from Mimus:

| Project | Reason for exclusion | Recommended alternative |
| --- | --- | --- |
| **Citus** | Incompatible with Percona's `pg_tde` kernel storage hooks even when `pg_tde` is disabled; DocumentDB's distributed Citus module is likewise excluded | Run Citus on a dedicated stock PostgreSQL cluster |
| **TimescaleDB** | Conflicts with `pg_tde` kernel storage paths regardless of whether encryption is enabled | Run TimescaleDB on a dedicated stock PostgreSQL cluster |
| **OrioleDB** | Alters table and index access method signatures across the storage engine | Use separate OrioleDB builds outside Mimus |
| **IvorySQL / Oracle wire** | Oracle's TNS wire protocol has no open-source implementation, and IvorySQL modifies core system catalogs | Use the `orafce` extension for Oracle SQL functions and packages |
| **External `pg_repack`** | Rewrites `tde_heap` relations into unencrypted `heap` pages without error | Use PostgreSQL 19's built-in **`REPACK`** command |
