A reader asks:

We recently migrated to Exchange Server 2010 and now not only is the mailbox database much larger than it was in Exchange Server 2003 but it seems to be growing a lot faster as well. Why is this happening?

In a perfectly healthy Exchange Server 2010 environment this difference in size and growth rate compared to Exchange Server 2003 is completely normal.

The first reason is the removal of single instance storage from the Exchange Server 2010 database schema. I’ve written about this before so I’ll just briefly recap it here. Microsoft determined that single instance storage was producing a rapidly diminishing benefit to Exchange customers while at the same time inhibiting improvements to the database disk I/O performance. So the decision was made to remove single instance storage in favor of an improved database schema that delivers as much as 70% reduction in disk I/O requirements.

What this means is that when migrating from Exchange 2003 to Exchange 2010 a mailbox database that hosts the exact same mailboxes can easily be 20-50% larger immediately after the migration has occurred. I’ve even heard from some Exchange specialists that they’ve seen up to 5x size increase with some customers. The ongoing growth rate of the database will also be higher for the same reason.

In addition to this the Exchange Server mailbox database has some retention settings that customers can configure to suit their environment.

[PS] C:\>Get-MailboxDatabase MB-HO-02 | fl *retention*

MailboxRetention            : 30.00:00:00
DeletedItemRetention        : 14.00:00:00
EventHistoryRetentionPeriod : 7.00:00:00

Most people are already familiar with the deleted items retention and deleted mailbox retention settings that default to 14 days and 30 days respectively. There is also the event history retention period that adds to the size of the store, although I would not expect this to be a root cause of massive database growth.

Although deleted item retention is set by default to 14 days, this can be as much as 30Gb of data per mailbox if the recoverable items quota is left at its default setting.

[PS] C:\>Get-MailboxDatabase MB-HO-02 | fl recoverable*

RecoverableItemsQuota        : 30 GB (32,212,254,720 bytes)
RecoverableItemsWarningQuota : 20 GB (21,474,836,480 bytes)

Another reason for increased database growth can be the large default mailbox quotas in Exchange Server 2010.

[PS] C:\>Get-MailboxDatabase MB-HO-02 | fl *quota*

ProhibitSendReceiveQuota     : 2.3 GB (2,469,396,480 bytes)
ProhibitSendQuota            : 2 GB (2,147,483,648 bytes)

If these are left at their default value deliberately or because they were overlooked during deployment, and as a result end users are not receiving warnings to delete mailbox items to stay under quota, then their mailboxes will naturally grow larger at a faster rate than before.

Should you be concerned about your Exchange 2010 databases growing too big?

Well considering that previous versions of Exchange Server had recommended maximum database sizes of 100Gb (or 200Gb for Exchange 2007 CCR clusters). However in Exchange Server 2010 this recommendation has increased to 2Tb.

With the significant core improvements made to Exchange 2010, the maximum recommended mailbox database size when using continuous replication has increased from 200 gigabytes (GB) in Exchange 2007 to 2 terabytes in Exchange 2010.

However this is only when database replication (ie a Database Availability Group) has been deployed. For non-replicated mailbox servers you should consider your recovery SLAs and size databases according to how quickly you can recover them from backups in a disaster.

So in summary, some increase in mailbox database size is normal for Exchange Server 2010, and as long as you’re managing database sizes in line with your recovery SLAs then there should be no problem.  However if you are concerned there are a number of database configuration settings that you can look into for reducing the size and growth rate of your mailbox databases.

About the Author

Paul Cunningham

Paul is a former Microsoft MVP for Office Apps and Services. He works as a consultant, writer, and trainer specializing in Office 365 and Exchange Server. Paul no longer writes for Practical365.com.

