Download EDB Converter Free

Showing posts with label edb. Show all posts
Showing posts with label edb. Show all posts

Thursday, 30 April 2015

// // Leave a Comment

Exchange Database Exceeds Size limit Problem and Solution

Error: Database size has exceeded the size limit of

Product: Microsoft Exchange Server
Error Message: [Event ID 9690]
Exchange store '<storage group name>': The logical size of this database (the logical size equals the physical size of the .edb file and the .stm file minus the logical free space in each) is <number> GB. This database size has exceeded the size limit of <number> GB.This database will be dismounted immediately.

Problem Cause

The above error message comes when the logical size of the database becomes greater than the one that you configured.  
The logical size of the database is calculated by adding the physical size of EDB and STM files minus the logical free space in them.

Default Size Limit of Exchange Server 

Exchange Server 2003 Database Size Limit

In Microsoft Exchange 2003, Standard Edition supported two databases in single storage group (one for mailbox and other for public folder database). The standard edition before SP2 of Exchange Server 2003 have 16 GB database size limit for each database which cannot be configured further. However with SP2 Edition you get 18 GB default configuration limit which is 2GB extra with a maximum size limit of 75 GB, which means you can increase the limit by upto 75 GB by using a registry key.
The enterprise edition of Exchange Server 2003 gives 8,000 GB (actually it depends on the hardware of the system) size limit for each database. 

Database Size Limit in Exchange Server 2007 and later version (2010 and 2013).

Exchange Server 2007 standard edition RTM supported five databases and up to five storage group (instead of just two databases which is the case of in Exchange Server 2003 edition). The default size limit is 50GB per database which can be increase up to 15 TB by editing registry values. In Exchange 2007 Standard Edition SP1 the limit is 250GB. There is no default database size limit for the Exchange 2007 Enterprise Edition.
In standard edition of Exchange Server 2010 the default size limit is 1024 GB (i.e 1 TB) and there is no default size limit for Enterprise edition users.
In Exchange Server 2013 we got maximum limit of 16TB although it recommended to use 2 TB size limit for database because the larger the size of Database, larger the time taken to take backup and recovery process.

What will happen if the configured or licensed database size limit reached?

As soon as the database mounts in Exchange Server the following process will happen
  1. The store process compares the Physical Database size with the Configured Database Size Limit.If the physical size is within or exceeds the configured Database Size Warning Buffer in Percentage, the store performs a logical calculation of the database size.
  2. If it is below this warning buffer, there is no need to calculate the free space because the logical size will never exceed the physical size. 

With Exchange Server 2003 SP2 or later, the server performs the following tasks when the configurable (or default configured) database size limit is reached:
  • If the first check after a database mount finds the database size above the limit, the database will not be taken offline but an error event (ID 9689) will be logged in the Application event log.
  • If it is the second check, an error event will be logged in the Application event log and the database will be taken offline. 

So what’s the solution to the problem stated above? Offline Defragmentation! No, you will need at least 1.5 times the database size in available hard drive space to run it. Below are the best possible solutions for the problem of Database size exceeded size limit.

Solution 

Method 1: Increase the configured size limit of Exchange Database using Registry

Note: Incorrectly editing the registry can cause serious problems that may require you to reinstall your operating system.
Step 1: Open Regedit and browse to the following registry key: 
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\MSExchangeIS\<Server Name>\Private-<database GUID> 
Step 2: If the key “Database Size Limit in GB” DWORD already exists under the subkey “Private-[database GUID]”, change its value to the desired size in gigabytes, be sure to select ‘decimal’ when you enter the number.
If the “Database Size Limit in GB” DWORD does not exist for the subkey then create a new DWORD “Database Size Limit in GB”, and then set its decimal value to the desired size in gigabytes.
Note: You may need to restart the information store service for the changes to take effect.
Step 3: Restart the Microsoft Exchange Information Store service
Step 4: Check event viewer for the following events:
Event ID 1216 will provide information about what is the current physical size of the database and how much size is allocated.

Method 2: Reduce the size of database or create a new database.

You can reduce the database size by creating a new database and move the files into it. Or you can ask users to delete mailbox or public folder data that is not required. But deleting mails will not create free space most of the time and it is better to create a new database and move some data into it. Moving mailboxes from one Exchange Database to another cleans corrupt items and will boost the performance. After moving the database makes sure you update your backup scheme to include the newly created second database. One more benefit of creating a new database is it allows you to keep your store up and the mail flows.

What if the problem still exists?

What if the above two solutions failed to work and you still get the error “This database will be dismounted immediately.” So it is recommended to convert the edb files of the Exchange Server into PST file which can done by EDB to PST Converter easily even if there is size, corruption or dismounting database issues.
By converting EDB file (priv.edb and pub.edb) into PST file format user can get rid of the problem of edb size and dismounting issues.
Read More

Wednesday, 29 April 2015

// // Leave a Comment

How to Repair Exchange Database

Repair Exchange Database with ESEUTIL

Microsoft Exchange Server includes two utilities (Eseutil and Isinteg) that will help you to repair Exchange Server Database. The Exchange Server Database Utilities (Eseutil.exe) is can be used to verify, modify, and repair an Exchange database file.
Here is the step by step procedure that you can follow to repair Exchange Server Database with ESEUTIL utility. Note:
  1. Make a copy of the database files(s) before you repair them.
  2. Verify that you have sufficient disk space to do the repair.
  3. The streaming database (.stm file) must be in the same folder as the MAPI database (.edb file). 

Step 1: Run Eseutil in /P (repair) mode.


Problems Arises while running Eseutil /P command 

Eseutil/P command repairs a corrupt offline database by skipping any pages that cannot be fixed. You may encounter two problem while running Eseutil/P command:
  1. Database and streaming files don't match: Sometimes due to hard crash of the Exchange Server causes Database and Streaming file mismatch or out of sync (streaming file is out of date with database file). This files mismatch can be checked at the beginning and gives users a chance to choose a correct .stm file You can ignore the mismatch by using this command  ESEUTIL /P priv1.edb /I
  2. (.stm) Streaming file is missing: You can repair exchange database even if the streaming file is missing or corrupted but there will data loss. In case MAPI configured clients the data loss will be negligible but for POP3 or IMAP4 protocol configured client recovery the data loss will be so much high. You can create a new streaming file using the following command  ESEUTIL /P PRIV1.EDB /CREATESTM

Step 2: Defragment the Exchange Database

Note: For defragmenting the Exchange Database, you need space equivalent to 110% the size of the database.
Run the following command to defrag the exchange server database
Eseutil in /D (defragment) mode.
Above command defragments the database offline but leaves the new, defragmented database in the temporary location with or without overwriting the original database.

Step 3: Clear Transaction Log

Now, your database is restored. You need to move or take a backup of all the transaction logs for your database.

Step 4: Run Integrity Check

Now run the Isinteg in -fix -test -alltests mode.
isinteg -s ServerName -test -alltests

Step 5: Remount

Finally, remount the store using ESM to complete the process.

Repair Exchange Database Without log files- An Alternative Approach

You can recover or repair exchange database without log files by using ESEutil command with /p mode. Using this command database can be brought to consistent state from inconsistent state. But there is problem of data loss (due to corrupt pages, broken links and other issues) while recovering exchange database file using this approach. So it is recommended to use third party tools like Exchange Recovery software which provide easy interface and simplifies the complicated process of exchange recovery.
  
Read More