Home > Wiki Tips

What Is Mds_stores on Mac & Fix Mds_stores High CPU Usage

Updated on Wednesday, December 11, 2024

iBoysoft author Connie Yang

Written by

Connie Yang
Professional tech editor

Approved by

Jessica Shee

English Deutsch

Summary: This post explains the mds_stores on your Mac, the reasons why it takes up so much CPU on your Mac, and workarounds to reduce the high CPU usage of mds_stores. Also, it also tells you how to stop mds_stores on Mac and if it is necessary to do so.

mds stores on Mac

You go to Activity Monitor for a check as the Mac Spotlight Search not working, your Mac suddenly runs slowly with an annoying fan noise or even freezes from time to time. The processes named mds_stores and mds which consume over 30% or higher CPU utilization catch your attention.

If you are curious about what the mds_stores is on your Mac, follow this post. This article is here to explain the mds_stores on your Mac and how to fix the mds_stores process with high CPU consumption.

What is mds_stores on Mac?

The mds and mds_stores are both the built-in indexing processes of Mac Spotlight Search. You can find them in Mac Activity Monitor. The mds is the abbreviation of the metadata server. It is the process that the macOS Spotlight uses to track and record the data of documents, apps, and other files on your Mac for later searching. And mds_stores maintains and compiles the metadata collected by mds to speed up the search process of Spotlight.

With the process mds_stores, you can get quick search results. Every time you open Spotlight and type the keywords of what you want to access in the Search box, it returns you a list of recommendations. These recommendations are just indexed by mds, mds_stores, mdsync, and mdworker processes.

what is mds stores on Mac in Activity Monitor

Go to tell more people what the mds_stores is on Mac.

 

Why does mds_stores take up high CPU usage on Mac?

Spotlight uses the mds_stores process to keep the indexed metadata of the files on your Mac and is ready for your search. That is why some users say that mds_stores stays active while no indexing is going on.

If you constantly add, edit, move, or delete some of the contents on your Mac, mds_stores will consume more CPU to maintain tracks on these changes. And the more data you've changed, the more CUP usage that mds_stores will eat up.

So, we can see that mds_stores occupies high CPU usage on Mac usually because:

  • There is a large amount of content on your Mac.
  • The constantly changing (addition or deletion) on the vast files on your Mac.

Besides, the system bugs and interference of some third-party software can also lead to mds_stores sucking up a large proportion of the CPU.

How to fix mds_stores high CPU usage on Mac?

If you find the mds_stores constantly overusing CPU in Activity Monitor and your Mac goes sluggish or the fan in your Mac has a rumbling sound, you can reduce the high consumption of mds_stores to bring your Mac machine to the best state.

 Note: Not only mds_stores, but other processes that occupy a high CPU can also lead to your Mac running slow. So, you also need to check and fix other processes in Activity Monitor like the kernel_task takes up a high CPU.

To reduce the high CPU consumption of mds_stores on macOS and other versions, follow these ways:

Wait for mds_stores to finish indexing

If the Spotlight is indexing data on your Mac, the mds and mds_stores will cost a relatively high CPU at that duration. That usually happens the time after you transfer many files to your Mac or connect an external storage device storing a large number of files to your Mac, the Spotlight will start to index these files.

So, you just need to wait for the mds_stores out indexing. And that may last from 15 minutes to 45 minutes while the definite time depends on the changes you make on your Mac.

Restart Mac

If you don't want to wait a long time to let the mds_stores finish indexing, or you haven't made great changes on your Mac but the mds_stores still takes up a high CPU, you can simply restart your Mac. Restarting Mac can refresh macOS and enable all the ongoing programs to return to the default state. This is the simplest way to lower the CPU usage of mds_stores and fix your sluggish Mac with a loud noise.

Reduce the Spotlight indexing data

By default, the system allows all the categories of files listed in Spotlight preferences and files in all locations on your Mac to be indexed and show up in Spotlight search results. Therefore, if your Mac stores a huge amount of files and folders, the task of Spotlight indexing is heavy. So do the mds and mds_stores.

