Managed databases
Managed PostgreSQL 16 in France
The relational database of modern applications, ready in seconds on your project’s private network. Transactions, JSON, extensions: the PostgreSQL you know, with no server to look after.
- Running
- from €1.56/month
- Stopped
- €0.06/month
- Port
- 5432
select pseudo, grade, count(*) as sanctionsfrom joueurs join sanctions using (joueur_id)group by 1, 2 order by 3 desc limit 3; pseudo | grade | sanctions-----------+--------+----------- gr1ffon | vip | 4 Babou | membre | 2 NoxRunner | vip | 13 rows, 6 ms
Exactly what you get.
A PostgreSQL instance of your own, with its own resources and its own disk. Nothing is shared with another customer.
| Version | PostgreSQL, major version of your choice, official postgres image |
|---|---|
| Port | 5432, on the project’s private network |
| Account | The arkya user, with full rights on the instance, and a database named after your service (guilde_db for guilde-db) |
| Extensions | The ones shipped with PostgreSQL: pgcrypto, uuid-ossp, pg_trgm, citext, hstore, unaccent, ltree, btree_gin, postgres_fdw… enabled with CREATE EXTENSION |
| Not included | PostGIS, pgvector and TimescaleDB, not in the image |
| Backup | Compressed pg_dump, scheduled or on demand, restorable in one click |
| Disk | From 1 to 100 GB. It grows whenever you want, and never shrinks. |
What people put in it.
PostgreSQL is the default database of most frameworks. A few uses where it shines.
Websites and APIs
Django, Rails, Laravel, Express or FastAPI support it with no setup: a connection URL is all it takes.
SaaS and back offices
Transactions, constraints and foreign keys keep your data consistent when several people write at the same time.
Semi-structured data
jsonbcolumns can be indexed and queried in SQL: no need for a document database on the side.Text search
Built-in full-text search and
pg_trgmare enough for the internal search of a website or a tool.Every ORM
Prisma, Drizzle, SQLAlchemy, the Django ORM, Eloquent or ActiveRecord speak PostgreSQL with no special adapter.
Ready-made tools
n8n, Metabase or Directus can store their data in PostgreSQL rather than in an SQLite file.
Your application connects to it through references.
In the application’s variables, write the database’s references rather than its address. They’re resolved when the container starts and follow the database if its host changes.
- The password is shown once, at creation. Lost it? Regenerate it in the database’s Connection tab, then update the variable.
- Nothing is open to the Internet. To look at a table from your browser, the client area’s data editor is enough.
- One user per application. Create users with just the rights they need from the client area, rather than sharing
arkyaeverywhere.
DATABASE_URL=postgres://arkya:PASSWORD@${guilde-db.HOST}:${guilde-db.PORT}/guilde_db# Node.js, with pgconst pool = new Pool({ connectionString: process.env.DATABASE_URL });# Python, with psycopgconn = psycopg.connect(os.environ["DATABASE_URL"])# Prisma, in schema.prismaurl = env("DATABASE_URL")
The price of your PostgreSQL database.
The same rates for all three engines: CPU, memory and disk, each by the minute. Once stopped, your database only pays for its disk, and for backups beyond the included volume.
Prices include VAT, for a 30-day month, taken from your prepaid balance.
- Running all month
- €1.56or 0.22 ct/h
- Stopped all month
- €0.06the disk only
Coming from Heroku, Supabase or another host.
A plain-text SQL export, an import, and your application changes URL. Nothing to install on your side, apart from pg_dump.
Export as plain SQL
pg_dump --no-owner --no-privileges "$OLD_URL" | gzip > export.sql.gz. From Heroku, apg:backupsfile is in binary format: convert it withpg_restore -f export.sql latest.dump. From Supabase, keep your schema (--schema=public) and leave out internal schemas likeauthorstorage.Import into your new database
Create your PostgreSQL database at Arkya, open the Data tab and import the file. Choose whether to stop at the first error or keep going; the log shows you the latest errors.
Switch the application over
Replace the old database’s URL with the new one’s references, restart, check your key flows. Keep the old database for a few days before shutting it down.
Roles and owners from the old database aren’t recreated, hence --no-owner --no-privileges. A table that depends on an extension missing from the image (PostGIS, pgvector) won’t import.
Questions about PostgreSQL.
Which version of PostgreSQL?
The one you pick when you order, from the official postgres image. Your database doesn’t change major version behind your back: you start the upgrade from the client area, with a backup just before, and your queries and extensions stay the ones you tested.
Can I install an extension?
Yes, all the ones shipped with PostgreSQL: CREATE EXTENSION pgcrypto;, uuid-ossp, pg_trgm, citext, hstore, unaccent… The arkya user has the rights to do it. PostGIS, pgvector and TimescaleDB aren’t in the image.
Can I have several databases in the same instance?
Yes. From the client area, add databases and users to the same instance: one database per application, each with its own user, fits on a single bill.
How do I back up before a schema migration?
Start a backup by hand from the Backups tab, or with ark backup create guilde-db before-migration. If the migration goes wrong, restore it in one click.
What does a stopped PostgreSQL database cost?
Only its disk, €0.06 per month for 10 GB, and its backups beyond the 10 GB included. CPU and memory no longer count.
The other engines.
Your PostgreSQL database, ready before your next commit.
Create it from the client area, or declare it in arkya.json with "type": "postgres" and let ark deploy order it.