I’m running into a really frustrating issue with Anki. My collection/data size keeps going up, even though I haven’t added any new decks or cards in a long time.
Here’s what I’ve tried so far:
Deleted a lot of old/unused cards
Cleared reviews
Deleted large media files and even the biggest cards
Constantly cleaned up media and database
But despite all that, the data size just keeps sequentially and exponentially increasing, and I keep getting database size excess alerts.
It’s been quite some time since I added anything new, so I can’t figure out why the size keeps growing.Any help would be super appreciated!
[But the media is a separate problem, because you’ve got over 17 GB of media in your account. Hopefully you’ve already taken care of that on your local device, and once you get syncing again, you’ll be able to clean that up on AnkiWeb as well. One thing to note is that if you’ve been deleting/cleaning up media while you’re out of sync, those files might be re-added when you’re able to sync again. You need to get your collection fully in sync and then you can delete that unnecessary media.]
Are you rescheduling your cards a lot (after optimizing the parameters)? This creates what is called “revlog” entries for each card every time you reschedule. The same happens when you review a card, but in case of rescheduling it’s redundant information. You can remove all redundant revlog entries with the FSRS helper plugin: https://ankiweb.net/shared/info/759844606. Be careful, as this is a database operation and can’t be undone.
Hey, I decided to delete some unused notes. How can I filter out the notes which are partially done? Suppose if there are 4 cloze cards in a single note, and I’ve only done one cloze card. I don’t want to delete that note.
Is there any filter which I can use in the search bar to filter out this partially done notes?
I linked you to the specific comment that is exactly that.
I've edited it a bit here, to make it more general --
There are a few ways to track down what is happening there, so you’ve got some sleuthing to do.
Use the Note Size add-on to figure out what decks/notes in your collection have ballooned in size. [I recommend that after you get what you need from it, you disable it until you need it again.]
At the bottom of the Decks page, hover over the “Collection” size to make sure it’s not the revolgs that are the issue. [New feature added in April 2025]
In Browse, try showing the “Size” or “Size (text)” column, and sorting by it to see what the largest notes are.
Looking at those notes, if there’s no visible excess of text, check the HTML view of the fields by clicking the < > above the field. Text can be hiding in your fields from things you copied in from other locations that brought too much formatting with them. [A favorite I keep seeing in my own collection is pointless HTML formatting applied to every word/punctuation char, like coding "much": as –
If you reach the limit you can use a self-hosted server built into Anki to replace AnkiWeb without any limit. Here is my add-on to make it easier to use this self-hosted server: addon: Local Anki Server - Use self-hosted server with Wifi. The local server is very fast for forced synchronization uploads and downloads (it’s almost instantaneous) so I recommend it if you are editing a lot of cards.
It’s a good start – 7-8 MB is a bit large for 10K notes (and even larger if it was 10K cards that were made from fewer than 10K notes). But obviously that’s just a drop in the bucket for how much you need to delete. It’s not clear to me whether you worked through all the steps or you just cherry-picked one thing to start with.
Was it 10K notes or 10K cards? For purposes of this, the additional sibling cards don’t take up much space.
What were you looking at in the add-on – the “Size” (which includes media) or “Size (text)” column – or in the pop-up, the “total size” (which includes media) or “texts size”? How much space were you expecting to recover?
Did you identify these notes as ones that had an excess-of-text problem? What was the issue? Or was this just an easy place to start because you didn’t need these notes?
Have you checked the size of your revlog to see if that is contributing to the issue? [Review history isn’t deleted when you delete notes/cards.]
How many notes do you have left in your collection? In Browse, click “Decks” [search deck:_*] and switch to “Notes” mode to see a count.
On a similar note, is there any way I can prioritize and do Notes in which I have done some clozes. Suppose there are 10 clozes in a note, I have done one cloze, and the other 9 clozes are there mixed in the rest of the new cards.
Is there any way I can prioritize these 9 clozes in that partial done note before that other complete new notes?