Friday, June 15, 2007

All about Defrag the exchange database

Eseutil /D Defragmentation Mode

Eseutil's /D switch can be used to defragment and compact a database offline. The defragmentation option makes used storage contiguous, eliminates unused storage, and compacts the database thereby reducing the database's size.
Eseutil's /D switch can be used to defragment and compact a database. During typical operations, database files never shrink below their current size. As space in the database is freed by deletion of items, existing pages are reused where possible. Typically, a Microsoft® Exchange Server database will grow for several months after it is put in service, but eventually the database size stabilizes.
Under typical conditions, performing an offline defragmentation will not permanently recover significant disk space. The file will usually grow again to its previous un-defragmented size. Special circumstances, such as moving many mailboxes out of the database, may make it worthwhile to defragment the database offline. By default, during typical operation, the database is logically defragmented nightly. This does not reduce the size of the file on disk, but does make the database perform efficiently.
Note:
You can use the Eseutil utility to defragment the information store and directory in Microsoft Exchange Server 5.5 and to defragment the information store in Microsoft Exchange 2000 and newer versions.

How Does Eseutil Defrag Work?
When Eseutil defragments a database by eliminating unused storage and compacting the database, Eseutil actually creates a new database that contains all the information from the original database. When defragmentation is complete, the original database is deleted or saved to a user-specified location, and the new version is copied over the original. If the utility encounters a serious logical problem in the database, defragmentation stops. The database must then first be repaired with Eseutil /P before it can be defragmented.
When an offline defragmentation is performed, Exchange makes temporary copies of the database file (.edb file) and the streaming database file (.stm file). Tables from the .edb file are preserved and copied into the temporary database, but empty pages and indexes are discarded. Because this causes physical page numbers in the database to be changed, pages are not copied unaltered; the page links between them are all updated, and all pages left in the database undergo integrity checks. All pages in the .stm file that has information on them are preserved in the temporary .stm file, and references to the pages are updated in the .edb file.
How Long Does it Take to Defragment a Database?
The time length to complete defragmentation depends on how much of the database is empty, and not on the size of the database file. For example, defragmenting a 100 GB database that contains 10 GB of data takes about the same time as defragmenting an 11 GB database that contains 10 GB of data.
By default, after defragmentation is completed, the temporary database automatically becomes the new production database, and the original production database is deleted. The time that defragmentation takes can be significantly reduced if you have as much free space on the same logical drives as the size of the original database files. In this case, the temporary database can be put on the same logical drive, and the final copy will complete almost instantly.
We do not recommend that you use a network drive to hold the temporary database. When you use a network drive for the temporary database, defragmentation will take longer, and any transient or permanent network error will end the process. Because defragmentation cannot be resumed, you would have to start over from the beginning.
Note:
You only need as much extra logical drive disk space as the final size of the files after defragmentation. Although it is impossible to exactly predict how much disk space will be reclaimed, you should leave a recommended 110% of free disk drive space to be safe. For more information about how to determine the amount of disk space for defragmentation, see the Microsoft Knowledge Base article 195914, "Determining database free space with Exchange 5.5 Service Pack 1 and later versions of Exchange" (http://go.microsoft.com/fwlink/?linkid=3052&kbid=195914).

When to Run Eseutil /D?
There are several situations where it is appropriate to run Eseutil /D to defragment an Exchange database. The following includes a list of those situations:
· There is a significant amount of white space in the database that can be reclaimed and which will not be reused. An example can be when the number of mailboxes in the database has been significantly reduced.
· An event is repeatedly logged in the Application log advising you to defragment the database offline. This may occur rarely when typical online defragmentation is no longer able to efficiently defragment the database.
· When the 16 GB database size limit is reached on the Standard version of Exchange and white space must be reclaimed in order to mount the database. If you are running Exchange Server 2003, then Service Pack 2 (SP2) should be installed to raise the limit to 75 GB. For more information about increasing the database size limit, see Microsoft Knowledge Base article 828070, "Exchange Server 2003 mailbox store does not mount when the mailbox store database reaches the 16 GB limit" (http://go.microsoft.com/fwlink/?linkid=3052&kbid=828070).

Note:
After defragmenting the database using Eseutil, we recommend that you perform a full backup of the database. A full backup is needed because the database defragmentation creates new database files which have new database signatures. Log file replay after the restore depends on database signatures to match the expected values recorded in transaction log files. Any database backups that are taken before the defragmentation will contain database files that have signatures different from the new defragmented database. If an older database is restored, the new transaction logs which are bound to the new defragmented database files will not replay.

When not to Run Eseutil /D?
There are situations where it is not appropriate to run Eseutil /D to defragment an Exchange database. The following includes a list of those situations:
· Eseutil defrag should not be run as any kind of standard maintenance. Exchange runs an automatic online defragmentation nightly that handles the day-to-day maintenance of Exchange. There is no reason to periodically run an offline defragmentation unless special circumstances apply.
· Eseutil defrag cannot not be run when the database is not in a consistent state.
Note:
As a rule, unless you expect more than 20 percent of available space to be recovered, defragmentation will likely not cause permanent shrinkage of the database files.

63 comments:

Anonymous said...

If I had a database on a network drive would it create the temporary database on the network drive or the C: drive

Mamdouh Elnamla said...

No

Anonymous said...

Ahaa, its good discussion on the topic of this piece of writing at this
place at this webpage, I have read all that, so at this time me also commenting here.


my weblog raspberry ketone diet

Anonymous said...

Τhankѕ for shaгіng уouг thoughts about
owning a mobilе. Regаrԁs

Feel fгeе tο vіsit my web ѕite: darmowe bramki sms plus

Anonymous said...

Ηi there, You have ԁоne a grеаt job.
I will certaіnly dіgg it and рersonallу recοmmеnd to my frіends.

I'm confident they will be benefited from this website.

My web page ... bramka sms

Anonymous said...

You should be a part of a contest foг one of
the finest wеbsites on the net. Ӏ ωill highly
recommеnd this ωеb site!

Mу ωeb page: pt-etp.com

Anonymous said...

Тhanks іn supρort of sharіng such a gooԁ opinion, post is good, thatѕ why i
havе гead іt entiгely

Also ѵiѕit my wеbpagе :: bramka sms z plusa
My web site > bramka sms

Anonymous said...

I'll right away take hold of your rss as I can not to find your email subscription link or newsletter service. Do you've any?
Plеase allow me κnow so that I may just subsсribe.
Thаnks.

Μy web blog :: bramka sms play

Anonymous said...

It's not my first time to visit this site, i am visiting this web page dailly and take pleasant data from here every day.

My blog post; bramka sms

Anonymous said...

Hey thеre! Would yоu mind if Ι ѕharе your blоg with my zyngа
gгοuρ? There's a lot of people that I think would really enjoy your content. Please let me know. Many thanks

Here is my web site; findradiation.org

Anonymous said...

I must thank you for the еfforts you've put in writing this blog. I am hoping to check out the same high-grade content from you later on as well. In truth, your creative writing abilities has motivated me to get my very own website now ;)

my site :: bramka sms play

Anonymous said...

I have гeаd so manу articles or revіeωs cοncerning
the blοggег lovеrѕ hοweνег thіs piece of writing is гeally a fastidiοus post,
κеeρ it up.

Αlso visit my web-ѕite :: ideadvance.com

Anonymous said...

Hi, i think that i saw you visited my weblog thus i came to “return the favor”.

I'm trying to find things to improve my site!I suppose its ok to use some of your ideas!!

Have a look at my weblog ... activity calorie calculator

Anonymous said...

At this time it sounds like Movable Type is the best blogging platform
available right now. (from what I've read) Is that what you are using on your blog?

Feel free to visit my web blog ... tips on how to lose weight fast

Anonymous said...

Wonderful blog! I found it while browsing on Yahoo News.
Do you have any suggestions on how to get listed in Yahoo News?
I've been trying for a while but I never seem to get there! Appreciate it

Here is my web page simple research paper topics

Anonymous said...

Simply desire to say your article is as astonishing.
The clearness in your post is simply nice and i could
assume you're an expert on this subject. Well with your permission allow me to grab your feed to keep up to date with forthcoming post. Thanks a million and please keep up the enjoyable work.

my web page - samsung 80 inch tv

Anonymous said...

Pretty! This has been an incredibly wonderful article.
Thanks for providing this info.

Visit my blog post: persuasive research papers

Anonymous said...

Terrific work! That is the type of information that are supposed
to be shared around the web. Shame on Google for now not positioning this submit higher!

Come on over and consult with my web site . Thanks =)

Feel free to surf to my page - louisville white pages local

Anonymous said...

bookmarked!!, I really like your website!

my site; cartoon t shirts australia

Anonymous said...

Thanks for your personal marvelous posting! I really enjoyed reading
it, you're a great author. I will be sure to bookmark your blog and will come back from now on. I want to encourage yourself to continue your great writing, have a nice afternoon!

my blog - United States real estate directory

Anonymous said...

I was pretty pleased to find this page. I wanted to thank you for ones time for
this fantastic read!! I definitely loved every little bit of it and i also have you book-marked to
check out new stuff on your website.

Feel free to surf to my website; US real estate agents directory

Anonymous said...

Hi there to every one, the contents existing at this web page are really
remarkable for people knowledge, well, keep up the good work fellows.


Look at my webpage; local pages directory

Anonymous said...

Hello I am so happy I found your web site, I really found you by accident,
while I was browsing on Aol for something else, Regardless I am here
now and would just like to say cheers for a fantastic post and a all round
exciting blog (I also love the theme/design), I don’t have time to browse it all
at the moment but I have book-marked it and also added in your RSS feeds, so
when I have time I will be back to read much more, Please do keep up the great work.


Here is my blog post: examples of good research papers

Anonymous said...

Wow, awesome blog layout! How long have you been running a blog for?
you make running a blog glance easy. The whole glance of your site is
fantastic, as well as the content material!

Take a look at my web page; outline of research paper

Anonymous said...

continuously i used to read smaller posts that
as well clear their motive, and that is also happening with this article
which I am reading at this place.

Visit my site - local real estate listings

Anonymous said...

Great article. I'm dealing with some of these issues as well..

my site term paper tips

Anonymous said...

Useful information. Fortunate me I discovered your site by chance, and I'm stunned why this accident did not happened in advance! I bookmarked it.

Also visit my blog post; business directory companies house

Anonymous said...

Howdy! Do you know if they make any plugins to protect against hackers?
I'm kinda paranoid about losing everything I've worked hard on.
Any tips?

Here is my site - real estate

Anonymous said...

Greetings! This is my first visit to your blog! We are a group of volunteers
and starting a new project in a community in the same niche.
Your blog provided us valuable information to
work on. You have done a marvellous job!

my homepage; white pages business search

Anonymous said...

I like the valuable info you supply for your articles.
I'll bookmark your blog and check again right here regularly. I'm slightly certain I will learn many new stuff proper here!

Best of luck for the next!

Also visit my website: business

Anonymous said...

Thanks for sharing your thoughts. I really appreciate your efforts and I am
waiting for your next post thanks once again.

Feel free to surf to my web site ... cartoon t shirts for adults

Anonymous said...

Nice post. I used to be checking constantly
this weblog and I am inspired! Extremely helpful info specifically the closing section :) I care for such info a lot.
I was looking for this certain information for a very lengthy time.
Thank you and good luck.

Feel free to surf to my weblog conclusion of a research paper

Anonymous said...

Hello! I know this is kind of off topic but I was
wondering if you knew where I could get a
captcha plugin for my comment form? I'm using the same blog platform as yours and I'm having difficulty finding one?
Thanks a lot!

Here is my website - buy broken computers charlotte north carolina

Anonymous said...

Do you mind if I quote a few of your articles as long as I provide
credit and sources back to your blog? My website is in the exact same niche as yours and
my visitors would genuinely benefit from some of the information
you provide here. Please let me know if this ok with you. Many thanks!


Feel free to visit my web blog - apa format for research papers

Anonymous said...

Does your website have a contact page? I'm having problems locating it but, I'd like to
send you an e-mail. I've got some recommendations for your blog you might be interested in hearing. Either way, great website and I look forward to seeing it grow over time.

My weblog: research paper apa style

Anonymous said...

I read this post fully concerning the difference of most
recent and earlier technologies, it's remarkable article.

My blog buy thesis papers

Anonymous said...

I simply couldn't go away your website before suggesting that I really enjoyed the standard info an individual provide for your guests? Is going to be again continuously in order to check out new posts

Also visit my blog post :: good movie discussions

Anonymous said...

At this moment I am going away to do my breakfast, later than having my breakfast coming
over again to read other news.

My web-site :: localrealestate

Anonymous said...

It's nearly impossible to find experienced people on this subject, but you seem like you know what you're talking about!
Thanks

Also visit my page ... local directory company

Anonymous said...

each time i used to read smaller posts that also clear their motive, and that is also
happening with this article which I am reading now.


My blog ... charlotte nc buy computers

Anonymous said...

It's actually a cool and useful piece of info. I am glad that you shared this useful info with us. Please keep us informed like this. Thank you for sharing.

my web page; USA real estate agent directories

Anonymous said...

Article writing is also a fun, if you be acquainted with after that you can write otherwise it is difficult to write.


Also visit my homepage ... list of local directory listing

Anonymous said...

You've made some really good points there. I looked on the internet for additional information about the issue and found most individuals will go along with your views on this site.

Stop by my web-site ... essay thesis

Anonymous said...

I love what you guys tend to be up too. This type of clever work and exposure!
Keep up the fantastic works guys I've incorporated you guys to blogroll.

Also visit my website - local directory business

Anonymous said...

It is the best time to make a few plans for
the longer term and it is time to be happy.
I've learn this submit and if I may just I want to recommend you few attention-grabbing issues or tips. Perhaps you can write next articles relating to this article. I desire to learn even more issues about it!

My webpage :: examples of good research papers

Anonymous said...

Greetings from California! I'm bored to death at work so I decided to check out your website on my iphone during lunch break. I love the knowledge you present here and can't wait
to take a look when I get home. I'm amazed at how quick your blog loaded on my phone .. I'm not even using
WIFI, just 3G .. Anyways, excellent site!

Here is my web page; business local listings

Anonymous said...

Τhanks , I haѵе reсentlу been ѕeагching fοг information
about this topiс fοr a ωhile and yourѕ іs the greatest I've came upon till now. But, what concerning the bottom line? Are you certain about the supply?

Feel free to visit my webpage: diamondlinks review

Anonymous said...

I am in fact pleased to read this blog posts which carries plenty of
helpful information, thanks for providing these data.


Feel free to visit my weblog - local real estate listings

Anonymous said...

Hello There. I discovered your blog using msn. That is
a very neatly written article. I will make sure
to bookmark it and come back to learn extra of your useful info.
Thank you for the post. I will definitely comeback.


Visit my homepage; music research paper topics

Anonymous said...

I used to be recommended this website through my cousin.
I am no longer positive whether or not this post is
written via him as nobody else recognise such targeted about my difficulty.
You're wonderful! Thank you!

Feel free to surf to my webpage ... bisiness local

Anonymous said...

If you would like to increase your familiarity
simply keep visiting this web site and be updated with the most recent news posted here.


Here is my web site ... horror movie chats

Anonymous said...

Greetings I am so happy I found your web
site, I really found you by accident, while I was researching on
Google for something else, Anyhow I am here now and would
just like to say thank you for a remarkable post and a all round interesting blog (I also love the theme/design), I don’t have time to
look over it all at the moment but I have saved it and also added your RSS feeds, so when I have
time I will be back to read more, Please
do keep up the great jo.

Visit my web page film discussion materials education

Anonymous said...

I go to see everyday some web pages and information sites to read posts, except this
web site gives quality based posts.

Also visit my site :: computer repairs charlotte nc

Anonymous said...

It's going to be ending of mine day, but before end I am reading this great article to improve my knowledge.

Also visit my web-site; film chatri baray do nafar

Anonymous said...

My family every time say that I am killing my time here at web, however I know I am getting know-how all the time by reading thes pleasant articles.


my blog post :: company listings

Anonymous said...

When I originally commented I clicked the "Notify me when new comments are added" checkbox and now each time
a comment is added I get three e-mails with the same comment.
Is there any way you can remove people from that service?
Bless you!

Also visit my web blog: USA real estate directory

Anonymous said...

Fine way of telling, and good piece of writing to take facts regarding my presentation
focus, which i am going to convey in academy.

Stop by my webpage local directories

Anonymous said...

This is a really good tip particularly to those
fresh to the blogosphere. Simple but very accurate info… Appreciate your sharing this one.

A must read post!

My page :: anime t-shirts fred meyers

Anonymous said...

Please let me know if you're looking for a article writer for your site. You have some really good posts and I believe I would be a good asset. If you ever want to take some of the load off, I'd really like to write some content for your
blog in exchange for a link back to mine. Please shoot me an email if interested.
Thank you!

My blog post writers for research papers

Anonymous said...

Spot on with this write-up, I seriously believe that this website needs a great deal
more attention. I'll probably be back again to read through more, thanks for the information!

my weblog :: computer parts Charlotte

Anonymous said...

It's awesome for me to have a web page, which is helpful for my know-how. thanks admin

Look into my website: charlotte north carolina pc repair

Anonymous said...

You really make it seem so easy with your presentation but I find this matter to be really something which I think I
would never understand. It seems too complicated and extremely broad
for me. I am looking forward for your next post, I'll try to get the hang of it!

Take a look at my weblog; gaming t-shirts canada

Anonymous said...

Heya exceptional blog! Does running a blog like this take a large amount of work?
I have very little expertise in computer programming however I
had been hoping to start my own blog in the near future.
Anyways, if you have any suggestions or tips for new blog owners please share.
I know this is off topic nevertheless I simply wanted to ask.

Many thanks!

Feel free to surf to my blog :: real estate agents