What is Datamart?
A datamart is a mini data warehouse, or a subset of data derived from a primary data warehouse. Datamarts are typically stored in the same database server as the warehouse. Each datamart table is associated with one report via the Strategy Developer interface. Datamarts can be used to achieve various business needs, such as:
- Creating tables in a database for running "What-If" scenarios.
- Building tables for third-party tools.
- Building a smaller, portable database for Online Analytical Processing (OLAP) analysis.
How to Create a Datamart Database Instance
A datamart can either be stored in a warehouse or in an alternate database server. Users using the warehouse may skip to the How to Add a Datamart to a Report section of this article as the warehouse is optimized for a datamart by default.
- Create a valid Open Database Connectivity (ODBC) DSN pointing to the SAP HANA datamart location.
- Create a SAP HANA database instance that references the intended datamart location by performing the following steps:
- In Developer, in the top navigation, select Administration > Database Instance Wizard.
- Click Next.
- On the Database Instance Definition page, enter a name for the database instance and select SAP HANA 1.x or SAP HANA 2.x as the database type.
- Click Next.
- Choose the SAP HANA datamart DSN and enter your login information.
- Click Finish.
- Validate the database instance for the datamart by performing the following steps:
- Right-click on your project and select Project Configuration.
- In the Database Instance tab, select the checkbox of your newly created database instance.