Effective Ways to Check Exchange Server Database Health Status

Megha Sharma
Megha Sharma linkedin | Updated On - December 02, 2022 |

Read time 4 minutes

Exchange Server users are always concerned about the health of their database as it is vulnerable to corruption and related errors. As we know Exchange Server database contains complete information stored, maintained, and exchanged via the server; it is crucial to ensure that the database and its mailboxes are in a healthy state. But how can any Exchange administrator keep a check on the Exchange Server database health? The answer to this extremely important question is what we are going to find out in this blog.

For Exchange Server 2010 and above versions, there are some database health check commands in the Exchange Management Shell using which they can check the current status of the Exchange Server database and take proper action for any problem.

Check Exchange Database Health Using Exchange Management Shell cmdlets

Check how the Exchange administrators can keep an eye on the status of Exchange Server services, mailbox databases, and mailboxes using Exchange Management Shell cmdlets.

  • General information about Exchange Server mailboxes
    Get-MailboxStatistics | ft DisplayName,TotalItemSize,ItemCount

    Output: Mailbox Display Name, Total Item Size, Total Number of Mailbox Items for each mailbox in the Exchange database

  • General information about a particular Exchange Server mailbox
    Get-MailboxStatistics | ft username

    Output: Mailbox Display Name, Total Item Count, Storage Limit Status, Last Logon Time, Total Item Size

  • General information by Exchange mailboxes based on different sorting criteria
    Get general statistics of Exchange mailboxes with outputs in descending and ascending form with provided commands, respectively.

    Get-MailboxStatistics | Sort-Object TotalItemSize –Descending | ft DisplayName,TotalItemSize,ItemCount

    Get-MailboxStatistics | Sort-Object TotalItemSize –Ascending | ft DisplayName,TotalItemSize,ItemCount

  • Check on Exchange Service health

    Output: RequiredServiceRunning – True/False against each Exchange Service
    Need to run those services from services.msc.

  • Check on Mailboxes accessibility by users

    Output: Result for Mailbox Server and Database as Success/Failed

  • Test mail flow in/out from Exchange Server

    Output: TestMailflowResult as Success/Failed

  • Check Mailbox Database Mount Status
    Get-MailboxDatabase -Status | Format-List name,server,mounted

    Output: Mount Status as True if mounted, False if not mounted

  • Mount Exchange Mailbox Database
    Mount-Database -Identity <database name>

While mounting the Exchange mailbox database, if it fails and an error comes up, the Exchange administrator can go for troubleshooting dirty shutdown errors using eseutil utility. And, there are two methods to repair corrupt Exchange database – manual (Eseutil application) and professional tool (Kernel for Exchange Server). First, they can run ESEUTIL for EDB Repair.

If the Exchange database is still beyond recovery or you do not want to invest more time in manual solutions for the database recovery, using the advanced Kernel for Exchange Server recovery tool is the best choice. It readily fixes any level of corruption and issue in the Exchange Server database to make it available to the users without much effort. It retrieves entire data for live preview before saving it to destinations like Outlook PST, Outlook Profile, Office 365, live Exchange, etc. Those users who want a trial of the advanced tool can download the free version and test its efficiency before actually purchasing the tool.

Keep reading for more such helpful blogs!

Frequently Asked Questions

Q. What permissions do I require to access the Exchange Management Shell and run cmdlets on it?

A. User must be either the Exchange administrator or a user with administrator rights to access the Exchange Management Shell can run cmdlets on it.

Q. Where can I find the Eseutil application on my system?

A. The default location of the Eseutil application on the Exchange system is – C:\Program Files\Microsoft\Exchange Server\Bin

Q. How helpful is the free version of the Kernel for Exchange Server tool?

A. Using the free or trial version of the Kernel for Exchange Server tool, you can understand all the features and user interface of the tool. Besides this, you can save 25 items per folder free from Exchange Server EDB mailboxes.

Q. Why do I need to check my Exchange database health?

A. Regular monitoring and checking of Exchange Server database health is required to know the mailbox size, mount status, mail flow status, mailboxes accessibility, etc., to avoid future corruption possibilities in the Exchange Server database.

Q. Where does the Kernel for Exchange Server tool export recovered Exchange mailboxes?

A. It offers multiple options for saving recovered Exchange mailboxes like a new or existing PST file, live Exchange Server, Office 365, or Outlook profile.

Kernel for Exchange Server