Tag Archives: #9

Interview Question #9: Governing VLDB Properties


Which of the following VLDB properties govern the length of a SQL string as well as the time a SQL pass takes to execute? (Select all that apply).

A.  SQL Time Out (Per Pass)

B.  Preserve All Lookup Table Elements

C.  Result Set Row Limit

D.  Maximum SQL/MDX Size

E.  Allow Index on Metric



A.  SQL Time Out (Per Pass)


D.  Maximum SQL/MDX Size


Maximum SQL/MDX Size and SQL Time Out (Per Pass)

The Maximum SQL/MDX Size and SQL Time Out (Per Pass) VLDB Properties govern the length of a SQL string as well as the time a SQL pass can take to execute.

Maximum SQL/MDX Size sets the maximum size (in bytes), on a pass-by-pass basis, of the SQL that the ODBC driver sends to the warehouse. Or, in the case of MDX, it sets the maximum size of the MDX that is sent to multidimensional cube sources such as SAP BW, Hyperion Essbase, or Microsoft Analysis Services.

If a pass exceeds the limit, the report execution terminates and an error message displays:


The possible value for this VLDB property is any valid integer. The default value is 0 (No limit).

SQL Time Out (Per Pass) sets the maximum duration allowed (in seconds) for each SQL pass (even intermediate passes). If any pass of SQL runs longer then its allocated time, the report fails and an error message displays:


The value you enter to define this VLDB property must be an integer.

MicroStrategy Course Where You Will Learn About This Topic

MicroStrategy Engine Essentials Course

Tips & Tricks #9: How Do Changes on the Source Report (Dataset) Get Reflected in MicroStrategy Report Services 9.x Documents

In MicroStrategy Report Services Documents, document datasets and their original source reports  (such as a grid report being used as a dataset) are not completely connected to each other. Depending on the changes made on the source report, it can be reflected differently on the document. Basically, the change can be divided into two types.

Type 1 – Formatting Changes

Formatting changes, for example, changing autostyles, thresholds, subtotals.

If a user chooses the option Add to Section without Formatting, the grid/graph showing on the document will not use the report’s stored formatting. Any formatting changes on the source report will not be reflected on the document.

Tip 9-1If a user chooses the option Add to Section with Formatting, the grid will be added with the current format of the report.  However, any formatting changes made to the source report AFTER the dataset has been included in the document will NOT be reflected on the document.

For example, a user disabled the subtotal (see screenshot below) for the original report after the report has been included as a dataset in a document, the document will still show the subtotals.

Tip 9-2

To force the document to recognize the report’s formatting changes, the user needs to delete the grid/graph from document section and add it again using the With Formatting option. By doing this, the latest formatting properties of the grid/graph on the source report are retrieved.

Type 2 – Adding/Removing Objects and Modifying Report Filters

Another type of changes made on the report involving adding/removing objects and modifying report filters.

Unlike the formatting change, this type of change does carry over from the source report to the document datasets.

For example, if users add/remove/modify report filters (see screenshot below), the change will be reflected on the data when running the document.

Tip 9-3

If an object is removed from the source report (see screenshot below), the user can see the change in the document’s Dataset Objects window. After the user runs the document, the object will be removed from grid/graph on the document.

Tip 9-4

If an object is added to the report (see screenshot below), the change will show in the document’s dataset objects window. However, the object will not be automatically added to the grid/graph. The user has to manually add the object to the grid/graph or add the dataset to the section again to make it show up.

Tip 9-5

NOTE:   As of MicroStrategy 9.0, a new feature was introduced where a user can add a dataset report to a Report Services document as a shortcut by selecting the Add to Section As a shortcut option, as shown below:

Tip 9-6

If the grid/graph is added to the document using this option, then the document would be updated automatically if ANY type of change is made on the source report.