Contact US

Log In

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!

*Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

Database cleanup

Database cleanup

Database cleanup

I've inherited an exchange 2013 setup. Upon examination of the databases size and location, i noticed that a generic database was setup for several users on the C partition which is taking up some much needed space. I've moved all the mailboxes to a different database and confirm that the C database is empty. However, the space allocated by this folder still shows 12Gigs which I'd like to take back. Can I dismount and remove this database? I move all mailboxes this morning. Should I wait longer?

Any help would be greatly appreciated.

RE: Database cleanup

You can, but you may find that you have the initial installation mailboxes such as the DiscoverySearchMailbox or arbitration mailboxes present in that database so it won't let you delete it.

Within the Exchange shell run get-mailbox -database dbName

This will show you any remaining mailboxes within the DB.

To move use the following

get-mailbox -Database "SourceDB" | New-MoveRequest -TargetDatabase "TargetDB”
get-mailbox -Database "SourceDB" -arbitration| New-MoveRequest -TargetDatabase "TargetDB”

Run the get-mailbox -database dbName again to verify moves complete

Unless you have been using discoverysearch in anger it should be pretty quick

See this article for more info - https://social.technet.microsoft.com/Forums/exchan...

RE: Database cleanup

Hi there,

Thanks first for your reply. Correct, looks like i still have some arbitration mailboxes (systemailbox, migration, and federatedEmail).

Thanks much. I'll give it a try over the weekend.

RE: Database cleanup

How you get on?


RE: Database cleanup

Hi ntinlin,

I did this last night and surprisingly it went very well. All mailboxes were moved a while back but I've had just a few Arbitration mailboxes left. No public folders. After moving them, it was easy to remove the database. I was able to get back 12Gigs which I wasn't sure where the space came from as the mailboxes combined shows only 300megs. I am not complaining.

Star coming up. :)

RE: Database cleanup

Probably a lot of white space and database overhead.

Count yourself lucky that you aren't using archiving/stubbing software since Exchange 2010 at least doesn't always convert the emptied pages to white space. Kind of negates the supposed benefit of stubbing.


Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Tek-Tips Forums free from inappropriate posts.
The Tek-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Tek-Tips forums is a member-only feature.

Click Here to join Tek-Tips and talk with other members! Already a Member? Login

Close Box

Join Tek-Tips® Today!

Join your peers on the Internet's largest technical computer professional community.
It's easy to join and it's free.

Here's Why Members Love Tek-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close