I have around 60 plugins. Unfortunately, the indexing is very slow. When I open Obsidian in safe mode, the indexing is completed very quickly. However, when I exit safe mode, the indexing starts over. Is there a faster way to identify which plugin or plugins are slowing down the indexing, other than turning them off and on one by one? Thank you.
Note: Apart from indexing, Obsidian works quickly with 60 plugins, except for occasional brief freezes.
i have around 60 active plugins myself and the indexing by obsidian is negligable (but can indeed be slow) if you open the app after a sync
if you delete the index or metadata cache (manually, like mentioned in dedicated thread or with the new option that i didn’t try yet), all files need to be indexed
if the latter is the case, you can do indexing with plugins turned off and it’s fast - then when the indexing is done, you turn them on – it’s done for all plugins
otherwise, it’s worthwhile to keep a copy of the community-plugins.json file in your .obsidian folder to see what was turned on if you need to turn plugins back on one by one…
finally, obsidian core indexing doesn’t start at all until community plugins that do indexing (omnisearch, dataview, obsidian query language, etc.) are not finished with what they’re doing – this freezing can be frightening for those who don’t know what’s going on behind the scenes…
Thank you for your experience and the information you provided. As I mentioned in my post, indexing in safe mode is indeed very fast, as you said. However, when exiting safe mode, indexing starts from scratch. Therefore, as you suggested, there is unfortunately no point in indexing with the plugins turned off.
In short, what you wrote does not provide a clear solution for the issue I’m experiencing. It’s not really feasible to disable the plugins one by one through trial and error when there are around 69 plugins. Even if I did this, the slow indexing issue caused by the plugin would persist because I wouldn’t be able to delete the plugin I’m using. I’m always open to alternative solution suggestions.
that shouldn’t happen
when obsidian has indexed the files and you’ve turned your plugins back on, you will need to work in your obsidian vault for a while – as mentioned in the thread i linked…
so the successful indexing needs to stick first – don’t ask me how that works internally, tho…
as i said indexing is minimal between synced sessions – unless you do mass search and replacements on one platform and then go to the other one
so unless you don’t manually remove the cache, the complete indexing should not normally be initiated by obsidian…
if this is forced, then you will be instructed by staff here to find the culprit yourself…
tips:
divide and conquer plugin is often recommended with helping finding the plugin at fault
go down to 5-10 must have plugins and slowly increase enabled plugins while monitoring app behaviour
I can’t tell you how much you’ve helped me. After your message, I decided to disable the plugins and try indexing again. I was even recording a screen video. After finishing the indexing, re-enabling the plugins, and restarting the application, guess what happened?
Voila! I encountered the “Index refreshed” message. I can’t describe how it felt to see that message without waiting for hours. I still can’t believe it. I hope it continues like this without any problems. So, I’m marking your response as “solved.”
As for the plugins, I disabled “Automatically reveal active file.” Banners v1.3.3 is working. I use it for my dashboard. Those interested can watch the video below. File Explorer Note Count v1.2.2 is also an indispensable plugin for me. I have many notes, and with that plugin, I can keep track of how many notes I have in each folder. I hope such a feature will be added to the core plugin as well.