Data Warehouse-Friendly Database Design

OLAP vs. OLTP

Data Synchronization Method

Typical Table Fields

Synchronization Process

Deduplication Process

Data Verification Process

total = select count(*) from table_a
created = select count(*) from table_a where created_time = T+1
deleted = select count(*) from table_a where created_time <= T and modified_time < = T and deleted_flag = true
result = total - created - deleted

Conclusion

--

--

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store