From what I see in the synchronization state and by observing the size of my .config\joplin-desktop folder, I have the impression that the cleaning has not been done everywhere.
Synchronization status (sync objects / total)
BEFORE Note: 16503/16505
Folder: 211/211 Resource: 96504/96504
Tag: 4051/4051
NoteTag: 31084/31084 Revision: 1597/1597
Total : 149950/149952
AFTER Note: 3619/3619 There I see all the notes that I deleted
Folder: 207/207 Resource: 96609/96609 There are as many resources as before , I understand that they were therefore not deleted with their respective notes?
Tag: 4054/4054
NoteTag: 31113/31113 Revision: 15201/15201 I'm surprised by this large number of revisions, is this normal?. I just turned off reviews, apply, sync but this figure is still huge.
Total : 150803/150803
When a note is deleted, a revision for it is automatically created so that's why you have many of these. I'm not sure if turning off note history would actually delete those - it will just ensure that new revisions are not created. Older revisions will probably be deleted as per the "Keep note history for" setting
Just a suggestion, being DB driven app, note, which are records in a DB are seldom ever really deleted, they are just marked as deleted until some clean utility runs to compress the DB again. I am not sure that this exists for Joplin.
Perhaps your best bet would be to export all your notes, completely delete your profile, then reimport the notes as new. This should make them as compact as possible.
This seems a bit overkill in lieu of just waiting for the revision deletion service to run and prune anything it needs to outside of the note history limit.
Ok, so if I understand correctly, I shouldn't deactivate the history but rather I should set the history for example to 1 day? (and once deleted I can put back 90 I imagine)
Do I need to set this setting on my 2 PCs?
This idea came to my mind. What do you think @laurent, is this a good idea following a big cleaning like the one I did?
I just set the history of my 2 Joplins to 1 day.
Is this supposed to also delete resources associated with deleted notes?
Following the adjustment of the history from 90 to 1 day, some good things happened: One of my PCs seems to have finished cleaning up, in revisions and resources :
Attachments
Not downloaded: 0
Downloading: 0
Downloaded and decrypted: 13594
Downloaded and encrypted: 0
Created locally: 669
Error: 0
On the other hand, my other PC seems to be having trouble coping . For several hours, the first number (Downloaded 3/82012) has hardly moved and the Joplin window sometimes doesn't respond:
It often ends up ending, like here:
but the synchronization status indicates this:
Attachments
Not downloaded: 0
Download in progress: 0
Downloaded and decrypted: 564
Downloaded and encrypted: 0
Created locally: 14171
Error: 0
Synchronization status (sync objects / total)
Rating: 3572/3572
Folder: 207/207
Resource: 96249/14737
Tag: 4054/4054
NoteTag: 31114/31114
Revision: 12171/16
Total: 147367/53700
Conflicts: 0
To delete: 0
and if I restart the synchronization, it starts again from the little number (27/82013):
I tried to quit and restart Joplin, same issue.
Do you have any idea of the problem?