Metadata Doctor (MD Doctor) in Microstrategy
Metadata Doctor (MD Doctor) is a utility that detects and fixes certain physical inconsistencies in MicroStrategy 9.4.x - 9.5.x metadatas that may prevent MicroStrategy 9.4.x - 9.5.x products from functioning correctly.
In simple terms, it detects physical inconsistencies by running SQL against different metadata tables and then comparing results. If an entry is found in one table but not in the main lookup table of the metadata then that denotes a physical inconsistency and MD Doctor will delete that orphan entry.
Note: MD Doctor is not a supported tool for MicroStrategy 10.x metadatas.
Note: MD Doctor is not a supported tool for MicroStrategy 10.x metadatas.
NOTE: MD Doctor should be used only after a metadata backup has been taken. MD Doctor should not be used repeatedly. It is meant to primarily serve as a quick-fix to physical inconsistencies and get environments up and running. If repeated use of MD Doctor is needed then a possible recurrent-metadata physical inconsistency is being encountered.
MSTR WARNING:
Manually editing values in the MSTR Metadata incorrectly may cause serious, project-wide problems that may make your project unusable. Since these are user-initiated changes, they are not covered by any MicroStrategy warranty. Users are strongly encouraged to backup the metadata prior to any alteration.
Pre-Requisites for using MD Doctor:
The following are pre-requisites for the use of MD Doctor:
- MicroStrategy Developer 9.4.x - 9.5.x installed. The product and metadata versions should match exactly.
- A Direct (2-tier) Project Source to the target Metadata.
MD Doctor Best Practices
Remember the following Best Practices when running MD Doctor:
- Running MD Doctor should not be a routine operation. MD Doctor is meant to be used as a fix once Technical Support identifies that there is a metadata physical inconsistency causing an issue in the platform.
- Before running MD Doctor (fix/scan mode), all operations against the metadata should be stopped.
- Before running MD Doctor (fix mode), a backup of the metadata must be taken.
- Always save the MD Doctor logs.
Using Metadata Doctor:
- Run the setup.exe and follow installations instructions.
- Go to the Start menu and look for the MD Doctor executable under MicroStrategy -> Tools
- Select the Direct MicroStrategy data source which points to the metadata to be checked. If a direct data source to the metadata does not exist, use MicroStrategy Developer or MicroStrategy Configuration Wizard to create one before running this application.Data Source Login-- MicroStrategy login and password in order to be able to check the metadata translations table.
- Select Detect and Fix options:Detect only. Do not fix errors -- Also known as running MD Doctor in scan-mode.Prompt me to fix errors-- Also known as running MD Doctor in fix-mode. Every time an error is encountered the user will be prompted to fix it. Used for targeted fixes.Fix all errors automatically -- Also known as running MD Doctor in fix-mode. No prompts to the user when an error is encountered. Used for fixing all encountered inconsistencies.
- Select the 'Start' button to begin. MD Doctor may be interrupted by clicking on the 'Stop' button. However, do not stop/interrupt MD Doctor while it is fixing inconsistencies in the metadata.
- A Status window will appear to display the checks performed by MDf Doctor:
Comments
Post a Comment