Solved

Defrag Index EDB - Windows Server 2012 R2

Posted on 2016-08-26
3
185 Views
Last Modified: 2016-08-30
Dear Experts

Is it possible to defrag the windows.edb that is used by the search index in Server 2012 R2?

The index on my RDS 2012 R2 server is growing out of control.

We have tried this but it does not work:

Amend registry value

Name : CoreCount
Type : DWORD
Value : 1
Location : HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows Search

It appears to be a bug in 2012 R2.
0
Comment
Question by:TTAF4
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
3 Comments
 
LVL 43

Accepted Solution

by:
Davis McCarn earned 250 total points
ID: 41772859
1
 
LVL 18

Assisted Solution

by:Mike T
Mike T earned 250 total points
ID: 41772929
Hi,

I agree with David above. The best I would suggest is if you really must use it on RDS, enable it and monitor the EDB file, and when it gets to a threshold, turn it off, which I believe deletes the EDB, but if not, just do it yourself, and then re-enable it.

There is a long-ish article that details compacting it or defragging it when it gets to big:

http://winaero.com/blog/fix-windows-search-fills-your-hard-drive-with-a-large-edb-file/

Mike
1
 

Author Comment

by:TTAF4
ID: 41777554
Thank guys. Really really appreciate it.

Defragmenting the index DB took it down from 96GB to 10gb.
0

Featured Post

Visualize your virtual and backup environments

Create well-organized and polished visualizations of your virtual and backup environments when planning VMware vSphere, Microsoft Hyper-V or Veeam deployments. It helps you to gain better visibility and valuable business insights.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

The article will show you how you can maintain a simple logfile of all Startup and Shutdown events on Windows servers and desktops with PowerShell. The script can be easily adapted into doing more like gracefully silencing/updating your monitoring s…
The reason that corporations and businesses use Windows servers is because it supports custom modifications to adapt to the business and what it needs. Most individual users won’t need such powerful options. Here I’ll explain how you can enable Wind…
This tutorial will walk an individual through the process of transferring the five major, necessary Active Directory Roles, commonly referred to as the FSMO roles from a Windows Server 2008 domain controller to a Windows Server 2012 domain controlle…
This tutorial will walk an individual through the process of installing the necessary services and then configuring a Windows Server 2012 system as an iSCSI target. To install the necessary roles, go to Server Manager, and select Add Roles and Featu…

739 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question