Tagging is extremely slow

Adding or deleting of Tags is extremly slow.
RBcnO2RBzY

The behavior is the same on all my installations (Windows 10 Pro).
The behavior is the same with or without activated plugins and has existed for a few versions.
When I use an installation with few tags and notes, tagging is relatively fast.
9z9LjMt9gs

Joplin 1.5.7 (prod, win32)

Client ID: fea0ba97613b45d8b1c8ee33e9f08413
Sync Version: 2
Profile Version: 34
Keychain Supported: Yes

Revision: f1bbcea64 (master)
Sync status (synced items / total items)
Note: 5294/5294
Folder: 47/47
Resource: 8973/8973
Tag: 1692/1692
NoteTag: 18234/18234
MasterKey: 0/0
Revision: 1204/1205
Total: 35444/35445

log.txt (34.1 KB)
console.txt (162.8 KB)

I just compiled the version 3.0.8 from the sources and adding tags is extremely fast, I added 4 tags that hadn't even been in the db before to the note and it was like a blink of an eye! Good job!

2 Likes

I rename some tags with hundreds of notes and each time of them take an hour through a process of changing-tag-name for each note...I do hope the process can goes like Evernote did-just change the name of a tag (with hundreds of notes) and it's all done in seconds. Why cannot this be the same? I'm cruiouse.

I rename some tags with hundreds of notes and each time of them take an hour through a process of changing-tag-name for each note...

@KC_20CY, I have 4800+ notes and 1600+ tags, and 5 profiles. One of my tags is linked to 555 notes and I just changed its name. It took a blink of an :eye:. Then I went inside a note containing the tag and it was changed there. I use Linux desktop 3.2.11. Which version are you using?

1 Like

Hi there,

Please refer to below system specification information alongside with Windows 11, I'd like to see more of your opinion:

Joplin 3.2.8 (prod, win32)

Client ID: 95129a039d73425ca166bc4a948de767
Sync Version: 3
Profile Version: 47
Keychain Supported: Yes

Revision: d458648

Backup: 1.4.2
Freehand Drawing: 2.13.0
Note Tabs: 1.4.0
Text Colorize: 1.2.5

I just took a screen recording to show how slow Joplin system going when I update a tag which with hundreds of notes as shown as attached video.

BTW, the method that I am taking now for renaming a tag is as below:

Create a new tag based on old tag name modification
Select the old tag
Select all notes of aforementioned old tag
Adding new tag to selected notes (This is the part taking a lot of time)
After adding tag to all notes completed, delete the old tag.

My guess is that someone would be curious why I did not just rename the tag directly, I know that is how things SHOULD go, but I tried it last time (and the slow-process in attached video is the same in this method, if my memory serves me right), and then my Joplin tag system gone messy (Reference link1 and 2) and I had to reinstall my Joplin system... Hence, I now sticking to a work around like this.

Well, I don't know why it's so slow for you. I can only suggest using SQL if you're familiar with it as a workaround. I hope others will suggest a better solution.

If you use DBeaver, then create a new connection to the SQLite database at ~/.config/joplni-desktop/database.sqlite and then try the following query to rename the tag

update tags
set title='Science Data'
where title like 'Data Science';

It's likely instantaneous using directly the database, it would also make sure the issue lies inside the application itself.

Hey, thanks for your input, I am not familiar with the method that you referred to, I might take a look around when I have a chance.

I also have something new to share. Few minutes after my previous reply which inspired by your opinion, I am getting to realize that I was so used to the workaround that I had used and I already put the direct method (just directly rename Joplin tag) behind for too long, and now it is probably time for me to get it back-I shall give it a try when I am now more familiar with Joplin app and its mechansim.

Oh @KC_20CY, now I understood the method you're using. Even though, I did the same in my Joplin notebook and it didn't take more than a minute to add a tag to all 555 notes.

I selected all the notes having the tag link and then added a new tag link-temp to all of them.

Afterwards, removing the tag link-temp took maybe 3 seconds.

Do you use a HDD or a SSD?

Wow..., I was surprised when I saw your screen video.

To answer your question, Joplin installation goes C drive by default right? My c drive is a SSD.