Reputation: 41
We have a FACT1 table from project1 located in US-Region & FACT2 table from project2 located in Asia Region.
We want to do a union/join between 2 tables and persist into table in Project2. But GCP is not allowing to querying tables in 2 different regions.
Kindly advise on what should be correct architecture.
Thanks, Kiran
Upvotes: 1
Views: 1375
Reputation: 75765
You can use BigQUery data tranfer and select a dataset copy.
https://cloud.google.com/bigquery-transfer/docs/locations
You can choose to overwrite your data or not, and to set a custom schedule to run it at the frequency that you want.
The feature is free, but you will pay inter-region traffic from asia to us to transfer your data. And because you replicate the data, you will also pay the storage on the asia data in the US location.
Upvotes: 2