· rangkumin.tech

BigQuery can now export straight into AlloyDB with a single SQL statement

Google made BigQuery exports to AlloyDB generally available on November 13, replacing staging buckets and external orchestration with one declarative SQL statement that writes analytical data back into the transactional database.

Why it matters

Copel, a Brazilian electric power provider, used to move smart meter telemetry from BigQuery into AlloyDB through an Airflow DAG that dumped query results into dozens of CSV files in Cloud Storage, created temporary tables and swapped them in with sequential scripts.

In two tests on a 16-vCPU AlloyDB instance, an incremental export moved 18,145,589 rows in 2.32 GB at about 3.1 million rows per minute, while a full-table export moved 207,484,577 rows in 188.87 GB at about 4.2 million rows per minute, with CPU near 85%.

Google says the direct path removes staging storage and its API costs, keeps data inside its internal network instead of readable CSV files, and shrinks the pipeline to a single task. The same declarative export exists for Bigtable, Spanner and Pub/Sub.

Sources

Choose English or Indonesian. Up to two editions a day. Unsubscribe anytime.