Databases

Last updated: November 2026

A Javer database is its own container running PostgreSQL or MySQL, with its own login and its own storage. Your apps reach it over a private network. It is not open to the internet unless you turn that on. This page explains how each part works and what to do when something goes wrong.

Creating a database

Press NEW → Database. The wizard has four steps: Name, Engine, Size and Review. Nothing is created until you press the final button.

EngineVersions you can pickDefault
PostgreSQL14, 15, 16, 17, 1816
MySQL8.0 (the panel notes it is no longer updated upstream), 8.48.4

New PostgreSQL databases come with the pgvector extension available. Turn it on once per database with CREATE EXTENSION vector;. Databases made before versions could be chosen are older images: the old PostgreSQL ones run version 16 without that pgvector build (the panel only shows the pgvector note on databases that have it), and old MySQL ones show "MySQL 8" with no release line.

A database counts as one item against your plan, together with your apps and VMs (see Web Hosting). When it is created, the panel shows the host, port, user, password and database name once and tells you to save them. You can read the same details again at any time under Connection info.

Connecting from your apps

Open the database and look at the Connection info card on the Overview tab. It shows the host, port, user, database name and password, plus ready-made DATABASE_URL strings. The password is read live from the running database each time you open the card. Javer does not keep a copy of it.

PostgreSQLMySQL
Port54323306
Main userpostgresroot
Databasepostgresmysql

The host is the database's name. It only resolves from your other apps on the same private network. That is why the card says the database is reachable only from your own apps unless you turn on Public access.

To use it, copy the DATABASE_URL from the card into your app under Variables (the ENVIRONMENT tab). Saving variables restarts the app. The URL has the password already encoded in it, so paste it as it is. The card hides the password in the URL until you press SHOW, and the COPY buttons copy the full value either way.

From a VM

A VM cannot resolve the database's host name. When the account has VMs that can reach the database, the card adds a From your VMs block with a private address and the same port. Use that address in the VM, with the same user and password.

Docker hands that address to the database, so it is not permanent. If the database is rebuilt, for example when you copy it onto a new PostgreSQL version, it can get a different one. After a rebuild or a copy, open the card again and read the address from there. If the block is missing and you need a VM connected, email [email protected].

Connection pooling

PostgreSQL only. A database can only hold a limited number of connections at once. A busy app that opens a new connection for every request can use them all, and then the database refuses new ones even though it is healthy. A pooler fixes that. It sits in front of the database and lets many app connections share a small set of real ones.

The Connections section on the Overview tab turns it on. If it says "Not enabled for this database yet", press ENABLE POOLED CONNECTIONS. Javer starts a small PgBouncer container next to the database, named after it with -pool on the end, listening on port 6432. It runs in transaction mode and accepts up to 200 client connections, with a default pool of 15 real connections to the database. Once it is on, the section shows two addresses, pooled and direct, and the Connection info card adds a DATABASE_URL (pooled — use this one).

Use the pooled address for normal traffic. Use the direct address (port 5432) when your code needs a connection to keep its state between transactions:

In transaction mode two queries from the same app can run on different real connections, so anything stored on a connection can be gone on the next query. The pooler also only knows the main user. Extra users must connect on the direct address.

Extra users

Give a reporting tool or a colleague their own login instead of sharing the main one. In Extra users type a name, choose the access and press ADD USER.

A name is 2 to 31 characters: lowercase letters, numbers and underscores, starting with a letter. postgres, root, pgbouncer, mysql, admin, public and anything starting with pg_ are reserved.

Javer makes the password and shows it once. It is not stored, so copy it straight away. If it is lost, press NEW PASSWORD on that user. REMOVE deletes the user, and anything still using that login stops working. Extra users connect on the direct address, not the pooled one.

Public access (connect from your own computer)

PostgreSQL only. This lets TablePlus, DBeaver, psql or a local dev server reach the database from your computer. It is off by default.

  1. Find your public IP address (search "what is my IP"). The panel suggests your current one as a good start.
  2. In the Public access section, type the allowed addresses and press TURN ON PUBLIC ACCESS. Use an IPv4 address, or a range such as 203.0.113.0/24. You can separate several with commas, spaces or new lines. A range that opens the database to the whole internet is refused, and you must list at least one address.
  3. Javer starts a second small pooler container for the database, with a real TLS certificate for db.javer.pro, on a public port it picks for you. It also creates a separate login called javer_public that can create tables, so migrations work. It is not your main password.
  4. The panel shows a connection string once, with the password. It also shows a psql command and the password on its own. Copy what you need, then press DONE, HIDE IT. The password is not shown again.

The connection string ends in sslmode=verify-full. The connection is encrypted and your driver checks the certificate, so this works without extra setup. psql needs version 16 or newer, and the psql command the panel gives you adds sslrootcert=system so it trusts the system's certificates. Keep that out of the URL you give to an app driver, because some drivers (node-postgres, for example) break on it.

Changes to the allowed addresses take a few minutes to apply. To change them, edit the list and press SAVE ADDRESSES. NEW PASSWORD makes a new password for javer_public and cuts the old one off immediately. TURN OFF closes the public door. Your apps keep using the private address through all of this.

