# Slow performance with large Vaults

**URL:** <https://forum.obsidian.md/t/slow-performance-with-large-vaults/16633>\
**Category:** Bug graveyard\
**Tags:** performance, tracked\
**Created:** [April 16, 2021, 5:20pm UTC](https://forum.obsidian.md/t/slow-performance-with-large-vaults/16633 "2021-04-16T17:20:26Z")\
**Posts on this page:** 12\
**Page:** 1

<div class="post-metadata">

**Author:** ![oleggera](https://forum.obsidian.md/letter_avatar_proxy/v4/letter/o/e480ec/32.png) [@oleggera](https://forum.obsidian.md/u/oleggera)\
**Post date:** [April 16, 2021, 5:20pm UTC](https://forum.obsidian.md/t/slow-performance-with-large-vaults/16633/1 "2021-04-16T17:20:26Z")

</div>

The notes selector (when you start typing between `[[]]`) is very slow for large vaults.

It takes 4 seconds between each letter when you type the name of a note you want to link.

For example, I start with `[[]]` the selector popup shows straight away. When I type the letter `h` (`[[h]]`) it takes 4 seconds to show the filtered notes. When I add another letter `e` (`[[he]]`) it takes another 4 seconds, another 4 seconds for `hel`, etc etc. If you type `hello` straight away without waiting for the first set of results it’s still 4 seconds.

Most of the time it’s ok as I know how the note is called, it’s quite frustrating to wait for the results if I don’t know the name of the note.

I currently have 40k files (1.3k markdown files, the rest is random - zip, pdf, images, videos, etc), total size is ~70GB, ~6k directories, some can be 5-7 levels deep.

Basically, I’ve put a Vault at the root of my Dropbox folder as it makes it easier to link different project assets I’m working on.

I’m on macOS, SSD, M1, Obsidian version: v0.11.13

---

<div class="post-metadata">

**Author:** ![WhiteNoise](https://forum.obsidian.md/user_avatar/forum.obsidian.md/whitenoise/32/11_2.png) [@WhiteNoise](https://forum.obsidian.md/u/WhiteNoise)\
**Post date:** [April 16, 2021, 5:29pm UTC](https://forum.obsidian.md/t/slow-performance-with-large-vaults/16633/2 "2021-04-16T17:29:41Z")

</div>

Did you enable unsupported files too?

Has obsdian done indexing your vault?  
(Is obsidian using cpu time while apperently you are not doing anything)?

---

<div class="post-metadata">

**Author:** ![oleggera](https://forum.obsidian.md/letter_avatar_proxy/v4/letter/o/e480ec/32.png) [@oleggera](https://forum.obsidian.md/u/oleggera)\
**Post date:** [April 16, 2021, 5:54pm UTC](https://forum.obsidian.md/t/slow-performance-with-large-vaults/16633/3 "2021-04-16T17:54:46Z")

</div>

I’m not sure where I can find this option - `unsupported files`, tried finding it in settings now, but can’t see it anywhere.

Yeah, it’s completed indexing a long time ago. CPU is less than 1%.

---

<div class="post-metadata">

**Author:** ![WhiteNoise](https://forum.obsidian.md/user_avatar/forum.obsidian.md/whitenoise/32/11_2.png) [@WhiteNoise](https://forum.obsidian.md/u/WhiteNoise)\
**Post date:** [April 16, 2021, 5:55pm UTC](https://forum.obsidian.md/t/slow-performance-with-large-vaults/16633/4 "2021-04-16T17:55:48Z")

</div>

Settings\>File & Links\>Detect all file extentions

---

<div class="post-metadata">

**Author:** ![oleggera](https://forum.obsidian.md/letter_avatar_proxy/v4/letter/o/e480ec/32.png) [@oleggera](https://forum.obsidian.md/u/oleggera)\
**Post date:** [April 16, 2021, 5:57pm UTC](https://forum.obsidian.md/t/slow-performance-with-large-vaults/16633/5 "2021-04-16T17:57:17Z")

</div>

It’s disabled

---

<div class="post-metadata">

**Author:** ![WhiteNoise](https://forum.obsidian.md/user_avatar/forum.obsidian.md/whitenoise/32/11_2.png) [@WhiteNoise](https://forum.obsidian.md/u/WhiteNoise)\
**Post date:** [April 16, 2021, 6:33pm UTC](https://forum.obsidian.md/t/slow-performance-with-large-vaults/16633/6 "2021-04-16T18:33:23Z")

</div>

I have tested with 20k vault and there is a tad slowdown but defintely not 4 sec.  
It takes a while to index, so not sure if you are really done.

Also I don’t know if you are using some thirdparty plugins that may cause some further slowdowns.

Is the file switcher cmd-o also slow?

---

<div class="post-metadata">

**Author:** ![WhiteNoise](https://forum.obsidian.md/user_avatar/forum.obsidian.md/whitenoise/32/11_2.png) [@WhiteNoise](https://forum.obsidian.md/u/WhiteNoise)\
**Post date:** [April 16, 2021, 6:43pm UTC](https://forum.obsidian.md/t/slow-performance-with-large-vaults/16633/7 "2021-04-16T18:43:42Z")

</div>

IF you still can’t figure out the problem, would you please take a performance snapshot using the developer tools (performance tab) and send it to licat on discord as a zip?

Click the circle button to start recording, do something that you would expect doesn’t lag, wait until it responds again, then click the circle to stop. Then use the arrow down button to save the snapshot and zip the file to make it smaller.

---

<div class="post-metadata">

**Author:** ![pjeby](https://forum.obsidian.md/user_avatar/forum.obsidian.md/pjeby/32/8080_2.png) [@pjeby](https://forum.obsidian.md/u/pjeby)\
**Post date:** [April 16, 2021, 6:53pm UTC](https://forum.obsidian.md/t/slow-performance-with-large-vaults/16633/8 "2021-04-16T18:53:19Z")

</div>

I don’t have anywhere near as large a vault (about 2700 notes, maybe 3000 files total), but the suggestion popup has a nearly 2 second delay from when I stop typing to when it updates. This delay does _not_ occur in the quick switcher, which has no perceptible delay at all.

This issue is also relatively recent, i.e. since 0.11.13 went public (I believe I was on 0.11.9 before). For me, it very much appears to be a debouncing issue rather than an actual search delay.

---

<div class="post-metadata">

**Author:** ![oleggera](https://forum.obsidian.md/letter_avatar_proxy/v4/letter/o/e480ec/32.png) [@oleggera](https://forum.obsidian.md/u/oleggera)\
**Post date:** [April 16, 2021, 7:14pm UTC](https://forum.obsidian.md/t/slow-performance-with-large-vaults/16633/9 "2021-04-16T19:14:26Z")

</div>

I’m sure it’s done indexing as I’ve enabled vault on the Dropbox root almost a month ago, didn’t post before as it’s an annoyance, but not a show stopper.

quick-switch is a bit quicker, but it actually has a UI lag too, i.e. if I type `hello`, first it shows `h` and then hangs for 2-3 seconds.

I’ll take the performance snapshot now.

Thanks for your help.

---

<div class="post-metadata">

**Author:** ![WhiteNoise](https://forum.obsidian.md/user_avatar/forum.obsidian.md/whitenoise/32/11_2.png) [@WhiteNoise](https://forum.obsidian.md/u/WhiteNoise)\
**Post date:** [April 18, 2021, 12:17am UTC](https://forum.obsidian.md/t/slow-performance-with-large-vaults/16633/10 "2021-04-18T00:17:22Z")

</div>

@licat will add a change to addess your problem in 0.12

---

<div class="post-metadata">

**Author:** ![system](https://forum.obsidian.md/uploads/default/original/3X/b/e/bec35fbd23ab28909bb6bfe62cb32eb82dd34019.png) [@system](https://forum.obsidian.md/u/system)\
**Post date:** [April 19, 2021, 12:17am UTC](https://forum.obsidian.md/t/slow-performance-with-large-vaults/16633/11 "2021-04-19T00:17:34Z")

</div>

Closed on April 19, 2021, 12:17am UTC

This topic was automatically closed 24 hours after the last reply. New replies are no longer allowed.

---

<div class="post-metadata">

**Author:** ![WhiteNoise](https://forum.obsidian.md/user_avatar/forum.obsidian.md/whitenoise/32/11_2.png) [@WhiteNoise](https://forum.obsidian.md/u/WhiteNoise)\
**Post date:** [October 13, 2022, 4:10pm UTC](https://forum.obsidian.md/t/slow-performance-with-large-vaults/16633/12 "2022-10-13T16:10:19Z")

</div>

Archived on October 13, 2022, 4:10pm UTC


