deploy_feedback icon indicating copy to clipboard operation
deploy_feedback copied to clipboard

[KV Feedback]: KV database size is growing uncontrollably

Open laltin opened this issue 4 months ago • 0 comments

🔍

  • [x] Did you search for existing issues?

Type of feedback

Bug report

Description

I am using KV on Deno Deploy classic. I am storing 4 integers in KV which are updated every couple of minutes via a cron job. My current db size is: Estimated Size: 132 MiB

I assume this is caused because of point-in-time recovery. So database store not only the last value but every value that is set, which could happen every minute in my case.

How could I reduce the db size? If my assumption above is true, is it possible to remove older values after some time? like no point-in-time recovery after a month.

Steps to reproduce (if applicable)

No response

Expected behavior (if applicable)

No response

Possible solution (if applicable)

No response

Additional context

No response

laltin avatar Oct 11 '25 15:10 laltin