--- status: accepted date: 2026-08-27 --- # Bind databases per installation The Metadata Catalog separates the logical Workspace Database from the Database Binding that makes it reachable in one installation. There is one Workspace Database per `workspace_id` and one active binding in each installation's catalog: PSD uses REST locally and direct PostgreSQL on the server without becoming two databases. The catalog is authoritative for engine, physical name, schema, capabilities and binding; the DWH fields in workspace descriptors are only a bootstrap source, imported and compared during an explicit cutover. ## Considered Options - One database record per transport would have duplicated the identity, structure and metadata of the same warehouse. - Keeping warehouse facts permanently in both YAML and catalog would have created conflicts with no deterministic resolution. - Global bindings would have mixed endpoints and credentials of installations with different topologies and security boundaries. ## Consequences The runtime must never observe two disagreeing authorities: the cutover imports and compares existing configuration before removing it from descriptors.