News Infrastructure

Google Cloud makes BigQuery AlloyDB export generally available

Google Cloud's BigQuery can now send data straight to AlloyDB with one SQL statement, and Brazilian utility Copel uses it for smart meter data.

Google Cloud has made BigQuery exports to AlloyDB generally available, so one SQL statement can copy analytics data into a transactional database. Google Cloud says the feature removes the need for middleware between the two systems.

The task is called reverse ETL: moving processed data from an analytics warehouse back into a database that powers live applications. Google Cloud says this traditionally required middleware, staging buckets and complex orchestration, especially at enterprise scale. BigQuery is Google's analytics warehouse, and AlloyDB is its PostgreSQL-compatible transactional database.

Google Cloud describes how Copel, a Brazilian electric power provider, uses the export. Copel streams telemetry from millions of smart meters into BigQuery. That data must then reach AlloyDB to feed customer support dashboards, mobile apps and billing systems.

Copel previously ran this through a workflow in Google's managed Apache Airflow service. BigQuery wrote results to many CSV files in Cloud Storage, scripts loaded them into temporary AlloyDB tables, and a final step swapped in the production table. With the new export, BigQuery connects directly to AlloyDB over parallel connections, with no staging files, scripts or temporary tables. Nested data can be converted to JSONB during the export and stays queryable and indexable in PostgreSQL.

Source: Google Cloud announcement.