Choose a category below

»eCare Support

»Subscription Advantage

Listed below are the available modes of operation for Microsoft's ESEutil.

 �    Click here to see the  First 150 ESEutil related MS knowledge base articles for the last year

 �    DEFRAGMENTATION/COMPACTION:

 DESCRIPTION:  Performs off-line compaction of a database.

 SYNTAX:  ESEUTIL /d <database name> [options]

 PARAMETERS:  <database name> - filename of database to compact

 OPTIONS:  zero or more of the following switches, separated by a space:

              /b<db>     - make backup copy under the specified name

              /t<db>     - set temp. database name default: TEMPDFRG.EDB)

              /s<file>   - set streaming file name (default: NONE)

              /f<file>   - set temp. streaming file name (default: TEMPDFRG.STM)

              /p         - preserve temporary database (i.e., don't instate)

              /o         - suppress logo

              /i         - do not defragment streaming file

NOTES:  1) If instating is disabled (i.e., /p), the original

                 database is preserved uncompacted, and the temporary

                 database will contain the defragmented version of the

                 database.

 

�    RECOVERY:

 DESCRIPTION: Performs recovery, bringing all databases to a consistent state.

 SYNTAX:  ESEUTIL /r (3 character logfile base name)[options]

OPTIONS:  zero or more of the following switches, separated by a space:

              /l<path>   - location of log files (default: current directory)

              /s<path>   - location of system files (e.g., checkpoint file)

                           (default: current directory)

              /i         - ignore mismatched/missing database attachments

              /o         - suppress logo

 

�    INTEGRITY:

 DESCRIPTION:  Verifies integrity of a database.

 SYNTAX:  ESEUTIL /g <database name> [options]

PARAMETERS:  <database name> - filename of database to verify  

OPTIONS:  zero or more of the following switches, separated by a space:

              /t<db>   - set temp. database name (default:TEMPINTEG704.EDB)

              /s<file> - set streaming file name (default: NONE)

              /f<name> - set prefix to user for name of report files

                         (default: <I>database</I>.integ.raw)  

              /o       - suppress logo

 NOTES:  1) The consistency-checker performs no recovery and always

                 assumes that the database is in a consistent state,

                 returning an error if this is not the case.

 

�    FILE DUMP:

 DESCRIPTION:  Generates formatted output of various database file types.

SYNTAX:  ESEUTIL /m<mode-modifier> <filename> [options]

 PARAMETERS:  <mode-modifier>  - an optional letter designating the type

                                  of file dump to perform.

                                  Valid values are:

                                  h - dump database header (default)

                                  k - dump checkpoint file

                                  l - dump log file or set of logs

                                  m - dump meta-data

                                  s - dump space usage

               <filename>       - name of file to dump.  The type of the

                                  specified file should match the dump type

                                  being requested.

                                  (eg. if using /mh, then <filename> must

                                  be the name of a database.

OPTIONS:  zero or more of the following switches, separated by a space:

              /v         - verbose<BR/>

              /s<file>   - set streaming file name (default: NONE)

              /t <table> - dump nodes for a certain table

                           <dump modes mode only>

 

�    REPAIR:

 DESCRIPTION:  Repairs a corrupted or damaged database.

 SYNTAX:  ESEUTIL /p <database name> [options]

 PARAMETERS:  <database name> - filename of database to repair

 OPTIONS:  zero or more of the following switches, separated by a space:

                  /s<file>     - set streaming file name (default: NONE)

                  /t<db>       - set temp. database name

                                 (default: TEMPREPAIR*.EDB)

                  /f<name>     - set prefix to use for name of report files

                                 (default: <database>.integ.raw)

                  /i           - bypass the database and streaming file mismatch error

                  /g           - run integrity check before repairing

                  /createstm   - create empty streaming file if the file is missing

                  /o           - suppress logo

NOTES:  1) Repair does not run database recovery. If a database

                     is in a "Dirty Shutdown" state it is strongly

                     recommended that before proceeding with repair,

                     recovery is first run to properly complete database

                     operations for the previous shutdown.

                  2) The /i option ignores the signature mismatch error in

                     the check phase if the database and streaming file do

                     not match each other. The database and streaming file

                     will receive new signatures in the repair phase. Without

                     using this option, repair will terminate immediately

                     once the database and streaming file mismatch error occurs.

                  3) The /g option pauses the utility for user input before

                     repair is performed if corruption is detected. This option

                     overrides /createstm and /o options.

                  4) The /createstm option is irreversible.  Once you

                     start the repair process a new streaming file will

                     be created.  Any streaming file that existed before

                     the repair will no longer work with this database

<< back to FAQ's

       

GOexchange® is a registered trademark of Lucid8 Information Services LLC and is not affiliated with Microsoft Corporation.
Microsoft Exchange™ is a registered trademark of Microsoft Corporation.
© copyright 20002 Lucid8 All rights reserved.