Announcement

Collapse
No announcement yet.

Exchange 2007 database files, shrink size, without offline defrag.. 2003 did it. Sort

Collapse
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • Exchange 2007 database files, shrink size, without offline defrag.. 2003 did it. Sort

    I keep one database per LUN, or drive for the uninitiated. 100gb LUN. I understand what whitespace is….

    In our Exchange 2003 environment I used a third party monitoring utility to watch disk space. When a disk gets down to 15 percent free it sends me an email. I would move 10 or so mailboxes to another LUN/Database with more free space and then the utility sends me an email that says “disk space is back up” and it’s magically got more than 15 percent free again.

    Enter Exchange 2007. Mailboxes grow, disks get low. I move mailboxes, the disk space stays the same.


    Something in Exch 2003 causes the EDB and or STM files to shrink slowly. This isn’t happening in Exchange 2007.

    I know that I should set hard size limits on mailboxes, and only have a certain number of mailboxes per disk, and then it would never get overrun.

    What’s going on here? Will 2007 NEVER reduce the file size on its own? Am I going to have to monitor whitespace and move mailboxes every day? I don’t want to have to work every weekend to do an offline defrag, or to move 100 users around for this reason. Yuck…


    2003 shrinks, 2007 doesn’t. What’s up?

  • #2
    Re: Exchange 2007 database files, shrink size, without offline defrag.. 2003 did it.

    Exchange 2007/2010 will not shrink EDB but it will reserve space for new MBXes after online defrag.
    In your scenario you would have to do offline defrag to shrink size of EDB.

    Hope it helps...

    Comment


    • #3
      Re: Exchange 2007 database files, shrink size, without offline defrag.. 2003 did it.

      No version of Exchange that I'm aware of has ever shrunk the physical files while they're online.

      Comment


      • #4
        Re: Exchange 2007 database files, shrink size, without offline defrag.. 2003 did it.

        Have to agree with the above - Exchange has never shrunk the databases on its own. The only way was an offline defrag.

        Whether your storage solution was able to do something in the background with the Exchange databases to ensure that the white space which was created was not marked correctly, that is hard to say. Third parties did lots of odd things with Exchange 2003, which Microsoft stamped out in Exchange 2007.

        With Exchange 2007, if you are moving data around and it will result in a large amount of white space, then the best option is to REPLACE the database, by moving the entire contents to another database and dropping the original.

        Simon.
        --
        Simon Butler
        Exchange MVP

        Blog: http://blog.sembee.co.uk/
        More Exchange Content: http://exchange.sembee.info/
        Exchange Resources List: http://exbpa.com/
        In the UK? Hire me: http://www.sembee.co.uk/

        Sembee is a registered trademark, used here with permission.

        Comment

        Working...
        X