Skip to Content
Database

Database Plans

Zenifra database plans vary in capacity and resources, but some product rules remain the same across plans.

What changes between plans

Plans mainly affect:

  • compute capacity
  • available storage
  • observability features
  • contract flexibility

Plans and prices

Values from the public catalog (GET /v1/project/database/plans), in Brazilian reais (BRL) and per instance. Persistent storage is billed separately, per GB on each instance, except on db-free. The console shows the total before you confirm. All plans accept the three billing modes (hourly, monthly, and yearly), on PostgreSQL, MariaDB, and Valkey.

PlanvCPURAMHourlyMonthlyYearlyEngines
db-free (legacy)0.3256 MBFreeFreeFreePostgreSQL (Valkey Key‑Value only for organizations created before the free offer update)
db-starter0.3256 MBR$ 0.018R$ 11.90R$ 130.90PostgreSQL, MariaDB, or Valkey
db-basic11 GBR$ 0.076R$ 49.90R$ 548.90PostgreSQL, MariaDB, or Valkey
db-premium22 GBR$ 0.18R$ 129.90R$ 1,428.90PostgreSQL, MariaDB, or Valkey
db-enterprise88 GBR$ 0.75R$ 489.00R$ 5,388.90PostgreSQL, MariaDB, or Valkey
  • db-free is a legacy plan, available only to organizations that already received the free plans; other organizations get an error when they try to use it. It includes a fixed 1 GB of persistent storage and 1 instance. Each organization with the plan can have 1 active PostgreSQL on db-free. Valkey Key‑Value has no free plan. Organizations created before the free offer update keep up to 2 db-free projects, counting PostgreSQL and Valkey Key‑Value together.
  • On db-free, PostgreSQL has the same CPU and memory as db-starter (0.3 vCPU and 256 MB). Valkey Key‑Value in organizations created before the free offer update stays at 0.1 vCPU and 128 MB.
  • MariaDB is not available on db-free and always uses 3 instances, so the plan price is multiplied by 3.
  • Available versions: PostgreSQL 15, 16, 17, and 18 (default 18); MariaDB 10 and 11 (default 11).

Metrics

PostgreSQL and MariaDB metrics are available on the db-premium and db-enterprise plans. They include resources (CPU, memory, and storage), connections, activity, read cache, locks, latency, health, and replication, per instance, as a snapshot refreshed every 60 seconds without history. Storage usage (the Storage card) shows on every plan, with a warning from 80% and from 95%.

Instances and topology

PostgreSQL

  • can operate from 1 to 6 total instances (db-free: always 1)
  • in hourly billing, instance count can change later
  • in monthly and yearly billing, instance count is fixed in the contract

MariaDB

  • always runs with 3 fixed instances
  • does not allow increasing or decreasing the instance count

PostgreSQL connections

Maximum number of simultaneous connections your application can open with the database user:

PlanConnections
db-free15
db-starter15
db-basic72
db-premium147
db-enterprise598

Above the limit, a new connection is refused with remaining connection slots are reserved. Set the connection pool of your driver or ORM to at most this number (adding up every instance of your application) and reuse connections instead of opening one per request.

Storage

  • storage can increase
  • storage can never shrink
  • changes are only available in hourly billing; on monthly and yearly contracts, capacity is fixed for the contract term
  • on db-free, storage is fixed at 1 GB
  • increasing storage may cause temporary downtime

For ClickHouse, plans, topology, and storage allowances belong in the separate Analytics plans section, not the PostgreSQL or MariaDB plans.

Contracts

For monthly and yearly databases:

  • stopping the database makes it inaccessible
  • this does not change the final contract charge during the contracted period
  • disabling automatic renewal lets the contract end without renewal; only the organization owner can change this option

FAQ

Can I upgrade the plan?

Yes, in hourly billing. On monthly and yearly contracts, the plan cannot be changed during the contract. db-free can move to a paid plan in any billing mode, keeping data and credentials and taking on the resources and connection limit of the new plan; from the change, the database is billed hourly and its current storage is billed too (paid plans include no storage). You cannot go back to db-free. The change may cause temporary downtime.

Can I shrink storage later?

No. Storage can increase, but it can never shrink.

Can I change the number of replicas in MariaDB?

No. MariaDB uses 3 fixed instances.

Can I change the number of instances in PostgreSQL?

Yes, in hourly billing, between 1 and 6 instances. In monthly and yearly billing, the configuration is fixed in the contract. On db-free, the database always uses 1 instance.

Do I have root access to the database?

No. The user does not have root or superuser access, but does have enough elevated access to operate the database normally.

Do plans include automatic backups?

Yes, at no extra cost. db-free plans keep 1 backup per day for 3 days; db-starter, 1 per day for 7 days; db-basic, 2 per day for 7 days; db-premium, 2 per day for 14 days; and db-enterprise, 3 per day for 30 days. Restores are requested from support. See Automatic backups and keep your own exports (pg_dump or mariadb-dump/mysqldump) of critical data.

Last updated on

On this page