当前位置:网站首页>Data warehouse interview question preparation
Data warehouse interview question preparation
2022-07-04 14:17:00 【51CTO】
One 、 How to understand data system
Including the data model 、 Data tiering 、 Data subject division 、 Data governance 、 Metadata management 、 Data security permissions 、 A complete data warehouse service system for data warehouse visual products
Two 、 What is the goal of shucang
Data quality and data service
Data quality : Orderly 、 Organize and store data in a structured way , Avoid duplicate construction and data inconsistency , To ensure the normalization of data
Data services : Improve the data experience , Including the accuracy of data 、 Data products enhance the body feeling of data visualization services
Questioning : How to understand classification, organization and storage
Classified Organization : Organize the topic division mapped to the data warehouse ( The transverse )、 layered ( The longitudinal )
Storage : For lifecycle management 、 Data governance
3、 ... and 、 The fact table is divided into several kinds
- Based on layering 、 And schedule type
According to layering , Detailed fact table of atomic index composition DWD, Derived indicators form a summary fact table DWS
The detailed fact table is divided into : Fact sheet of affairs 、 Cumulative snapshot fact table 、 Periodic snapshot fact table
- Expand to say ...
Transactional fact tables are used to describe business processes , Track the measurement time of a certain point in space or time , It holds the most atomic data , It can also be called “ Atomic fact table ”
Periodic snapshot fact table with regular 、 Record facts at predictable intervals , Time intervals such as every day 、 monthly 、 Annual wait .
The cumulative snapshot fact table is used to express the key step time between the beginning and end of the process , Covering the entire life cycle of the process , It usually has multiple date fields to record key time points , When the process changes with the life cycle , Records are also modified as the process changes .
Four 、 What are the contents of the indicators
Content : Atomic index 、 Derived indicators 、 Derivatives
Relationship
Derived indicators = Atomic index + cycle time + Modifiers
Derived indicators are divided into : Transactional indicators 、 Stock index and compound index
Transactional indicators : It refers to the indicators for measuring business activities . for example : Number of new products issued , Order payment amount . It's a modifier + Atomic index
Stock index : Refers to the entity object ( Such as commodities 、 members ) Statistics of some states . for example : The total number of goods is a modifier + Atomic index + cycle ( Generally, the history ends at a certain time )
Composite index : It is compounded on the basis of transaction indicators and stock indicators .
- Association in business
- Atomic index 、 Modifier types and modifiers , Directly under the business process , The modifier inherits the data field of the modifier type , for example :A Channel payment amount , Through payment, you can know that it belongs to the payment primary domain , The channel is used to decorate the subject field of the channel , It can be a cross domain combination
- Multiple modifiers can be selected for derived indicators , The relationship between modifiers is “ or ” perhaps “ And ”, for example : New customers pay for electronic products , Modifiers : New customers and electronic products
- The derived index only belongs to an atomic index , Inherit the data field of the atomic indicator , Independent of the data field of the modifier . for example :A Channel payment amount , Or is it the amount of payment
- generally speaking , If two behaviors occur at the same time , More than one modifier is required 、 Generate a derived indicator , Then select the behavior later in time to create an atomic indicator , Choose the behavior that comes first in time to create a modifier , for example :A Channel payment amount , A transaction that first goes through a channel and then results , The channel is before the comparison , After that, the payment amount will be generated , Atomic indicators are relatively backward
- Extend the entire architecture
- Determine the data warehouse of enterprise level and business department , Then confirm the subject field , And then sort out the business process , Basic data are atomic indicators , Fall on DWD Form a detailed fact sheet , Add modifiers to become derived indicators , Form mild DWS Summary fact sheet , The dimension will be associated with the fact table through dimension degradation .
5、 ... and 、 The dimension degenerates to the difference between a single transactional fact table and a wide table
The former still represents the fact table of decoupled business process , A wide table is a table that integrates across business processes , Emphasize multiple business processes
边栏推荐
- 瑞吉外卖笔记
- Golang 使用 JSON unmarshal 数字到 interface{} 数字变成 float64 类型(转)
- R语言使用dplyr包的group_by函数和summarise函数基于分组变量计算目标变量的均值、标准差
- Huahao Zhongtian rushes to the scientific and Technological Innovation Board: the annual loss is 280million, and it is proposed to raise 1.5 billion. Beida pharmaceutical is a shareholder
- 92.(cesium篇)cesium楼栋分层
- 205. 同构字符串
- The font of markdown grammar is marked in red
- sharding key type not supported
- Idea shortcut keys
- Unittest框架之断言
猜你喜欢
Incremental ternary subsequence [greedy training]
Qt如何实现打包,实现EXE分享
92.(cesium篇)cesium楼栋分层
吃透Chisel语言.05.Chisel基础(二)——组合电路与运算符
去除重複字母[貪心+單調棧(用數組+len來維持單調序列)]
【FAQ】华为帐号服务报错 907135701的常见原因总结和解决方法
吃透Chisel语言.12.Chisel项目构建、运行和测试(四)——Chisel测试之ChiselTest
Rich text editing: wangeditor tutorial
吃透Chisel语言.10.Chisel项目构建、运行和测试(二)——Chisel中生成Verilog代码&Chisel开发流程
392. Judgement subsequence
随机推荐
吃透Chisel语言.05.Chisel基础(二)——组合电路与运算符
Use of arouter
递增的三元子序列[贪心训练]
去除重複字母[貪心+單調棧(用數組+len來維持單調序列)]
Incremental ternary subsequence [greedy training]
qt 怎么检测鼠标在不在某个控件上
TestSuite and testrunner in unittest
R语言使用dplyr包的group_by函数和summarise函数基于分组变量计算目标变量的均值、标准差
sharding key type not supported
[antd] how to set antd in form There is input in item Get input when gourp Value of each input of gourp
Understand chisel language thoroughly 06. Chisel Foundation (III) -- registers and counters
php 日志调试
1200. Minimum absolute difference
Mask wearing detection based on yolov1
Can mortgage with housing exclude compulsory execution
LifeCycle
IDEA快捷键大全
IP lab monthly resumption · issue 5
奇妙秘境 码蹄集
Understand chisel language thoroughly 09. Chisel project construction, operation and testing (I) -- build and run chisel project with SBT