Skip to main content

SphereDB

SphereDB is a managed database that runs in your environment, next to your services. You pick the engine and a size, and for PostgreSQL the storage. Services in the environment get its connection string: DATABASE_URL for PostgreSQL, MONGODB_URI for DocumentDB.

Engines​

Pick the engine when you create the database.

EngineUse it for
PostgreSQLRelational data, transactions and structured queries. Versions 16, 17 and 18.
DocumentDBDocuments and JSON, with MongoDB drivers and tools. The open-source, MongoDB-compatible engine built on PostgreSQL.

Every SphereDB database​

  • Private by default. Services in the same environment reach it over the private network. A PostgreSQL database's public endpoint stays off until you turn it on; DocumentDB has no public endpoint.
  • Backed up. Nightly backups plus continuous transaction logs, on every plan. Restore to any moment in the last 7 days. A restore creates a new database and never overwrites the original.
  • High availability. A standby in another zone, from 1 vCPU.
  • Credentials made for you. The username and password are generated when you create it, and for PostgreSQL the database name too.

Regions​

SphereDB runs in US East (Virginia) and EU (Sweden). A database runs in the region of the environment you create it in.

Also in Datastores​