Solved

Defragmentation of Exchange Database

Posted on 2013-11-17
10
252 Views
Last Modified: 2013-12-09
We have two Exchange Server 2010 SP2 which are members of DAG and contains HUB, Client Access & Mailbox roles. Currently one database  is reaches to 700 GB which causes space issue as well back up issue.

How we can reduce database size...need guidance to overcome this issue.
0
Comment
Question by:sanjayambre
  • 4
  • 2
  • 2
10 Comments
 
LVL 35

Expert Comment

by:Mahesh
ID: 39654689
If you have additional disk space \ disk, then probably u can create new mailbox database and start moving mailboxes there to reduce its size and backup problem as well
Alternatively you can defragment
check below post
http://exchangeserverpro.com/defrag-exchange-2010-mailbox-database/
0
 

Author Comment

by:sanjayambre
ID: 39654814
We started to move mailboxes but database size is remain same due to white space. Is there any calculation how much time will take to defragment database (700 GB).
0
 
LVL 35

Expert Comment

by:Mahesh
ID: 39654825
Basically, you need to create new database and need to move all mailboxes to new databases
Later on original database need to wiped out
This process will recover white space and keep new database compacted.
Also you don't required downtime during mailbox movement probably since you are running Exchange 2010 version
Defragmentation is the process where you take the database offline and this process will take too much time to defragment 700 GB data
Not sure exact time, but may take more than24 HRS
Thanks
0
 
LVL 63

Assisted Solution

by:Simon Butler (Sembee)
Simon Butler (Sembee) earned 83 total points
ID: 39656351
You cannot defrag a database with a DAG involved.
Therefore your only options are to move the data around. You could break the DAG and then defrag the single copy. You would then have to completely reseed the database. That is going to take some time.

Your best option is to create new databases, completely replacing what you have. Seed those new smaller databases across.

Simon.
0
Want to promote your upcoming event?

Attending an event? Speaking at a conference? Or exhibiting at a trade show? Easily inform your contacts by using a promotional banner in your email signature. This will ensure your organization’s most important contacts are in the know.

 
LVL 35

Assisted Solution

by:Mahesh
Mahesh earned 167 total points
ID: 39656505
You can offline defragment DAG databases but Its to much time consuming and require complete database re-seeding
Please check below article for offline DAG defragmentation.
http://blogs.technet.com/b/rmilne/archive/2013/08/23/offline-defrag-and-dag-databases_2c00_-oh-my_2100_.aspx
0
 
LVL 63

Expert Comment

by:Simon Butler (Sembee)
ID: 39656925
That is basically the same thing as I said, just without breaking the DAG. Either way a full reseed is involved.
I haven't done an offline defrag since Exchange 2007 was released. It isn't risk free and requires too much downtime. Just move everything in to new databases.

Simon.
0
 

Author Comment

by:sanjayambre
ID: 39671629
Database size reaches to 700 GB and observed that there is no limit set on mailbox size. some MAC users have more than 20 GB mailbox size.

Can mailbox size effect on performance on mailbox server. what is defualt size of per mailbox.
0
 
LVL 35

Accepted Solution

by:
Mahesh earned 167 total points
ID: 39671664
Whatever limit you have set on mailbox database level in organization configuraion\database properties is the actual default size for all mailboxes in that database.
Please check there what size you have set.If nothing is there, it means it is unlimited Quota.

In your case that default limit checkbox is unchecked or set manually on mailboxes to some higher value causing default database size limit is overwritten.

Run below cmdlet on exchange server to find out how many users are not obeying the database default limit.
get-mailbox -filter { usedatabasequotadefaults -eq $false -AND recipientTypeDetails -eq 'usermailbox'  }
[PS] C:\>Get-MailboxDatabase "Mailbox Database 1" | Get-MailboxStatistics | Sort totalitemsize -desc | Export-CSV C:\mailboxes.csv
This will give you idea...
http://www.evanhoffman.com/evan/2010/10/12/changing-all-exchange-mailboxes-to-use-database-defaults-for-quota-limits-with-powershell/
http://exchangeserverpro.com/browsing-mailbox-databases-in-exchange-2007-and-2010/

If you wanted to set limit on database size or default limit on mailboxes, then you must 1st archieve those hugh mailboxes contents and bring them within default size limit

Maximum database size limit in Exchange 2010:
http://technet.microsoft.com/en-us/library/bb232092.aspx

mailbox size effect on performance
http://blogs.technet.com/b/exchange/archive/2010/03/29/3409629.aspx
http://blogs.technet.com/b/agobbi/archive/2010/09/08/large-mailbox-sizes-no-mailbox-limit-and-pst-usage-exchange-2007.aspx
http://itproafrica.com/technology/exchange/the-limits-of-unlimited-mailboxes/
http://blogs.technet.com/b/exchange/archive/2005/03/14/395229.aspx

Ideally, it depends how your exchange mailbox server is designed

Mahesh
0

Featured Post

Don't lose your head updating email signatures!

Do your end users still have the wrong email signature? Do email signature updates bore you or fill you with a sense of dread? You can make this a whole lot easier on yourself by trusting an Exclaimer email signature management solution. Over 50 million users do...so should you!

Question has a verified solution.

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

ADCs have gained traction within the last decade, largely due to increased demand for legacy load balancing appliances to handle more advanced application delivery requirements and improve application performance.
Following basic email etiquette rules will help you write a professional email and achieve a good, lasting impression with your contacts.
The video tutorial explains the basics of the Exchange server Database Availability groups. The components of this video include: 1. Automatic Failover 2. Failover Clustering 3. Active Manager
This video discusses moving either the default database or any database to a new volume.

912 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

Need Help in Real-Time?

Connect with top rated Experts

16 Experts available now in Live!

Get 1:1 Help Now