.duckdb file size growing #277
Unanswered
brianlagunas
asked this question in
Q&A
Replies: 1 comment
-
Hi Brian, The Reclaiming Space page explains the limitations of the CHECKPOINT command and outlines some alternatives that might help. That said, since this isn’t really related to the .NET driver itself, it might be worth opening an issue in the DuckDB GitHub repository so the core team can take a look. By the way, I remember using Prism many years ago with Xamarin.Forms—never would’ve imagined you’d be using one of my projects now! |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I am using DuckDB.NET as a cache database that stores a large amount of json data in a single field associated with a cache key.
As my application runs, it adds new cache entries, and then as the cache entries expire, they are removed from the table.
The problem is that the file size will continue to grow and never shrink even as large cache items are being removed from the table.
Even if I delete everything in the table:
The file size does not get reclaimed. I have tried calling the
CHECKPOINT
command, but that doesn't have any impact on the file size. It just continues to grow and grow.Is there a way to keep the files size in proportion to the data within the .duckdb file?
Beta Was this translation helpful? Give feedback.
All reactions