Solved

exchange 2013 database size increases everyday

Posted on 2014-12-19
10
101 Views
Last Modified: 2015-01-05
Hi Experts

I am not a Exchange guy and having a very less knowledge regarding exchange servers.
We have exchange 2013 installed on server 2012. The actual mailbox size i get by running powershell command is around 54GB but the size of mailbox folder itself is around 217GB. Please see below the output of powershell command.

 [PS] C:\Windows\system32>Get-MailboxDatabase -Status | Select-Object Name,DatabaseSize,AvailableNewMailboxSpace | Sort-O
bject Name | fl


Name                     : Mailbox Database 0303672096
DatabaseSize             : 54.13 GB (58,124,730,368 bytes)
AvailableNewMailboxSpace : 62.69 MB (65,732,608 bytes)

Questions:
- Why there is discrepancy of size between Database actual size and folder size.
- what is the solution to overcome this problem

Really need help on this as this server is on VMware and we do not have more space to allocate to this exchange server.

Thanks in advance

Saqib
0
Comment
Question by:nocinfospan
  • 4
  • 3
  • 2
  • +1
10 Comments
 
LVL 63

Expert Comment

by:Simon Butler (Sembee)
ID: 40510083
Have you looked in the folder itself?

By default, both the database and transaction logs are stored in the same location. The logs are only flushed when you do an Exchange aware backup of the server. Are you doing a backup of the server using an Exchange aware backup application?

DO NOT DELETE THE LOGS manually. That will cause you more problems. Verify that is what is happening.
If you do have an Exchange aware backup then ensure that it is set to full backup and to flush the logs (not unheard of for people to set it to copy instead).

Simon.
0
 
LVL 1

Author Comment

by:nocinfospan
ID: 40510095
No i am not taking any backups right now. and yes i checked the folder itself under default path i.e. "C:\Program Files\Microsoft\Exchange Server\V15\Mailbox".

We did a migration from 2003 exchange to exchange 2013. May be that would add up some size.

What if i create a new mailbox database and move all mailboxes to new database ? and delete the older database once mailboxes are moved to newer one. Will that be a solution ?

Thanks
0
 
LVL 12

Expert Comment

by:Vaseem Mohammed
ID: 40510141
As suggested by Simon, you must take backup with exchange aware backup application, that's the correct way to flush the logs for that specific database.
When you migrated exchange 2003 mailboxes to 2013 the move itself generates log files. Every action thats you do in exhange or exchange does results in creation of log file. If you move mailbox from old DB to new that will also create logs.
Bottom line., run full backup.
0
 
LVL 63

Expert Comment

by:Simon Butler (Sembee)
ID: 40510641
Creating a new database is not going to help.
If you aren't going to do a backup, then enable circular logging on the databases. You will need to dismount and then mount the database for the change to take effect. That will stop the logs from being generated at all, but limits your recovery options.

Simon.
0
 
LVL 1

Author Comment

by:nocinfospan
ID: 40511104
Thanks for the solutions .
so what i get is that if i take a full backup the logs will flush automatically from the current location and will result in decrease in size of database?
can i use application available in windows server 2012 for exchange backup ?
any useful links regarding the suggested solutions would really help alot.
and thanks again
0
Does Powershell have you tied up in knots?

Managing Active Directory does not always have to be complicated.  If you are spending more time trying instead of doing, then it's time to look at something else. For nearly 20 years, AD admins around the world have used one tool for day-to-day AD management: Hyena. Discover why

 
LVL 12

Expert Comment

by:Vaseem Mohammed
ID: 40511162
Logs are separate files and does not count to the size of database file.edb. Taking the successful backup will save your disk space.
Reducing the size of database is completely a different task.

Check the link below for an idea about using windows backup http://technet.microsoft.com/en-us/library/dd876854%28v=exchg.150%29.aspx
Do some Google search for more info on the same.
0
 
LVL 63

Accepted Solution

by:
Simon Butler (Sembee) earned 500 total points
ID: 40511170
The built in Windows Backup will do the job, but it isn't a great choice as it isn't very flexible.
Backup Assist is my usual tool for this task. It is cheap, uses the native writers and generally does the job with no fuss.

A backup will reduce the size of the database directory, because by default Exchange stores the databases and transaction logs in the same place.

Simon.
0
 
LVL 1

Author Comment

by:nocinfospan
ID: 40513805
Can i take a backup without un-mounting the DB in exchange?
Can i take the DB backup while all the exchange services are running?
0
 
LVL 63

Expert Comment

by:Simon Butler (Sembee)
ID: 40514541
Exchange aware backups are designed to be carried out with Exchange operating.
An Exchange aware backup is the only way that the logs will be flushed.

Simon.
0
 
LVL 17

Expert Comment

by:Viral Rathod
ID: 40518396
Yes you can take backup while exchange services are running without unmounting database

If you do not want to buy third party backup solutions then go for builtin windows server backup

Here are the steps to take backup on exchange 2013 using windows server backup.

http://msexchangeteam.in/how-to-backup-exchange-server-2013-database-part-1/
0

Featured Post

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.

Question has a verified solution.

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

Local Continuous Replication is a cost effective and quick way of backing up Exchange server data. The following article describes the steps required to configure Local Continuous Replication. Also, the article tells you how to restore from a backup…
This article explains in simple steps how to renew expiring Exchange Server Internal Transport Certificate.
In this video we show how to create a Distribution Group 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 Recipients >>…
The basic steps you have just learned will be implemented in this video. The basic steps are shown to configure an Exchange DAG in a live working Exchange Server Environment and manage the same (Exchange Server 2010 Software is used in a Windows Ser…

867 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

21 Experts available now in Live!

Get 1:1 Help Now