On this page
PostgreSQL is an object-relational database management system (ORDBMS) with an emphasis on extensibility and on standards-compliance.
The version currently installed by the add-on is :
- on shared plans (DEV) : PostgreSQL 11
- on newly created dedicated databases (plans XS Small Space and above) : PostgreSQL 10, 11, 12, 13, 14
Database Daily Backup and Retention
By default, Clever Cloud performs a free backup every day, with a retention of seven days. Retention and frequency can be customized for Premium customers. Each backup can be found in the add-on dashboard in the web console, along with the credentials.
Migrating from an old database
Some applications require a populated database to run properly. If you want to import your SQL dump, you can use several methods:
- Our WebGUI (Adminer).
- Command line tool for PostgreSQL administration like
- Any PostgreSQL client such as pgAdmin.
All our dedicated PostgreSQL databases are served via a proxy. To reduce the latency you can bypass this proxy by generating direct hostname and port for the addon. You can do it by clicking the “Generate direct hostname and port” on the addon dashboard.
This action will add new environment variables to reach the addon without any proxy.
Keep in mind that usage of direct access is a trade-off: when you migrate your addon, you will need to to generate hostname and port again so your application must update these environment while proxy usage changes nothing.
Encryption at rest
Encryption at rest is available on PostgreSQL. You can have more information on the dedicated page
Pgpool-II is a proxy software that sits between PostgreSQL servers and a PostgreSQL database client.
You can read the official project page for more information.
You can learn more about Pgpool-II on the dedicated documentation page
Every PostgreSQL database managed by Clever Cloud comes with the following default extensions:
Autovacuum is automatically enabled on PostgreSQL add-ons.
The autovacuum will proceed when a given percentage of rows of a table will be updated/inserted/deleted.
Usually this threshold is set to 20%.