There are five common ways to connect MySQL to BigQuery, whether you want a one-time migration or a copy that stays in sync. They differ mostly in how fresh the data is, whether deletes come through, and how much you have to run yourself.
1. Scheduled exports
A nightly dump or SELECT ... INTO OUTFILE , then a BigQuery load job. Simple and cheap, but data is up to a day old, every run re-reads whole tables, and deletes only show up if you reload everything.
2. Incremental queries on updated_at
Fresher, but they miss deletes and any update that doesn't touch updated_at , and they put query load on MySQL.
3. Federated queries (Cloud SQL only)
BigQuery's EXTERNAL_QUERY reads Cloud SQL live with no copy at all, but every query hits your production database and nothing is stored in BigQuery.
4. Self-managed CDC
Debezium, Kafka and a BigQuery sink. Real time and flexible, but you operate several services and the merge logic for updates and deletes yourself.
5.…