Skip Navigation
Show nav
Heroku Dev Center
  • Get Started
  • Documentation
  • Changelog
  • Search
  • Get Started
    • Node.js
    • Ruby on Rails
    • Ruby
    • Python
    • Java
    • PHP
    • Go
    • Scala
    • Clojure
  • Documentation
  • Changelog
  • More
    Additional Resources
    • Home
    • Elements
    • Products
    • Pricing
    • Careers
    • Help
    • Status
    • Events
    • Podcasts
    • Compliance Center
    Heroku Blog

    Heroku Blog

    Find out what's new with Heroku on our blog.

    Visit Blog
  • Log inorSign up
View categories

Categories

  • Heroku Architecture
    • Dynos (app containers)
    • Stacks (operating system images)
    • Networking & DNS
    • Platform Policies
    • Platform Principles
  • Command Line
  • Deployment
    • Deploying with Git
    • Deploying with Docker
    • Deployment Integrations
  • Continuous Delivery
    • Continuous Integration
  • Language Support
    • Node.js
    • Ruby
      • Working with Bundler
      • Rails Support
    • Python
      • Background Jobs in Python
      • Working with Django
    • Java
      • Working with Maven
      • Java Database Operations
      • Working with the Play Framework
      • Working with Spring Boot
      • Java Advanced Topics
    • PHP
    • Go
      • Go Dependency Management
    • Scala
    • Clojure
  • Databases & Data Management
    • Heroku Postgres
      • Postgres Basics
      • Postgres Getting Started
      • Postgres Performance
      • Postgres Data Transfer & Preservation
      • Postgres Availability
      • Postgres Special Topics
    • Heroku Data For Redis
    • Apache Kafka on Heroku
    • Other Data Stores
  • Monitoring & Metrics
    • Logging
  • App Performance
  • Add-ons
    • All Add-ons
  • Collaboration
  • Security
    • App Security
    • Identities & Authentication
    • Compliance
  • Heroku Enterprise
    • Private Spaces
      • Infrastructure Networking
    • Enterprise Accounts
    • Enterprise Teams
    • Heroku Connect (Salesforce sync)
      • Heroku Connect Administration
      • Heroku Connect Reference
      • Heroku Connect Troubleshooting
    • Single Sign-on (SSO)
  • Patterns & Best Practices
  • Extending Heroku
    • Platform API
    • App Webhooks
    • Heroku Labs
    • Building Add-ons
      • Add-on Development Tasks
      • Add-on APIs
      • Add-on Guidelines & Requirements
    • Building CLI Plugins
    • Developing Buildpacks
    • Dev Center
  • Accounts & Billing
  • Troubleshooting & Support
  • Integrating with Salesforce
  • Databases & Data Management
  • Heroku Data For Redis
  • Heroku Redis Maintenance Windows

Heroku Redis Maintenance Windows

English — 日本語に切り替える

Last updated December 01, 2022

Table of Contents

  • Checking if maintenance is required for your Redis instance
  • Setting a maintenance window
  • Limitations
  • FAQ

From time to time, Heroku must take your Redis instance offline to perform maintenance tasks. Typical tasks include upgrading the underlying infrastructure of your instance (for example, patching the operating system or required libraries) or upgrading Redis itself. This maintenance is handled automatically by Heroku.

Maintenance windows are available for all premium Redis plans.

Checking if maintenance is required for your Redis instance

You can check if maintenance is required on your Redis instance by using the redis:info command.

$ heroku redis:info
=== redis-softly-4514 (REDIS_URL)
Plan:               Premium 7
Status:             available
...
Maintenance:        required by 2016-02-01 00:00:00 +0000

Setting a maintenance window

Users can specify the day of week and time (UTC) at which the maintenance occurs:

$ heroku redis:maintenance --window="Sunday 14:30"

Setting a maintenance window allows you to minimize the impact on your application and users. We recommend selecting a time when maintenance would have the least impact on your business. Maintenance windows are 4 hours long starting at the time you specify. The actual time required for maintenance depends on exactly what’s taking place, but it usually requires your Redis instance to be offline for only a few minutes. If you don’t specify a window, one is selected randomly.

Limitations

Maintenance windows that can be set and manual maintenance runs are only available on premium plans.

Heroku makes the best effort to honor your maintenance window request but it isn’t guaranteed. If there’s an emergency where the security or integrity of your data is threatened, we perform the maintenance outside of your regular window at our discretion.

FAQ

Will my app experience downtime?

Any maintenance requires some downtime. If you’re on an HA plan (Premium/Private tier), you’re already aware of this downtime as you have taken steps to protect yourself in the event of an outage. If you aren’t on an HA plan, we’re taking steps to ensure minimal downtime for your application. HA plans will experience some time after a maintenance where HA is unavailable while a new HA follower is created and caught up.

When the maintenance is triggered, the Primary Redis fails over to the Standby Redis. Your total downtime depends on your application’s ability to recover from that failover. This downtime, for most customers, is measured in a handful of minutes.

Do I need to do anything to perform the maintenance?

There are three different ways for maintenance to occur. The most common way is to do let Heroku perform the maintenance for you. We use your databases maintenance window to determine the best time to run this maintenance automatically.

The following two methods are triggered manually by you.

If you wish to run your maintenance manually you can do so in one of two ways. The first method is via heroku redis:maintenance --run --force. This immediately fails over to your HA Standby or the hidden Standby if it’s caught up. Your application immediately restarts and is pointed to the new Primary (former Standby). The impact for this option would be similar to the case where Heroku performs the maintenance for you.

The other method involves putting your application into maintenance mode before performing the failover. This method can have benefits such as providing a clean landing page for your users, but total downtime can be longer as it’s a manual process to enable and disable maintenance mode. We have more detailed information on the maintenance mode page.

Keep reading

  • Heroku Data For Redis

Feedback

Log in to submit feedback.

Upgrading a Heroku Data for Redis Version Managing Heroku Data for Redis Using the CLI

Information & Support

  • Getting Started
  • Documentation
  • Changelog
  • Compliance Center
  • Training & Education
  • Blog
  • Podcasts
  • Support Channels
  • Status

Language Reference

  • Node.js
  • Ruby
  • Java
  • PHP
  • Python
  • Go
  • Scala
  • Clojure

Other Resources

  • Careers
  • Elements
  • Products
  • Pricing

Subscribe to our monthly newsletter

Your email address:

  • RSS
    • Dev Center Articles
    • Dev Center Changelog
    • Heroku Blog
    • Heroku News Blog
    • Heroku Engineering Blog
  • Heroku Podcasts
  • Twitter
    • Dev Center Articles
    • Dev Center Changelog
    • Heroku
    • Heroku Status
  • Facebook
  • Instagram
  • Github
  • LinkedIn
  • YouTube
Heroku is acompany

 © Salesforce.com

  • heroku.com
  • Terms of Service
  • Privacy
  • Cookies
  • Cookie Preferences