SQL Flow · Comparison

SQL Flow vs. Google Cloud Datastream

Datastream lands database changes in BigQuery, BigLake Iceberg tables or Cloud Storage, and nowhere else. If BigQuery is the destination, choose it. Choose SQL Flow when the destination is a database, Kafka, Pub/Sub or Microsoft Fabric, or when data must be masked and verified before it leaves your network.

The short answer

Choose SQL Flow when

  • The destination is an operational database (SQL Server, Azure SQL, PostgreSQL, Oracle, MySQL), Kafka, Pub/Sub or Microsoft Fabric. Datastream reaches databases only through extra Dataflow jobs.
  • Sensitive columns must be masked or filtered before data leaves your network. Datastream has no transformation or masking, and data lands in BigQuery as read.
  • Transactions must arrive whole and in order, and the result must be verified. Datastream delivers at least once, without guaranteed order and without validation.
  • SAP ASE is a source. Datastream has no SAP ASE connector.
  • Change volume is high and sustained. Datastream bills processed bytes, which Google says typically run 2 to 5 times the source data size, and BigQuery merge compute is billed on top.

Choose Google Cloud Datastream when

  • The destination is BigQuery, BigLake Iceberg tables or Cloud Storage. SQL Flow writes to none of them.
  • You want no software installed anywhere, not even an agent, and you are already on Google Cloud.
  • You capture MongoDB, Spanner, AlloyDB or Salesforce.
  • Change volume is small to moderate, where paying per GiB costs less than running anything yourself.

Where SQL Flow leads

A log broker your security team can sign off

A small read-only broker serves log files to SQL Flow. It never connects to the database and holds no credentials.

Almost no load on the source, at any volume

Decoding runs on SQL Flow’s agent, not in the database, so capture cost stays near zero however much the database writes.

Over 1 TB of transaction log per hour

In Spectral Core’s December 2026 TPC-C benchmark, SQL Flow read a recorded SQL Server 2025 transaction log at 1.17 TB/hour.

Distributed acceleration from on premises to the cloud

A capture agent beside the source and an apply agent beside the cloud database, so no write waits on a WAN round trip.

Side by side

SQL Flow and Google Cloud Datastream side by side
TopicSQL FlowGoogle Cloud Datastream
Product and price
What it is

Log-based CDC and replication from Spectral Core for SQL Server, Oracle, PostgreSQL, MySQL/MariaDB and SAP ASE, built around its own transaction-log readers.

  • One-way and two-way replication, initial load, and verification in one product.

Google Cloud’s serverless CDC service for analytics: it replicates operational databases and some SaaS applications into BigQuery, BigLake Iceberg tables and Cloud Storage.

How you run it

As a service: Spectral Core hosts and operates the control plane, and you install lightweight agents near your databases, which keeps row data in your network.

  • Or entirely on premises, including fully air-gapped.
  • Operated from the web UI, a complete CLI on Windows and Linux, or the REST API.

Fully managed and serverless, regional, Google Cloud only.

  • You configure connection profiles, streams and network connectivity: IP allowlist, SSH tunnel, VPC peering or Private Service Connect, with VPN or Interconnect from on-premises.
How you pay

Annual subscription per deployment, sized by load and change-rate capacity.

  • Pipelines, sources, targets and agents are unlimited, and there are no overage charges.
  • High availability, the WAN relay and two-way replication are add-on packs.
  • Prices are quoted on request.

CDC per GiB processed: $2.00 for the first 2,500 GiB a month, falling to $0.80 above 10,000 GiB.

  • Backfill is free for the first 500 GiB a month, then $0.40 per GiB.
  • Processed bytes are typically 2 to 5 times the source size.
  • BigQuery storage and merge compute are billed separately.
Reach
Sources

