Azure Redis cache upgrade will data be loss during upgrade?

Oscar 26 Reputation points
2022-03-24T22:09:39.65+00:00

We have an existing Azure Redis cache instance and we wanted to upgrade it from C1 to C2 to accommodate more load. Is there a risk of a downtime or data loss during the upgrade? Thank you for your help.

Azure Cache for Redis
Azure Cache for Redis
An Azure service that provides access to a secure, dedicated Redis cache, managed by Microsoft.
251 questions
0 comments No comments
{count} vote

Accepted answer
  1. Oury Ba-MSFT 19,101 Reputation points Microsoft Employee
    2022-03-24T23:47:26.917+00:00

    Hi @Oscar Thank you for posting your Question on Microsoft Q&A and for using Azure services.

    In my understanding you are looking to upgrade your existing instance to accommodate more load for your Redis cache and wanted to know if there's are risk of data loss during upgrade. Please let me know if my understanding is not correct.

    In response to your question, as long as the cache isn’t heavily loaded, there’s very little risk of downtime or data loss.

    When you scale to a pricing tier with a lower databases limit than the current tier:
    If you're using the default number of databases, which is 16 for all pricing tiers, no data is lost.
    If you're using a custom number of databases that falls within the limits for the tier to which you're scaling, this databases setting is kept, and no data is lost.
    If you're using a custom number of databases that exceeds the limits of the new tier, the databases setting is lowered to the limits of the new tier and all data in the removed databases is lost.
    When you scale to a pricing tier with the same or higher databases limit than the current tier, your databases setting is kept, and no data is lost.

    For more details please check the below docs

    https://video2.skills-academy.com/en-us/azure/azure-cache-for-redis/cache-how-to-scale
    https://video2.skills-academy.com/en-us/azure/azure-cache-for-redis/cache-best-practices-scale

    Please do let us know if that answer your question. If that answer your question, please mark as accept answer.

    Regards,
    Oury


0 additional answers

Sort by: Most helpful

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.