Tech News Today
  • Hardware
    • Motherboards
    • CPUs
    • Graphic Cards
    • RAM
    • SSDs
    • Computer Cases
    • Monitors
    • Peripherals
    • Power Supply Unit
    • PC Builds
    • Computer Tips
  • Software
  • Operating System
    • Windows
    • Mac
    • Linux
  • Gaming
  • Mobile
  • Console
  • More
    • Internet
    • Networking
    • Security
    • Buyer’s Guide
    • Gadgets
    • Laptops
    • Reviews
    • How To
    • News
Facebook Twitter Instagram
Tech News Today
  • Hardware
    • Motherboards
    • CPUs
    • Graphic Cards
    • RAM
    • SSDs
    • Computer Cases
    • Monitors
    • Peripherals
    • Power Supply Unit
    • PC Builds
    • Computer Tips
  • Software
  • Operating System
    • Windows
    • Mac
    • Linux
  • Gaming
  • Mobile
  • Console
  • More
    • Internet
    • Networking
    • Security
    • Buyer’s Guide
    • Gadgets
    • Laptops
    • Reviews
    • How To
    • News
Tech News Today
Home»Mac»What is mds_stores on Mac? Why Does It Have High CPU Usage

What is mds_stores on Mac? Why Does It Have High CPU Usage

utkarshaBy utkarshaDecember 15, 2022
mds_stores

The mds_stores process on a Mac can sometimes take up a significant amount of CPU percentage. When this happens, your system will gradually start to slow down, overheat and operate inefficiently.

Mds_store is the core indexing process of the macOS. On normal days, it usually takes up a noticeable amount of CPU. However, when you reinstall your OS or add new files/directories, your system will automatically start to reindex these new databases, which sees the mds_stores CPU usage skyrocket.

Table of Contents

  • Why Does mds_stores Have High CPU Usage?
  • How to Fix the High CPU Usage?
    • Restart the Spotlight Service
    • Disable Spotlight
    • Prevent Spotlight From Indexing Unnecessary Files
    • Re-index Your Database
    • Uninstall Other Applications That Use the mds_stores Process
    • Scan for Viruses

Why Does mds_stores Have High CPU Usage?

The macOS Spotlight feature makes use of two processes for indexing the system database; mds and mds_stores. The mds (Metadata Server) process is responsible for tracking and recording files and folders in your operating system. mds_stores then compiles and manages these mds metadata, which Spotlight later uses for searching certain documents within your OS.

These indexing and reindexing processes generally contribute to higher CPU usage than normal. Other than this, a corrupted database and virus attacks can also increase the mds_stores CPU percentage.

How to Fix the High CPU Usage?

The first thing to do after your CPU usage spikes would be to restart your system. This will prevent any OS bugs and glitches from impacting your system workflow. Then, follow the steps shown below.

Restart the Spotlight Service

If you refresh mds_stores, it can fix the abnormally high CPU usage. Since mds_stores is a part of the macOS Spotlight, you can refresh this process by restarting the Spotlight service. You can do so by executing certain commands on the terminal.

  1. Press Command + Space to open Spotlight.
    spotlight-search-on-mac
  2. Go to Terminal.
  3. Enter the following command:
    sudo launchctl unload -w/System/Library/LaunchDaemons/com.apple.metadata.mds.plist
    unload
  4. Enter your login password if prompted.
  5. Again, type and enter these commands:
    sudo launchctl -w/System/Library/LaunchDaemons/com.apple.metadata.mds.plist
    load
  6. Enter password if prompted.
  7. When everything’s done, type exit to exit the terminal.

Disable Spotlight

The mds_stores process starts up automatically as soon as your computer boots up. You cannot disable it from doing so, and you will not be able to manually quit it as well. However, if you disable Spotlight, mds_stores will stop its processing, returning the CPU percentage to a normal value.

  1. Open Finder.
  2. Select Applications from the left sidebar.
  3. Open Utilities Folder.  
  4. Go to Terminal. 
    app-terminal
  5. Enter the following command to disable Spotlight:
    sudo mdutil -a -i off
    disable-spotlight
  6. Enter your login password if prompted.
  7. Type exit to exit the terminal.

However, after you follow this method, you’ll not be able to search your OS through Spotlight. The Finder search bar can also provide a convenient way for you to search and access your files.

But, if you want to, you can re-enable Spotlight by running this command:
sudo mdutil -a -i on

