Mart Report Data Compression

In the Workgroup Edition, the model data and model report data are stored in separate internal tables. The model report data table (m9ReportData) includes only those columns that are required to generate model-specific reports. When you update a model and save the changes, both the tables are updated. This approach is implemented to improve the performance of Mart report generation. From this release onward, you can improve the performance of Mart reporting further by changing the way the report information is stored in the report data table.

You can store the report information in two ways--binary or XML. By default, the report information is stored in binary format. Information is compressed in binary format, therefore it occupies less space. However, regardless of the format in which the information is stored, the accuracy of the information remains the same. When you change the storage format, the information for a model is converted to the new format the next time the model is saved. After you change the storage format, if you do not update a model, the storage format for that specific model is not changed. For example, suppose that you have 50 models in your Mart and the existing storage format is XML. The report data table has stored the information for all these models in XML format. Suppose that you change the format to binary and update 10 models today. The information for the 10 models is stored in binary format and the information for the remaining 40 models is in XML format.

Follow these steps:

  1. Log out of the Mart and stop the Mart Server service.
  2. Navigate to the \webapps\MartServer\WEB-INF folder on the computer where erwin Mart Server is installed. Typically, the path for this folder is as follows:

    For a 32-bit version:

    <installation folder>\erwin\Mart Server r9\Tomcat\Webapps\Mart Server\WEB-INF
    

    For a 64-bit version:

    <installation folder>\erwin\Mart Server r9\Tomcat64\Webapps\Mart Server\WEB-INF
    
  3. Open the rest-context.xml file in a text editor such as Notepad and navigate to the following line:
    <property name="compressReportData" value="true" />
    

    Default: True (binary format)

  4. To change the format to XML, change the value to �false�.
  5. Save the XML file.
  6. Start the Mart Server service and log in to the Mart.

The Filter By Option

Report Designer includes the Filter By option that lets you generate drill-down reports. Some of the drill-down reports that you can generate are as follows:

Entity/Table level reports

  • Entities and tables in the current Subject Area
  • Entities and tables that are selected in the current diagram

Attribute/Column level reports

  • Migrated attributes and columns
  • Owned attributes and columns
  • Role-named attributes and columns
  • Foreign (FK) Key groups and indexes
  • Generated indexes
  • Nonunique (IE) Key groups and indexes
  • Primary (PK) Key groups and indexes
  • Unique (AK) Key groups and indexes

Subject Area reports:

  • All entities and tables in the current subject area
  • Members of the current diagram
  • Members of all the diagrams in the current Subject Area
  • Members of all the diagrams in the Main Subject Area, that is, the members of all diagrams at the model level
  • Members of the diagrams that are specified at run time

You can use the Graphical Member option for diagrams and can view the images of diagrams.

The filters for Entity/Table and Key Group/Index are available when you select the members of a diagram or a Subject Area.

Attributes and columns can be displayed the following order:

  • Alphabetic
  • Attribute (the order in which attributes appear on the logical model)
  • Column (the order in which columns appear on the physical model)
  • Physical (the order in which columns appear in the DDL after Forward Engineering)
  • Reverse Alphabetic