Solved

Defragmentation of Exchange Database

Posted on 2013-11-17
10
247 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
PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

 
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

Why do Marketing keep bothering you?

Is your marketing department constantly asking for new email signature updates? Are they requesting a different design for every department? Do they need yet another banner added? Don’t let it get you down! There is an easy way to manage all of these requests...

Join & Write a Comment

Easy CSR creation in Exchange 2007,2010 and 2013
Scam emails are a huge burden for many businesses. Spotting one is not always easy. Follow our tips to identify if an email you receive is a scam.
In this video we show how to create an Accepted Domain in Exchange 2013. We show this process by using the Exchange Admin Center. Log into Exchange Admin Center.: First we need to log into the Exchange Admin Center. Navigate to the Mail Flow >> Ac…
This video discusses moving either the default database or any database to a new volume.

708 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

12 Experts available now in Live!

Get 1:1 Help Now