Project design is not just about creating a project in MicroStrategy architect; it involves several steps and thorough analysis, such as how data is stored in the data warehouse, what reports the user wants based on the data, and so on. The following are the steps involved in our project design process:
Once the user have business requirements documented, the user must create a fact qualifier matrix to identify the attributes, facts, and hierarchies, which are the building blocks of any logical data model.
An example of a fact qualifier is as follows:
A logical data model is created based on the source systems, and designed before defining a data warehouse. So, it's good for seeing which objects the users want and checking whether the objects are in the source systems. It represents the definition, characteristics, and relationships of the data. This graphical representation of information is easily understandable by business users too. A logical data model graphically represents the following concepts:
Physical data warehouse design is based on the logical data model and represents the storage and retrieval of data from the data warehouse. Here, we determine the optimal schema design, which ensures reporting performance and maintenance. The key components of a physical data warehouse schema are columns and tables:
So, here the BusinessProduct table is a bridge table between Business Segment and Product table.
The following diagram shows a simple data warehouse model for our chapter:
Once we have a solid foundation, a good logical and physical model design, you can move on to the creation of the actual project in MicroStrategy.
The steps to be followed for project creation are listed here.
In our chapter, we are going to use Oracle 11g, which we installed in Chapter 1, Getting Started with MicroStrategy. There are lots of best practices for integrating Oracle and MicroStrategy, such as:
Users can find more information using this link:
It is very important to use these best practice, because they help to improve performance by reducing execution time.
Here are the creation steps:
./mstrconnectwiz
.
The user can now connect to a data warehouse and everything a user creates will be automatically stored in the metadata repository. There are two ways to create a project in MicroStrategy. These are:
The user can create a project and schema objects that reside within the project. Architect provides a centralized interface where users can define the logical tables, attributes, hierarchies, facts, and metrics that are required during project creation. It usually automatically creates attributes and facts based on the data available in the selected data source, but sometimes the user will have to map it manually. Users can either use the project table view or hierarchy view:
This is the final and ongoing step in the project design process. Over the life of the project, our physical or logical data models can change, so the user's reporting needs can change, which requires a change of schema objects. So this phase of the project life cycle is responsible for this maintenance and involves tasks such as:
In the previous section, we learned that metadata components that represent the physical structure of the data warehouse are called schema objects. In the upcoming sections, we will learn in depth about these schema objects, such as attributes, facts and so on, and based on these schema objects, how we can build more complex objects such as metrics and filters, which are known as public objects.