To relieve the high CPU occupation rate of mds_stores, you can exclude certain types of files that you don't want Spotlight to search for. Also, you can rebuild the privacy to stop Spotlight from indexing and searching files in some locations, like the Downloads folder and external storage devices.

Here's how to reduce the Spotlight indexing data:

  1. Open the Apple menu > System Preferences > Spotlight. 
    open Spotlight preferences on Mac
  2. Under the Search Results section, uncheck the categories that you don't want to appear in the Spotlight search results. 
    uncheck the file types to exclude them from Spotlight searching
  3. Move to the Privacy section on the pane and then click the + icon at the bottom. Then, select the folders that you prevent Spotlight from searching and click Choose to add them. 
    exclude the locations from Spotlight searching

Uninstall third-party apps that use mds_stores

There are some third-party apps that utilize the indexing function of macOS Spotlight - mds and mds_stores to accomplish their tasks. So, some of you may notice that even if you don't use the Spotlight, the mds_stores still eats up a high CPU.

You can try to uninstall the recently installed third-party apps, especially those downloaded outside of the App Store with the feature of scanning your Mac hard drive. Then, restart your Mac and check if the CPU consumption of mds_stores becomes lower.

Relaunch Spotlight

If reducing numerous files can't fix the mds_stores with high CPU consumption issue, you can try to restart Spotlight.

Firstly, disable Spotlight on your Mac:

  1. Open Terminal on your Mac. (Launchpad > Other).
  2. Copy and paste the following command and press Return.sudo launchctl unload -w/System/Library/LaunchDaemons/com.apple.metadata.mds.plist
  3. Enter your admin password if needed and hit Return.

disable mds stores on Mac with Terminal

Now, restart your Mac and go to Activity Monitor. You will find that mds_stores doesn't show up there. After waiting for a moment, go back to restart Spotlight.

To relaunch Spotlight:

  1. Open Terminal.
  2. Enter the command below and then hit Return.sudo launchctl -w/System/Library/LaunchDaemons/com.apple.metadata.mds.plist
  3. Enter your admin password and press Return.

Restart your Mac and continue to use your computer for a period of time, then check if the CPU usage of mds_stores returns to a high proportion.

Turn off Spotlight on Mac

If none of the above solutions help reduce the high CPU usage of mds_stores on your Mac, the last chance you can try is to disable Spotlight on Mac. That can effectively release the CPU resources that mds_stores takes up. But the disadvantage is that without Spotlight, you can't quickly locate and open the files and apps on your Mac. 

If your Mac doesn't store so many files and you don't have the habit of searching for something with Spotlight, you can turn off it.

  1. Open Terminal in Launchpad.
  2. Run the following command in Terminal.sudo mdutil -a -i off
  3. Type your admin password and press Return.
    completely turn off mds stores on Mac
  4. Restart your Mac.

If you want to use Spotlight later, you can run sudo mdutil -a -i on in the Terminal to turn it on again.

If the above methods help you fix the high CPU usage of mds_stores on Mac, go to share with more users.

 

How to stop mds_stores on Mac?

You may discover that you can't quit mds_stores by clicking the close button on the Activity Monitor window. That's because the Spotlight is still on. The indexing feature of it, including mds, mds_stores, and mdworker, keeps working.

Therefore, if you want to stop mds_stores on your Mac, you need to turn off Spotlight.

Here's how:

  1. Launch Terminal and enter the following command.sudo mdutil -a -i off
  2. Type your admin password and hit Return.
  3. Close the Terminal and restart your Mac.

Then, go to Activity Monitor, and you can find that the mds_stores process doesn't show up there.

What you may be interested in:

• What is Coreduetd on Mac?

• What is the Bird process on Mac and how to fix its high CPU usage?

• What are mdworker_shared, mdworker & mds|Fix High CPU Usage

• What is IMDPersistenceAgent |Fix IMDPersistenceAgent High CPU Usage

People Also Ask

Read More Questions