Technical Overview > Architecture > CHT Sync
Data synchronization tools to enable analytics
Instructions on migrating from couch2pg to CHT Sync for data synchronization and analytics
This page outlines guidelines for migrating from couch2pg to the data pipeline based on CHT Sync. One of the main changes in this flow is separating the syncing process from the data transformation, with dbt now handling the latter in cht-pipeline. This migration requires dbt models in the cht-pipeline repository instead of SQL views and tables. One thing to note is that the schema for CHT Sync differs from cht-couch2pg, so dbt models will not directly replace the SQL views and tables. For instructions on how to get started with dbt models, refer to the dbt models guide.
Data synchronization tools to enable analytics
Overview of data flows in the CHT for analytics, impact monitoring, and data science