当前位置:网站首页>Logic of data warehouse zipper table
Logic of data warehouse zipper table
2022-07-26 08:34:00 【ZenPower】
- Full zipper
1、 Extract the full amount of data from the source database , The current day partition stored in the data warehouse source layer table (SA surface )
2、 Put the data warehouse source layer table into the full volume data of the current day partition , Dump into the current table of the history layer (SH surface )
3、 Handle the zipper table of the historical layer of the warehouse (SH_H surface ): It will exist in the zipper table of the historical layer of the warehouse (SH_H surface ) in , But it does not exist in the current table of the history layer (SH surface ) The data of , Perform chain closure ( The opening date remains unchanged , The closing date is the same day )
4、 Handle the zipper table of the historical layer of the warehouse (SH_H surface ): It will exist in the zipper table of the historical layer of the warehouse (SH_H surface ) in , And exists in the current table of the history layer (SH surface ) The data of ( This part of data is not updated or newly added , The opening date remains unchanged , The closing date is permanently valid ),UNION ALL On , Existing in the current table of the history layer (SH surface ) The data of , But it doesn't exist in the history layer zipper table (SH_H surface ) The data of ( This part of data is updated or newly added data , The opening date is the same day , The closing date is permanently valid ), Open the chain
- Incremental zipper
- Running water
边栏推荐
- 基于C语言的哈夫曼转化软件
- 【EndNote】文献类型与文献类型缩写汇编
- 2022-7-7 personal qualifying 4 competition experience
- 苹果强硬新规:用第三方支付也要抽成,开发者亏大了!
- 日常一记(11)--word公式输入任意矩阵
- Dev gridcontrol captures key events
- Flutter custom player progress bar
- Flutter text is left aligned with no blank space in the middle
- Random distribution learning notes
- 23.10 Admin features
猜你喜欢
Vscode utility shortcut
I am 35 years old.
Take out brother is the biggest support in this society
Date and time function of MySQL function summary
基于C语言的哈夫曼转化软件
Basic configuration of BGP
Mysql8 dual master and dual slave +mycat2 read / write separation
CV learning notes (optical flow)
苹果强硬新规:用第三方支付也要抽成,开发者亏大了!
Spark persistence strategy_ Cache optimization
随机推荐
Mycat2 sub database and sub table
22-07-12 personal training match 1 competition experience
Automation and disconnection monitoring of video addition
B title: razlika priority queue approach
Grid segmentation
matplotlib学习笔记
2022/7/18 exam summary
Sed job
23.9 application exit application exit
Shell programming
六、品达通用权限系统__pd-tools-log
Run file command
Memory management - dynamic partition allocation simulation
Template summary
CV learning notes (optical flow)
随机分布学习笔记
第三天作业
Alphabetic string
【C语言】程序员筑基功法——《函数栈帧的创建与销毁》
Kotlin function