SQL Server (including Azure SQL, Managed Instance and RDS through native CDC), Oracle 12.2 to 26ai (RAC and ASM through LogMiner), PostgreSQL 14+, MySQL 8+ and MariaDB, and SAP ASE 16 on one qualified build.

  • No MongoDB, Spanner or Salesforce sources.

Oracle 11.2 to 21c (including RAC), SQL Server, PostgreSQL, MySQL/MariaDB, MongoDB, Spanner and Salesforce

  • ServiceNow, Dataverse and Workday in preview.
  • No SAP ASE.
Destinations

SQL Server, Azure SQL, Fabric SQL database, PostgreSQL, Oracle, MySQL/MariaDB and SAP ASE

  • Kafka and Google Pub/Sub as JSON
  • Microsoft Fabric through Open Mirroring.
  • No BigQuery, BigLake Iceberg or Cloud Storage targets.

BigQuery, BigLake Iceberg tables and Cloud Storage only.

  • Other databases are reachable only through Dataflow templates.
  • No Kafka or Pub/Sub.
Data types
  • SQL Server: every built-in type except schema-typed xml, including xml, json, vector, hierarchyid, geography, geometry and rowversion; sql_variant into SQL Server and Azure SQL.
  • Oracle DirectLog: native json, boolean and vector, xmltype stored as clob, object types and sdo_geometry flattened to columns, varrays as JSON, long, interval and timestamp with local time zone.
  • MySQL, PostgreSQL and SAP ASE: their common types, including json.
  • A type SQL Flow cannot carry exactly stops the table or pipeline by name, rather than arriving as NULL or being skipped.
  • Oracle up to 21c: anydata, varray, bfile, interval, long, user-defined types and sdo_geometry are replicated as NULL.
  • SQL Server: sql_variant and hierarchyid are not replicated, and column-encrypted values arrive as NULL.
  • Native json, boolean and vector are not documented.
Moving the data
How changes are read
  • SQL Server, Oracle and SAP ASE: SQL Flow reads the log files itself through the broker and decodes them on its own agent, so the database does no mining work and capture lag is milliseconds.
  • PostgreSQL: logical replication.
  • MySQL and MariaDB: the binlog.
  • Direct reading does not cover TDE-encrypted data, Oracle redo on ASM, or multi-instance RAC; those are captured through SQL Server native CDC or Oracle LogMiner.
  • Oracle: LogMiner (generally available) or a binary redo reader (preview, no TDE).
  • SQL Server: CDC change tables or transaction-log reading (no TDE).
  • PostgreSQL: logical decoding.
  • MySQL: binlog, by position or GTID.
Large values (LOBs)

Never truncated: a value is written whole, or the pipeline stops and names it.

  • SQL Server 2022 and 2025 DirectLog and Oracle DirectLog read large values from the log.
  • Where the log lacks the value, Oracle reads it as of the commit SCN, never the current value, and SQL Server reads it by key.
  • Values stream into the target in pieces within the row’s own transaction and wait in an encrypted disk spool, so value size does not drive memory.
  • Up to 2 GB per value into SQL Server, and up to 4 TiB into PostgreSQL large objects.

LOB values are fetched afterwards by a point-in-time query, and Google warns that intermediate changes might not be captured.

  • Without the large-object option, Oracle LOB columns arrive as NULL.
  • Rows are limited to 20 MB into BigQuery.
Throughput
  • SQL Server 2025: the transaction log read at 1.17 TB/hour; Kafka acknowledged 372,000 changes per second during the backlog drain, equivalent to 1.84 TB of log per hour; and the complete replay, from first log read to final Kafka append, averaged 684 GB/hour.
  • Oracle 26ai: 610 GB of redo per hour from first byte read to last Kafka append, at 221,000 changes per second.
  • Into PostgreSQL 19: 182,000 changes per second from SQL Server and 124,000 from Oracle.
  • Measured in Spectral Core’s December 2026 TPC-C benchmarks, replaying recorded logs.
  • Across a WAN, the relay keeps commits local to the target.

