Obsidian frequently gets stuck and slow down

My vault contains thousands of files, and I use obsidian sync. While I’m using it, it frequently gets stuck and slows down. For example, on my windows app, when I type a word, it will appear after 5 seconds. Sometimes a similar issue occurs on my iPhone app which is I can not type on it.

I’ve found a problem with typing lag. Try disabling your plug-ins and see what happens.

Should I disable it forever or just for a moment?