Defraggler with exchange sever

IT_Fanatic
IT_Fanatic used Ask the Experts™
on
Can I use Defraggler within a MS Exchange Server environment?
Comment
Watch Question

Do more with

Expert Office
EXPERT OFFICE® is a registered trademark of EXPERTS EXCHANGE®
tigermattSite Reliability Engineer
Most Valuable Expert 2011

Commented:

Yes, you can use defragging tools (taking into account the potential risks to your data, which, although small, there are still implications).

However, you should stop the Exchange Services, especially the Information Store service, to dismount the databases prior to commencing the operation. This ensures you won't floor the disks with I/O requests from both the defrag tool and Exchange. Those services - and therefore, your entire mail provision on that server - should be offline for the entire defrag operation.

-Matt

Author

Commented:
Does he exchange server really need to be defragged? Or it's unecessary?
nashim khanExchange Administrator

Commented:
Defraggler  is used to defragment individual files and folders not for the exchange database. Please follow this below articles :-
http://www.windowsreference.com/free-utilities/defraggler-defragment-individual-files-and-folders/
Andrew Hancock (VMware vExpert / EE Fellow)VMware and Virtualization Consultant
Fellow 2018
Expert of the Year 2017

Commented:
If you want tol Defragment your Exchange Database, take a look at Lucid8 GoExchange

Accelerate Performance: Databases are re-indexed and defragmented to permanently remove white space and deleted items. The end result is increased performance and stability with a compact, efficient database     that's reduced in size by 30-55% and up to 90% or more when used in conjunction with an archiving solution.

Source
http://www.lucid8.com/product/preventative.asp

If you want to increase performance and prevent disks becoming fragmented take a look a trial Diskepper.

Diskeeper® data performance technology keeps systems free of fragmentation and delivers critical site-wide system efficiency automatically and cost effectively. Significantly increase the speed and reliability of even the busiest and most mission critical laptops, workstations, servers and enterprise servers – and make your budget go much further.
Source
http://www.diskeeper.com/products/business-windows/

Author

Commented:
My exchange server is a VM on hyper-v. Will compressing that VHD to get my free space back hurt the exchange server? I do it all the time on the file server with no problems. Want to see if this will also work with exchange server.
Site Reliability Engineer
Most Valuable Expert 2011
Commented:

Depends what type of 'defragging' you are talking about, as there are many.

If you are reclaiming space in the VHDs, then no, no harm beyond the usual risk involved in messing with VHD files, but you will need to take the VM down, which will cause downtime. If you don't NEED to reclaim that disk space, then there's zero risk in just leaving a working system be. Future data added to the VHD will simply use that free space anyway. However, if you do need to reclaim it, you can do so.

If you are talking about running a defrag tool within the Exchange Server (either the built-in Windows tool or another), it's unlikely that you need to. I rarely, if ever, defrag a server.

When it comes to 'defragging' the actual Exchange database (EDB) files, bear in mind all EDB files run with some whitespace when data is deleted from the file but the file is not shrunk; that whitespace will be used up later by incoming data. Unless there is a disproportionate amount of whitespace in the EDB files AND you desperately need that space back, you should not be running offline defrag operations on the EDB files. An offline defrag of an Exchange database is not a routine operation. Further, in Exchange 2003 Enterprise or any version of 2007 or 2010, you can simply create a new database, move the mailboxes over and delete the old to recover the whitespace. Zero risk, zero downtime, and no need for expenditure on third party tools.

-Matt
I agree with Matt on above....why would you want to defrag when you can move the mailboxes to a new database and get rid off the old one which has the whitespace.  Limited downtime, zero risk.
- Habz

Author

Commented:
Thanks guys Ill give that a shot.

Do more with

Expert Office
Submit tech questions to Ask the Experts™ at any time to receive solutions, advice, and new ideas from leading industry professionals.

Start 7-Day Free Trial