Comments

  1. Wayne

    Hi Paul

    Oddly I have 2 Mailbox Servers (single DAG) with DB’s split across them eg; Odd numbered on Server1 & Even on Server2

    It appears the DB’s on the Server1 are growing faster than the DB’s on Server2, the edb file size seems to growing almost double the size on server1 compared to the actual size used by the Mailboxes?, But the Server 2 edb sizes seem more or less similar give or take a few gig.

    Any ideas what might cause this

    1. Avatar photo
      Paul Cunningham

      Without further evidence I’d just consider that to be a coincidence. Databases grow because the mailboxes that they host grow. So start there.

  2. jahid

    Sir. i like to tel you about my exchange Environment. i have 2 exchange mailbox in production and 1 mailbox in DR site. the replication was fine after i configure. but what happen last week is: DR mailbox server database and database log side is 30% higher then production. its effect to my DR storage. i have configure fix volume in the DR server and its automatically expending. ex: 100 GB disk automatically expend to 150 GB. i have around 5 volume on DR.

    could you assist me to know what could be the issue that DR Database is 30% big then Production.

    1. Avatar photo
      Paul Cunningham

      Exchange can’t auto-expand your disks. Only the operating system or virtualization platform can do that.

      Are you saying that the actual database file (the .edb file) is 30% larger on that server than it is on the other DAG members?

  3. SmArT-IT

    Hi,

    I’ve some problem with brand new exchange Server 2013 :
    Two day’s ago, after two week of running, my exchange EDB files had increasing spectarcularly, in fact she grow by 19 Gb to 151 Gb…

    Why this happens ?
    I’ve only 50 users, and the biggest mailbox is 1.8 Gb…

    Please save my life ( and the life of my datastore…)

    Sorry for my bad english.

    Thanks in advance,

    Renaud

  4. Dima

    Hi,
    also on mbx servers (2 DAG’s members) I find in catalog file of database a big and old *.ci file (created and last time modified/accessed more than a month ago). If I’ll try to stop MS Search and delete it (at begin just rename it) in event will appear error of db and indexing. For this type of errors is recommending the update-mailboxdatacopy task. But it just copy from active to passive server. Maybe I must delete on both before do the update? Please, help to keep clear this question.

  5. Hashil

    Hello
    I am using exchange 2010, my log folder now it is 50GB while my database shows 13GB
    how can I reduce the size of logs

    I just export mailbox using export PSTs file for backup reasons nothing else

    can you help?

  6. Holt Satterfield

    And one more item — my 2010 Exchange is not sending out Mailbox Size alerts. Even after applying the RU6, I can’t get Exchange to issue warnings. I’ve set the threshold to the default; I’ve created custom thresholds. Nothing seems to work. I’ve read where the ProhibitSend/Receive needs to be a 50% ratio; but in our biz environment, we don’t want to prohibit send/receive. Just send them annoying messages every 15 minutes.

    So my users are not being pushed to cleanout their mailbox.

    Any thoughts on this specific issue? Thanks.

    Holt

    1. Avatar photo
      Paul Cunningham

      Holt, on the mailbox server open the Exchange Management Shell and run Test-ServiceHealth to see if there are any issues.

      1. Holt Satterfield

        Paul —

        Ran Test-ServiceHealth, and all three Roles — Mailbox, Client, Hub — were running, with no services not running. Everything seems to be good.

        Any further suggestions?

        Holt

  7. Holt Satterfield

    I am having the same issue. Suddenly my Exchange volume (on which I keep the *.edb’s) is shrinking rapidly. I foresee in a month or two that I will not have any space remaining on this drive! So, I’ve got to stop this database growth. When I actually run scripts to give me the Mailbox size values, their total size is much less (by half in some instances) than the actual size of the Mailbox Database.

    So, if I restrict the Mailbox Database size, what occurs when the threshold is reached? Besides eating up the White Space, does it eventually stop receiving email? (i’ve already set the Deleted Items retention to 4 days, and Deleted Mailbox retention to 2 days.)

    I need to stop the growth as soon as possible.

    1. Frank

      Hi Holt,
      I’m having exactly the same issue.
      The size of the databases is 230GB but the sum of all mailboxes is only 80GB and the whitespace is minimal. My disks will be filled up in a couple of weeks.

      What did you ended up doing?

  8. KY

    Paul,

    I have the same issue after we migrated all our Exchange 2003 mailboxes to Exchange 2010. We have 6 databases and each of them is growing 1-2GB daily. When the white space is large, the size has stopped growing. Here is what I have tried to slow down the database growth rate but it is not working that much at all.

    (1) Set Keep deleted items for (days) to 0;
    (2) Moved all the disconnected mailboxes to a database as dumping ground;
    (3) Set up a 15-day deletion policy again the Deleted Items folder for each mailbox;
    (4) Advised the users to clean up their mailbox.

    In the beginning, about 7-8GB whitespace is reclaimed and the database size stopped increasing. However, when the whitespace is running low, the database size is growing again.

    Is there any other way to help us to slow down the growth? What ‘RecoverableItemsQuota’ really can help us in our scenario? If I set each database to 1GB for the quota, will it help at all?

    Thanks,
    KY

    1. Avatar photo
      Paul Cunningham

      There is a lot of tuning that you can do but it all depends on your business needs as far as managing growth vs recoverability. You could also look at allowing larger databases, since Exchange 2010 can handle much larger databases.

Leave a Reply