- Business Intelligence with MicroStrategy Cookbook
- Davide Moraschi
- 342字
- 2021-07-23 15:31:59
Metadata and data warehouse
These are two key concepts in every BI project with MicroStrategy so we'd better have them clear since the beginning.
Metadata is data about data (what?). Ok, let's say that in the metadata you won't find any customer names or sales figures or any other fact, you'll just find information about the columns where this data come from, the datatype, and several other details about how to create the customer entity, for example, how does it relate to other elements in the project and where it is stored, plus the definition of all the reports.
While the data warehouse is the real source of the facts and dimensions that you will analyze. So, in principle, metadata and data warehouse are different databases and/or different instances; they may even reside in different hardware (and usually are, for example, in cluster production environments).
It is easy to deduce that the metadata is relatively small compared to the data warehouse, which is usually a huge, daily refreshed, historical storage with lots of records.
So AdventureWorksDW2008R2
, which we just created, will be our "huge" 78 MB data warehouse; while we still do not have a storage for the metadata. Given that we are in a single-user training environment, we can use the same SQL Server instance for the metadata, but we'll create a new database to hold it.
Getting ready
You need to have completed the previous recipe to continue.
How to do it...
In a command prompt window:
- Bring up the
sqlcmd
command utility once again with:sqlcmd -S (localdb)\v11.0
- And when the
1>
prompt appears, type this (each command in its own line and followed by the Enter key):create database metadata go exit
How it works...
The create database metadata
instruction will generate the metadata.mdf
file. Both databases will be accessible from the same instance named v11.0
.
There's more...
In SQL Server, the go
command is the default end of the batch instruction. Other databases use different commands.
- Managing IaaS and DBaaS Clouds with Oracle Enterprise Manager Cloud Control 12c
- 新中國審計(jì)制度變遷
- Magento 2 Cookbook
- Citrix XenApp? 7.5 Desktop Virtualization Solutions
- 國有企業(yè)經(jīng)濟(jì)責(zé)任審計(jì)實(shí)務(wù)指南
- Azure Strategy and Implementation Guide
- Microsoft Dynamics NAV Financial Management
- Securing Hadoop
- 大數(shù)據(jù)搜索與挖掘及可視化管理方案 :Elastic Stack 5:Elasticsearch、Logstash、Kibana、X-Pack、Beats (第3版)
- Salesforce Essentials for Administrators
- 從零開始學(xué)房地產(chǎn)會計(jì)
- 新編統(tǒng)計(jì)學(xué)
- Programming Microsoft Dynamics NAV(Fifth Edition)
- 公司內(nèi)部審計(jì)
- Microsoft Dynamics CRM 2016 Customization(Second Edition)