Continuous backups and point-in-time restore
A full backup every night and every change archived within a minute: pick any second in the last 7 days and get a new database in that state, without touching the live one.
Create a PostgreSQL 18 or 17 database in a few minutes, on a machine of its own, with continuous backups, restore to any second of the past week, a connection pooler and TLS required. Use it with your serverless apps, your VPS instances or from anywhere, paying in reais.
No lock-in: prepaid credit via Pix, boleto or card, billed by the second.
You get the address and the password. Setup, tuning, backups, certificates and monitoring are handled by the platform.
A full backup every night and every change archived within a minute: pick any second in the last 7 days and get a new database in that state, without touching the live one.
DATABASE_URL goes through PgBouncer, in transaction mode, with prepared statements: thousands of app connections become a few on the database. Migrations use the direct connection.
The database refuses connections without TLS. Its hostname and certificate are its own, from Let's Encrypt, renewed automatically: sslmode=verify-full works without installing anything.
Connections, transactions, cache, locks and deadlocks minute by minute for 30 days, the slow queries of the last 7 days and the 20 most expensive ones, with an alert when connections pass 80% of the limit.
Your connected services, up to 50 VPS instances picked by name, up to 50 addresses or networks, or the mw db tunnel. The rest of the internet can't connect.
More CPU and memory with a restart, right away or in the maintenance window. The disk grows without a restart and can grow on its own past 85%, up to the limit you set.
Choose them when you create the database or enable them later, in the console, with mw db extensions or through the API: the extension is installed in every database on the instance.
Keep the embeddings next to your data and search by similarity with SQL, without running a separate vector database or syncing anything.
SQL
-- enable it once: mw db extensions loja-prod vectorCREATE TABLE trechos ( id bigserial PRIMARY KEY, conteudo text, embedding vector(1536));CREATE INDEX ON trechos USING hnsw (embedding vector_cosine_ops); -- the 5 passages most similar to the questionSELECT conteudo FROM trechosORDER BY embedding <=> $1LIMIT 5;vectorpg_trgmunaccentfuzzystrmatchpostgisearthdistancecubehstorecitextltreeintarraypgcryptouuid-osspbtree_gin · btree_gisttablefuncpg_stat_statementsNeed an extension that's not on the list? PostgreSQL on your own VPS instance gives you full control.
The variables arrive ready, in the format your framework reads. On a connected service, you don't copy a single password.
Connect the database to a service and the variables arrive on their own, with a login just for that service, rotated every 90 days.
Pick the instance in the list of allowed addresses: PostgreSQL keeps up when the instance's IP changes.
mw db connect opens the client; mw db tunnel, a local port for DBeaver or your ORM, without exposing the database.
// DATABASE_URL arrives on its own when the database is connected to the serviceimport pg from "pg" const pool = new pg.Pool({ connectionString: process.env.DATABASE_URL }) const { rows } = await pool.query("SELECT now()")datasource db { provider = "postgresql" url = env("DATABASE_URL") // through the pooler, for the app directUrl = env("DATABASE_DIRECT_URL") // direct, for migrations}import osimport psycopg with psycopg.connect(os.environ["DATABASE_URL"]) as conn: print(conn.execute("SELECT version()").fetchone())# the connected database's variables, in Laravel formatDB_CONNECTION=pgsqlDB_HOST=<id>.db.meu-app.netDB_PORT=6432DB_DATABASE=lojaDB_USERNAME=loja_webDB_PASSWORD=generated-for-the-serviceDB_SSLMODE=requirepool, err := pgxpool.New(ctx, os.Getenv("DATABASE_URL"))if err != nil { log.Fatal(err)}defer pool.Close()// ConnectionStrings__DefaultConnection arrives in Npgsql's formatbuilder.Services.AddDbContext<LojaContext>(o => o.UseNpgsql(builder.Configuration.GetConnectionString("DefaultConnection")));# psql, through the platform: nothing to allowlist$ mw db connect loja-prod # a local port for DBeaver, TablePlus or your ORM$ mw db tunnel loja-prod --port 5433A full backup every night and every change archived in between, encrypted with a key unique to your database.
The live database isn't touched. The new one can be a different size, and the console switches your services over to it in one click.
Before a deployment that runs migrations, an import, hibernation and deletion, a restore point is marked automatically.
Deletion protection is on by default; a deleted database leaves its backups for 7 days, free of charge, so you can bring it back.
Download a dump in PostgreSQL's format at any time; it stays available for download for 7 days.
The same database serves everything from the MVP to the system that brings in revenue every day.
Transactions, foreign keys and JSONB in the same database, with the pooler absorbing connection spikes.
Embeddings with pgvector next to your customers' data, in a single SQL query.
Orders, inventory and finance, with restore to the second before a mistake.
PostGIS for routes, delivery radii and proximity queries.
The database these frameworks use most, with the variables in each one's format.
A read-only user for Metabase, Power BI or your data team, with no risk to production.
Copy straight from your current database or upload a file. A restore point is marked before every import.
Choose the version, the size and the extensions your current database uses.
Enter your current database's connection URL and the data comes straight from it, or upload a .dump, .sql or .sql.gz file.
Connect the database to the service or update the app's DATABASE_URL.
Terminal
$ mw db create loja-prod --extension vector --project loja # copied straight from your current database, reachable over the internet$ mw db import loja-prod --from-url "postgres://user:password@host.example.com:5432/app" # or from a file: if the upload drops, it resumes where it stopped$ mw db import loja-prod backup.dumpBring it from wherever it runs today
A fixed monthly price, in reais, billed by the second: a database running all month is never billed past 730 hours.
Choose the size and see the monthly price. You can change it later.
R$1.90 per GB a month. It grows without a restart, up to 1,000 GB.
Estimated total
R$154.80/month
≈ R$0.2121 an hour
Billed by the second, from when the database is ready. No lock-in.
All three work. The difference is what's left to you and how much it costs, in reais.
| Master da Web | Installed on your VPS | International clouds | |
|---|---|---|---|
| Setup and tuning | Ready in a few minutes, tuned to its size | Up to you | Ready |
| Point-in-time restore | Yes | You set it up and test it | Yes |
| Connection pooler | Included | You install PgBouncer | Sometimes billed separately |
| Billing currency | Reais, no IOF tax | Reais | US dollars, plus IOF tax |
| Where the data lives | Belo Horizonte | Wherever the VPS is | Usually outside Brazil |
| Support | In Portuguese | In Portuguese | Usually in English |
What everyone asks before moving their database to the cloud.
Choose the size, create your PostgreSQL and connect in a few minutes.