What happens when my database fills up?

As detailed in the open source Redis FAQ, under “What happens if Redis runs out of memory?”:

  • …[you] can use the “maxmemory” option in the config file to put a limit to the memory Redis can use. If this limit is reached Redis will start to reply with an error to write commands (but will continue to accept read-only commands), or you can configure it to evict keys when the max memory limit is reached in the case you are using Redis for caching.

Redis Enterprise Cloud instances in our fixed-size plans have their maxmemory set to the plan’s size. You can easily configure an eviction policy for your instance from your account’s console and set it to any of the standard Redis behaviors without interrupting the service. Our Pay-As-You-Go plans let you set any arbitrary value for maxmemory.