Skip to main content

Cloud Database

The Arvancloud Cloud Database is a managed service for creating database clusters. This product helps you build a cluster of configured databases in just a few minutes, without having to install, configure, maintain, and secure databases manually.

For higher availability and performance, Arvancloud Cloud Database clusters can include standby and read-only nodes and can be scaled quickly. Full backups with PITR are also taken of your data automatically every day. PITR lets you return the database's data to a specific point in the past. That's why even single-node databases have automatic failover.

Database Engine​

Currently, you can create database clusters with the MySQL and PostgreSQL engines, and in the future, creating clusters with MongoDB and Redis will also be possible.

MySQL is one of the most common and popular open-source relational database management systems. This engine can provide high speed and reliability for storing and retrieving your data. PostgreSQL is also an open-source, object-relational database designed with a focus on data integrity and high speed. This database lets users install many extensions and customize data types, functions, and more.

Cluster Configuration​

Arvancloud Cloud Database clusters can include the following nodes:

  • Primary node

    This node processes queries and runs CRUD operations on the database, and it is the main source for storing and retrieving data in the cluster. This means the standby and read-only nodes get their data from this node.

  • Standby nodes

    Standby nodes store a copy of the primary node's data and are always in sync with it, so if a problem occurs on the primary node, they replace it. This replacement happens as fast as possible and with minimal downtime. When creating a new cluster, you can add one or two standby nodes to it.

  • Read-only nodes

    These nodes are a copy of the primary node, except that they only respond to read requests and can't make changes to databases. They are used for horizontal scaling of the database, and you can use this node in applications with a high volume of read requests. Also, up to 3 read-only nodes can be created for each primary node.

A database cluster consists of a primary node and standby nodes. Read-only nodes aren't part of the cluster; this means you can access them independently through a different link or resize their resources.

All Arvancloud Cloud Database clusters have an automatic failover mechanism and replace the primary node with another node when an error occurs on it. However, to achieve high availability and reduce service recovery time, it is recommended that you add one or two standby nodes to your cluster.

If you don't add a standby node to the cluster and the primary node fails, the cluster is unavailable until its replacement node becomes active. This time varies based on the amount of data in your cluster, and the larger the data, the longer cluster recovery takes.

For the highest availability, be sure to add two standby nodes to the cluster, so the service stays available even if the primary node and one of the standby nodes have problems.

Moving traffic to a standby node takes less than a minute, but replacing a primary node takes much longer. In fact, the availability of your database and data depends on your configuration.