Prevent Spotlight From Indexing Unnecessary Files

When you request Spotlight to index the entire system database, mds_stores will take a longer period of time to process the request.

You can limit which directories the Spotlight can access through its preference menu. So, when you prevent Spotlight from accessing unnecessary files and folders, mds_stores will process the indexing at a faster rate while consuming comparatively less CPU.

  1. Open Finder.
  2. Click Apple > System Preferences on the menu bar.
    system-preferences
  3. Select Spotlight.
  4. Go to the Privacy section.
  5. Here, click on the ‘+’ sign to add new folders to the restricted list. When you add a folder to this list, Spotlight cannot access it.
    spotlight-privacy
  6. Add related folders/directories.
  7. Restart your computer.

Re-index Your Database

If mds_stores is still taking a large amount of CPU percentage, chances are, your system database is corrupted. To counter this, you can delete the entire Spotlight database and redex it again. This will fix any invalid and corrupt index data.

  1. Open Finder.
  2. Select Applications from the left sidebar.
  3. Open Utilities Folder.
  4. Go to Terminal.
    app-terminal
  5. Enter the following command to delete your Spotlight database:
    sudo rm -rf /.Spotlight-V100/*
    remove-spotlight-db
  6. Enter your login password if prompted.
  7. Type exit to exit the terminal.
  8. Now, when you restart your computer, the system will automatically start the re-indexing process.

Uninstall Other Applications That Use the mds_stores Process

Other third-party applications can also use the mds_stores process. Applications that have a built-in search feature usually rely on this process for indexing the required data. So, if you delete such third-party apps from your computer, it will decrease mds_stores’ workload and also reduce its CPU usage simultaneously.

  1. Open Finder.
  2. Select Applications from the sidebar.
  3. Right-click on a related app and Move to Bin.
    move-to-bin
  4. Then, hover over the dock, right-click on the Recycle Bin, and Empty Bin.
    empty-bin-1  

Scan for Viruses

Virus and malware attacks can cause your system to behave abnormally. If your computer is a victim of such attacks, the mds_stores might respond irregularly as well.

So, if there are any suspicious apps on your system, we recommend you delete them as soon as possible. Furthermore, it’s favorable if you perform a full system scan to counter and remove any signs of viruses and malware. To do this, you have to install an antivirus and scan your system with that antivirus.

how-to
utkarsha

Utkarsha is a tech writer who specializes in writing about macOS. He has been using the platform since its earliest days, and has written extensively about its various iterations. He also enjoys watching movies and traveling.

Related Posts

how-to-extend-display-on-mac-1

How to Extend Display on macOS

December 26, 2022
how-to-zoom-out-on-mac

How to Zoom Out on Mac

December 26, 2022
batch-rename-files-mac

How to Batch Rename Files on Mac

December 22, 2022
how-to-airplay-from-iphone-to-mac

How to Airplay From iPhone to Mac

December 21, 2022
how-to-add-printer-to-mac

How to Add Printer to Mac

December 20, 2022
transfer-file-between-iphone-and-mac-1

How to Transfer File Between iPhone and Mac

December 19, 2022
Add A Comment

Leave A Reply Cancel Reply

Latest Posts
how long does a cmos battery last

How Long Does a CMOS Battery Last

January 25, 2023
thunderbolt vs usb c

Thunderbolt Vs USB C: What’s the Difference

January 25, 2023
how to find hidden folder in laptop

How to Find Hidden Folder in Laptop

January 24, 2023
You may also like
how-to-connect-headphones-to-tv

5 Ways to Connect Headphones to TV

January 29, 2023
connect-airpods-to-samsung-tv

How to Connect AirPods to Samsung TV? (Step-by-Step Guide)

January 29, 2023
AIO Pump Not Working

AIO Pump Not Working? Here’s How to Fix It

January 29, 2023
Recommended
Cookie Clicker Garden Guide

Cookie Clicker Garden Guide to Unlocking Every Seed

September 26, 2021
monitor no signal

Computer Turns On But Monitor Says No Signal (9 Ways To Fix)

November 10, 2022
Facebook Twitter Pinterest
  • Home
  • About Us
  • Our Team
  • Editorial Guidelines
  • Privacy Policy
  • Affiliate Disclosure
© 2023 TechNewsToday.

Type above and press Enter to search. Press Esc to cancel.