Because the public address also goes through a pooler in transaction mode, the limits in Connection pooling apply to it too.

The Health tab

Health shows how the database itself is behaving, not how busy its machine is. (The Usage tab shows the machine.) It is for PostgreSQL and MySQL, but the slow-query list is richer on PostgreSQL.

NumberWhat it meansWhat is normal
ConnectionsConnections in use out of the most the database allows. The bar turns amber at 70% and red at 90%.Well under half. At the limit the database refuses new connections.
Reads from memoryHow often a read was answered from memory instead of disk.Above 99%. Under 90% turns amber.
SizeHow much data is stored.Depends on you.
DeadlocksTimes two queries waited on each other and the database cancelled one, since the database started.0.

What we noticed turns those numbers into sentences with a suggested fix. It lists:

If nothing applies it says "Nothing wrong with this database right now."

Slowest queries lists up to five queries whose average run time is over 100 ms, with how many times they ran. It relies on query tracking. A database made before tracking existed says so, and databases created from now on have it. On MySQL the list is only a count of slow queries recorded.

Hourly backups

The Backups tab lists the hourly backups. They are taken every hour and kept off the machine the database runs on. A new database shows "No backups yet" until its first one, which is taken within the hour.

To restore, press RESTORE next to a backup and type the database's name to confirm. Restoring replaces everything in the database with that backup: anything written after the backup was taken is gone. Restoring an hourly backup does not save the current state first, so if you are not sure, take an export or a copy first (see below). When the database is deleted, its backups are kept for 30 days and then removed.

Wind back to a moment (point-in-time restore)

PostgreSQL only. Use it when you know when something went wrong, such as a dropped table or a migration run against the wrong database. It can go back to any second, not only to the hour.

How it works. Two things are kept:

To wind back, Javer takes the newest base backup from before your chosen moment, puts it in place, and replays the change logs up to that second. You can only choose a moment after the oldest base backup. That date is shown as Can go back to.

PlanAbout how far back
Free Dev1 day
Nano3 days
Pro7 days
Ur Rich, We Know It14 days

Javer keeps that many days of base backups plus one, and clears change logs older than the oldest one.

Steps. Pick a date and time in the box, press WIND BACK, and type the database's name to confirm. First, Javer saves what you have now as a new base backup, so the wind back can be undone too. Then it stops the database, swaps in the older data, starts it again and waits for it to finish recovering. The database is unavailable for that time. Everything written after your chosen moment is undone. BACK UP NOW takes a base backup right away, which is useful before a risky change. A moment in the future, or before the earliest base backup, is refused. A database with no base backup yet says "nothing yet, take a backup first".

If the swap fails before the old data is replaced, the database is started again unchanged. If it fails after, the database stays stopped and the message tells you the name of the saved copy, so contact support rather than retrying.

Make a copy

On the Backups tab, Make a copy creates a second database with the same contents. Use it to test a migration before running it for real. The copy is a normal database: it counts against your plan, has its own login and address, and changing it does not touch the original. Give it a name and press MAKE A COPY. Leaving the page does not stop it.

Upgrading the version

PostgreSQL only. A major version cannot be changed underneath a running database, so the Postgres version section on the Overview tab makes a copy on the newer version and leaves the original alone. Pick a version and press MAKE A COPY ON THAT VERSION. The copy is named after the original with -pg and the version number. When it is done, the panel links to it.

Then point your app at the new database and delete the old one when you are happy. You can only go up: moving to an older version is refused because an older PostgreSQL cannot reliably read a newer one's export. The copy is a separate item, so check that your plan has room for both while you switch over. Because it is a new database, it gets a new private address (see From a VM). MySQL databases show which release line they run and have no upgrade button.

Import and export

For a bigger file, use Public access and load it with psql from your computer.

Resizing

The Size section on the Overview tab changes memory and CPU on the running database. It does not restart, and nothing reconnects. Memory goes up in steps of 128 MB, with 128 MB as the smallest. The vCPU amount goes up in steps of 0.05, with 0.1 as the smallest. The most you can set is what your plan has left, because the size comes out of the same pool as your apps and VMs. Press APPLY. If it does not fit, the panel tells you what is over.

When it goes wrong

Too many connections. The database has hit its connection limit. Open Health to see used against the maximum. Move your app to the pooled DATABASE_URL (turn the pooler on first if it is off), and check that your code closes connections or uses a pool of its own. A long-running query holding connections shows up in What we noticed.

Errors about prepared statements, or settings that do not stick, only when using the pooled address. The pooler is in transaction mode, so session state does not survive between transactions. Switch that part of your app to the direct address, or turn off prepared statements in your driver if it has the option.

My extra user cannot connect to the pooled address. That is expected. The pooler only knows the main user. Use the direct address.

I cannot connect from my laptop. Check these in order:

My VM cannot reach the database. Use the address under From your VMs, not the host name, and read it again if the database was rebuilt or copied.

"No public ports are free right now." Try again later, or email support.

Web Hosting → Services → Databases → Machines → Network → Domains → Usage → Teams → Billing → CLI →