content/operate/rs/7.22/databases/auto-tiering/_index.md
Redis Enterprise's auto tiering offers users the unique ability to use solid state drives (SSDs) to extend databases beyond DRAM capacity. Developers can build applications that require large datasets using the same Redis API. Using SSDs can significantly reduce the infrastructure costs compared to only DRAM deployments.
Frequently used data, called hot data, belongs in the fastest memory level to deliver a real-time user experience. Data that is accessed less frequently, called warm data, can be kept in a slightly slower memory tier. Redis Enterprise’s Auto tiering maintains hot data in DRAM, keeps warm data in SSDs, and transfers data between tiers automatically.
Redis Enterprise’s auto tiering is based on a high-performance storage engine (Speedb) that manages the complexity of using SSDs and DRAM as the total available memory for databases in a Redis Enterprise cluster. This implementation offers a performance boost of up to 10k operations per second per core of the database, doubling the performance of Redis on Flash.
Just like all-RAM databases, databases with Auto Tiering enabled are compatible with existing Redis applications.
Auto Tiering is also supported on [Redis Cloud]({{< relref "/operate/rc/" >}}) and [Redis Enterprise Software for Kubernetes]({{< relref "/operate/rs/" >}}).
The benefits associated with Auto Tiering are dependent on the use case.
Auto Tiering is ideal when your:
Auto Tiering is not recommended for:
Auto Tiering is not intended to be used for persistent storage. Redis Enterprise Software database persistent and ephemeral storage should be on different disks, either local or attached.
When using Auto Tiering, RAM storage holds:
All data is accessed through RAM. If a value in flash memory is accessed, it becomes part of the working set and is moved to RAM. These values are referred to as "hot data".
Inactive or infrequently accessed data is referred to as "warm data" and stored in flash memory. When more space is needed in RAM, warm data is moved from RAM to flash storage.
{{<note>}} When using Auto Tiering with RediSearch, it’s important to note that RediSearch indexes are also stored in RAM.{{</note>}}
Redis Enterprise Software allows you to configure and tune the ratio of RAM-to-Flash for each database independently, optimizing performance for your specific use case. While this is an online operation requiring no downtime for your database, it is recommended to perform it during maintenance windows as data might move between tiers (RAM <-> Flash).
The RAM limit cannot be smaller than 10% of the total memory. We recommend you keep at least 20% of all values in RAM. Do not set the RAM limit to 100%.
Implementing Auto Tiering requires pre planning around memory and sizing. Considerations and requirements for Auto Tiering include:
{{<note>}} The Redis Enterprise Software database persistent and ephemeral storage should be on different disks, either local or attached. {{</note>}}
Once these requirements are met, you can create and manage both databases with Auto Tiering enabled and all-RAM databases in the same cluster.
When you begin planning the deployment of an Auto Tiering enabled database in production, we recommend working closely with the Redis technical team for sizing and performance tuning.
When running in a cloud environment:
{{<note>}} We specifically recommend "Storage Optimized I4i - High I/O Instances" because of the performance of NVMe for flash memory. {{</note>}}
When you begin planning the deployment of Auto Tiering in production, we recommend working closely with the Redis technical team for sizing and performance tuning.
On-premises environments support more deployment options than other environments such as:
{{<note>}} Enabling Auto Tiering for [Active-Active distributed databases]({{<relref "/operate/rs/7.22/databases/active-active">}}) requires validating and getting the Redis technical team's approval first . {{</note>}}
{{<warning>}} Auto Tiering is not supported running on network attached storage (NAS), storage area network (SAN), or with local HDD drives. {{</warning>}}
Auto Tiering databases cannot store keys or values larger than 4GB in flash storage.
Keys or values larger than 4GB will be stored in RAM only, and warnings will appear in the Redis logs similar to:
# WARNING: key too big for disk driver, size: 4703717276, key: subactinfo:htable
[Auto Tiering metrics]({{< relref "/operate/rs/7.22/references/metrics/auto-tiering" >}})
[Auto Tiering quick start]({{< relref "/operate/rs/7.22/databases/auto-tiering/quickstart.md" >}})
[Ephemeral and persistent storage]({{< relref "/operate/rs/7.22/installing-upgrading/install/plan-deployment/persistent-ephemeral-storage" >}})
[Hardware requirements]({{< relref "/operate/rs/7.22/installing-upgrading/install/plan-deployment/hardware-requirements.md" >}})