How to Sync Mysql into Bigquery in realtime?

后端 未结 1 1742
小蘑菇
小蘑菇 2020-12-11 08:08

Currently I have some script which first deletes the table and upload the table from MySQL to Bigquery. And many time it had failed. Plus it run only once a day. I am lookin

相关标签:
1条回答
  • 2020-12-11 08:35

    Read these series of posts from Wepay, where they detail how they sync their MySQL databases to BigQuery, using Airflow:

    • https://wecode.wepay.com/posts/wepays-data-warehouse-bigquery-airflow
    • https://wecode.wepay.com/posts/airflow-wepay
    • (3rd one is about BigQuery)

    As a summary (quoting):

    • Setup authentication, connections, DAG.
    • Define which columns to pull from MySQL and load into BigQuery.
    • Choose how to load the data: incrementally, or fully.
    • De-duplicating.
    0 讨论(0)
提交回复
热议问题