Skip to content
Appwrite PostgreSQL

Raw Postgres, fully managed_

Appwrite runs the engine and you keep the SQL. Connect with psql or any driver, bring your own ORM and migrations, and get the full PostgreSQL feature set with nothing in between.

db-7f3a2c.fra.appwrite.centerTLS

orders-prod

Managed PostgreSQL

Ready
PostgreSQL 18s-4vcpu-8gbfra

Pooler

On

Replicas

2 sync

PITR

7 days

Compute credits on every Pro plan
$10/mo
Every Appwrite Cloud region
6 regions
High availability maximum
5 replicas
Restore to any moment
PITR

A PostgreSQL endpoint, nothing else in the way

Every database gets its own hostname on port 5432, TLS, and an admin role that owns it. Connect with psql, any driver, or any ORM, and copy a ready-made DSN, .env, or Prisma snippet from the Console.

Credentials

:5432
postgresql://admin:••••••••@db-7f3a2c.fra.appwrite.center:5432/db-7f3a2c

Connection pooling for short-lived clients

PostgreSQL spends a backend process per connection, so serverless functions exhaust a specification fast. Point runtime traffic at the pooler, same hostname and credentials, and short-lived clients share a small pool.

Clients

fn-01
fn-02
fn-03

Pooler

Pool18 / 25

A full extension catalog, at no extra cost

Each database lists every extension its PostgreSQL version can install, from pgvector and PostGIS to pg_trgm, pgcrypto, and many more. Free to install, up to 50 per database.

Search and AI
vectorpgvector

Vector data type and similarity search for embeddings, next to your relational data.

pg_trgmpg_trgm

Trigram matching for fuzzy string search, typo tolerance, and similarity ranking.

Geospatial
postgisPostGIS

Spatial types, indexes, and functions for geographic objects and radius queries.

ltreeltree

Represent and query hierarchical, tree-like data such as categories and org charts.

Security and data types
pgcryptopgcrypto

Cryptographic functions for hashing and encrypting values inside the database.

citextcitext

Case-insensitive text type, so comparisons ignore letter case.

A sample of the catalog. Your database lists every extension it can install, including hstore, uuid-ossp, and many more.

Install from a Server SDK

await postgresql.createExtension({
  databaseId, name: 'vector'
})

Snapshot branches in minutes

A branch is an isolated copy taken from a storage snapshot, with its own endpoint and the parent credentials. The parent never pauses writes. Rehearse a migration or give every pull request a database.

orders-prod

Parent database

pr-48223h 41m

db-2b9d41.fra:5432

migration-check6d 2h

db-5c7e08.fra:5432

Backups off the instance, restores on demand

Every database ships with a backup policy and backups are stored off the instance. Add your own schedule and retention, or enable point-in-time recovery to restore to any moment in the last 35 days.

Backups

Oct 2, 03:00 UTC1.8 GB
Oct 1, 03:00 UTC1.8 GB
Sep 30, 03:00 UTC1.7 GB

Point-in-time recovery

14:32:05 UTC

Replicas with automatic failover

Add up to five streaming replicas and pick how safe writes should be: asynchronous, synchronous, or quorum. If the primary stops responding, the most caught-up replica is promoted and the hostname repointed.

r1Next to promoter2r3

Primary

db-7f3a2c.fra

Streaming to 3 replicas

Automatic failover

Same hostname, same port

Live metrics and online resizing

The Monitor tab tracks CPU, memory, queries per second, cache hit ratio, and disk growth with nothing to install. Inspect live sessions, cancel a query, then resize compute online when it is time.

CPU

38%

Queries / sec

1.4k

Cache hit

99.4%

Connections

142 / 1,000

Last 6 hours

Works with your ORM and toolstack

Use the same hostname and credentials with Prisma, Drizzle, Sequelize, TypeORM, SQLAlchemy, psql, and the rest of your PostgreSQL toolchain. Copy DSN, .env, and ORM snippets from the Console Credentials tab, or follow integration guides in the docs.

postgresql://app:••••@postgres.appwrite.cloud:5432/app

Prisma

Type-safe schema and client for Node.js and TypeScript.

Drizzle

Lightweight TypeScript ORM with SQL-like query builder.

Sequelize

Promise-based ORM for Node.js with multi-dialect support.

TypeORM

Active Record and Data Mapper patterns for TypeScript.

SQLAlchemy

Python SQL toolkit and ORM for expressive queries.

psql

Official PostgreSQL CLI for ad-hoc SQL and schema exploration.

Specifications and pricing

Fixed monthly compute tiers with reserved CPU, memory, and connections.

TierCPUMemoryPrice
Micro2-core (shared)1 GB$10/mo
Small2-core (shared)2 GB$15/mo
Medium2-core (shared)4 GB$60/mo
Large2-core (dedicated)8 GB$110/mo
XL4-core (dedicated)16 GB$210/mo
2XL8-core (dedicated)32 GB$410/mo
4XL16-core (dedicated)64 GB$960/mo

$10 of compute credits for database usage included every month.

FAQ_

A managed PostgreSQL database is the raw engine with its own compute, storage, and credentials. You talk to it over the PostgreSQL wire protocol instead of an Appwrite SDK, so schema, migrations, roles, and queries are standard PostgreSQL. Use TablesDB, DocumentsDB, or VectorsDB when you want Appwrite SDKs and platform permissions for app data instead.

Start building on managed PostgreSQL_

Create a database in your project region, copy the connection string, and run your first query.