Defrag Index EDB - Windows Server 2012 R2

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.
TTAF4Asked:
Who is Participating?

Improve company productivity with a Business Account.Sign Up

x
 
Davis McCarnConnect With a Mentor OwnerCommented:
1
 
Mike TConnect With a Mentor Leading EngineerCommented:
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
 
TTAF4Author Commented:
Thank guys. Really really appreciate it.

Defragmenting the index DB took it down from 96GB to 10gb.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.