Skip to main content

ERR DB capacity quota exceeded

Symptom

The client gets an exception similar to:

ReplyError: ERR DB capacity quota exceeded

Diagnosis

Your total database size exceeds the max data size limit, which is 100Gb for "Free" and "Pay as you go" databases. When this limit is reached, write requests may be rejected. Read and delete requests will not be affected.

Solution-1

You can delete some entries to allow further writes. Also you can consider setting TTL (expiration time) for your keys.

Solution-2

You can upgrade your database to Enterprise as it has higher limits. Also, you can submit quota increase request in the console or you can contact support@upstash.com about the options with higher max data size limit.