No current figure.

  • A 2021 Google post described per-stream throughput in tens of MB per second.
Filtering, transformation and masking

Per-target row filters that delete a row when it leaves the filter, chosen and computed columns, and versioned masking rule sets applied on the capture host.

  • Available from SQL Server or Oracle into SQL Server, Azure SQL or PostgreSQL.

Selection of schemas, tables and columns only.

  • No transformation or masking; that is done later in BigQuery or by adding Dataflow.
Schema changes

Column adds, drops, renames and type changes are applied in stream order on SQL Server-family and PostgreSQL targets.

  • A risky change holds only its own table for review.
  • Other database targets receive new columns automatically.

Picks up new columns at the destination.

  • Dropped columns stay and fill with NULL, and a rename becomes a drop plus an add.
  • Google documents that some changes, such as type changes or recreating a table, can corrupt data.
Running it safely
Long distances and failover

Distributed acceleration places a capture agent next to the source and an apply agent next to the target, for example on premises and in the cloud.

  • Compressed, encrypted batches cross the WAN with many in flight, and the target commits locally.
  • Optional standby agents take over in about 30 seconds and fence the old one out.

Survives a zone failure.

  • A regional outage stops the stream until the region recovers.
  • Streams resume from checkpoints and may deliver duplicates.
Two-way (active-active)

Yes, between the same or different engines, for example SQL Server with Azure SQL or PostgreSQL.

  • Each change carries its origin, so it never loops back.
  • A conflicting transaction is detected from row versions and held whole for resolution, rather than overwritten by a timestamp rule.

No.

  • One-way into analytics destinations only.
Checking and repairing the copy

Built in.

  • Compare checks every row while replication runs, rechecks rows that are still in flight, then repairs individual keys or resyncs one table.
  • Available from SQL Server, Azure SQL or Oracle into SQL Server, Azure SQL or PostgreSQL.

None.

  • Delivery is at least once and not guaranteed to be ordered; BigQuery’s merge mode deduplicates.

What decides it

Different destinations, different jobs

SQL Flow

SQL Flow maintains operational copies: another SQL Server, an Azure SQL or PostgreSQL database, a Kafka or Pub/Sub topic, or Microsoft Fabric through Open Mirroring. These destinations take transactions whole and need the copy to match the source.

Google Cloud Datastream

Datastream exists to put operational data into BigQuery with the least effort: no servers, merge or append-only tables, backfill that runs alongside CDC. If BigQuery is where the data goes, Datastream is the simpler and probably cheaper answer, and SQL Flow is not an option.

What leaves your network

SQL Flow

SQL Flow reads the source from an agent inside your network. Masking rule sets run on that agent, so unmasked values never reach the spool, the relay or the target. This covers SQL Server and Oracle sources feeding SQL Server, Azure SQL or PostgreSQL.

Google Cloud Datastream

Datastream reads the source from Google Cloud. You open a network path to the database, and every selected column lands in BigQuery as read. Masking happens afterwards, with BigQuery policy tags or views. SQL Server dynamic data masking is not honoured.

Cost behaviour at volume

SQL Flow

SQL Flow’s subscription is sized by capacity and does not grow with each additional gigabyte or target.

Google Cloud Datastream

Datastream’s per-GiB price is attractive at low volume. At high, sustained change rates the bill grows with processed bytes, which Google says typically run 2 to 5 times the source data, plus BigQuery merge compute. Model the cost with your real change volume before committing.

If you run a proof of concept

  1. If BigQuery is the only destination, Datastream is the default. Run SQL Flow only if another destination or a masking requirement is also in scope.
  2. Run a week of real changes through Datastream and read the processed-bytes and BigQuery merge charges.
  3. Make the schema changes your team actually ships, including a type change, and inspect the destination tables.

Cookie settings

Choose what Spectral Core can use on this browser. You can change your choices at any time.

Essential storageRemembers your privacy choices.
Always on