General questions about Managed Service for Redis
What is Managed Service for Redis?
Managed Service for Redis is a service that helps you create, operate, and scale Redis databases in a cloud infrastructure.
With Managed Service for Redis, you can:
- Create a database with the required performance characteristics.
- Scale your processing power and storage size allocated to your databases as needed.
- Get database logs.
Managed Service for Redis takes on time-consuming Redis infrastructure administration tasks:
- Monitors resource usage.
- Provides fault tolerance through automatic failover to backup replicas.
- Keeps database software updated.
You interact with database clusters in Managed Service for Redis the same way you interact with regular databases in your local infrastructure. This allows you to manage internal database settings to meet your app's requirements.
What part of database management and maintenance is Managed Service for Redis responsible for?
When creating clusters, Managed Service for Redis allocates resources, installs the DBMS, and creates databases.
Managed Service for Redis also provides data replication between database hosts (both inside and between availability zones) and automatically switches the load over to a backup replica in the event of a failure.
Which tasks should I use Managed Service for Redis for and for which VMs with databases?
Nebius AI offers two ways to work with databases:
- Managed Service for Redis allows you to operate template databases with no need to worry about administration.
- Compute Cloud virtual machines allow you to create and configure your own databases. This approach allows you to use any database management systems, access databases via SSH, etc.
What is a database host and database cluster?
A database host is an isolated database environment in the cloud infrastructure with dedicated computing resources and reserved data storage.
A database cluster is one or more database hosts between which replication can be configured.
How do I get started with Managed Service for Redis?
Managed Service for Redis is available to any registered Nebius AI user.
To create a database cluster in Managed Service for Redis, you must define its characteristics:
- Host class (performance characteristics such as CPUs, memory, and so on).
- Disk size (reserved in full when creating a cluster).
- The network your cluster will be connected to.
- The number of hosts for the cluster and the availability zone for each host.
For detailed instructions, see Getting started with Managed Service for Redis.
How many DB hosts can a cluster contain?
The minimum number of hosts per cluster depends on the selected platform and host class.
The maximum number of hosts in a cluster is only limited by the requested computing resources and the size of the storage for the cluster.
For more information, see Quotas and limits in Managed Service for Redis.
How can I access a running DB host?
You can connect to Managed Service for Redis databases using standard DBMS methods. However, there is one exception: Managed Service for Redis hosts can only be accessed from your Nebius AI resources, such as Compute Cloud virtual machines.
How many clusters can I create within a single cloud?
MDB technical and organizational limits are given in Quotas and limits in Managed Service for Redis.
How do I maintain database clusters?
Maintenance in Managed Service for Redis implies:
- Automatic installation of DBMS updates and revisions for DB hosts (including disabled clusters).
- Changes to the host class and storage size.
- Other Managed Service for Redis maintenance activities.
For more information, see Maintenance in Managed Service for Redis.
Which version of Redis does Managed Service for Redis use?
Managed Service for Redis supports Redis versions 7.2.
How can I change the computing resources and storage size for a database cluster?
You can change computing resources and storage size in the management console. All you need to do is choose a different host class for the required cluster.
The cluster characteristics change within 30 minutes. During this period, other maintenance activities may also be enabled for the cluster, such as installing updates.
What metrics and processes can be tracked using monitoring?
For all DBMS types, you can track:
- CPU, memory, network, or disk usage, in absolute terms.
- Memory, network, or disk usage as a percentage of the set limits for the corresponding cluster's host class.
- The amount of data in the DB cluster and the remaining free space in data storage.
For DB hosts, you can track metrics specific to the corresponding type of DBMS. For example, for Redis, you can track:
- Average query execution time
- Number of queries per second
- Number of errors in logs.
Monitoring can be performed with a minimum granularity of 5 seconds.
Can I get logs of my operations with services?
Yes, you can request log records about your resources from Nebius AI services. For more information, see Data requests.
What is the retention period for logs?
Cluster logs are stored for 30 days.
Why is a cluster working slowly even though it still has free computing resources?
Perhaps, the maximum storage IOPS and bandwidth values are insufficient for processing the current number of requests. In this case, throttling is triggered and the performance of the entire cluster degrades.
With every 32 GB of storage size increase, the maximum read and write IOPS values increase by 1,000, and the maximum read and write bandwidths increase by 15 MB/s.
To increase the maximum IOPS and bandwidth values and make throttling less likely, change your cluster's host class. For instructions, see Changing the host class.