Change the location of the queue database | Microsoft Docs

exchange server uses an extensible storage engine (ese) database for message queue storage. all the different queues are stored in a single ese database. Queues exist on Exchange Mailbox servers and Edge Transport servers. for more information on queues, see queues and messages on queues.

The location of the queue database and the queue database transaction logs are controlled by keys in the %exchangeinstallpath%binedgetransport.exe.config xml application configuration file. this file is associated with the interchange transport service. the following table explains each key in more detail.

  • mail.que
  • trn.chk

the default location is %exchangeinstallpath%transportrolesdataqueue.

  • trn.log
  • trntmp.log
  • trn nnn.log
  • trnres00001.jrs
  • trnres00002.jrs
  • temp.edb

Note that temp.edb is used to check the queue database schema when the exchange transport service starts. Although temp.edb is not a transaction log file, it is kept in the same location as the transaction log files.

the default location is %exchangeinstallpath%transportrolesdataqueue.

what do you need to know before you start?

  • estimated time to complete: 15 minutes.

    exchange permissions do not apply to the procedures in this topic. these procedures are carried out in the operating system of the exchange server.

    When you stop or restart the exchange transport service, mail flow on the server is interrupted.

    When you change the location of the queue database or transaction logs, the existing queue database and transaction log files are not moved. a new queue database and new transaction logs are created in the new location. old files are left in the old location, but are no longer used. if you want to reuse the old queue database or transaction log files in the new location, you must move the files to the new location while the swap transport service is stopped.

    The folder for the queue database and transaction logs needs the following permissions:

Leave a Reply

Your email address will not be published. Required fields are marked *