SphereDB
SphereDB is a managed database that runs in your environment, next to your services. You pick the engine, a size and the storage. Services in the environment get the connection string as DATABASE_URL.
Engines
Pick the engine when you create the database.
| Engine | Use it for |
|---|---|
| PostgreSQL | Relational data, transactions and structured queries. Versions 16, 17 and 18. |
Every SphereDB database
- Private by default. Services in the same environment reach it over the private network. Its public endpoint stays off until you turn it on.
- 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, password and database name are generated when you create it.
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
- SphereCache (Valkey): caching, sessions and rate limits.
- SphereQueue (RabbitMQ): background jobs, work queues and events between services.