Comparison route

Single service comparison

Back to main page

Database Migration and Replication

Datastream

GCP Datastream is a serverless change data capture (CDC) service that streams row-level database changes from operational sources (Oracle, MySQL, PostgreSQL, SQL Server) to Google Cloud and third-party sinks. It is consumption-driven, autoscaling, and output-oriented: it delivers change events to destinations such as BigQuery, Cloud Storage, Cloud SQL, and Kafka topics rather than executing source-to-target database migration tasks.

Google Cloud logo

Google Cloud

Service information

Datastream iconDatastream

Shortname: Datastream

Huawei equivalent shortnames: DRS

Keywords: replication, database migration, cdc

Differences vs Huawei

Service boundary differs. DRS is a task-centric database migration/synchronization/DR engine: real-time migration, real-time synchronization, real-time DR, backup migration, data subscription, and workload replay, all landing data into another database. Datastream is event-delivery-centric: it emits CDC streams to heterogeneous sinks (BigQuery, Cloud Storage, Cloud SQL, Kafka), including non-database analytical targets. DRS's data subscription is the closest mode but is narrower in sink scope and is not serverless-consumption-based. Map mode-to-mode: Datastream CDC delivery maps to DRS data subscription or real-time synchronization depending on the destination.

Operating model and scaling differ. Datastream is serverless and autoscales with no provisioned instances to manage; throughput is governed per connection and by destination write capacity. DRS runs as managed tasks sized to a task specification/replication instance model with flow control, parallel shard reading, and resumable transfer you tune. Integrations differ accordingly: Datastream targets analytics pipelines (BigQuery, Kafka, Cloud Storage), while DRS targets Huawei managed databases (RDS, GaussDB, DDS) and cross-cloud/homogeneous hetero DB pairs, and pairs with UGO for schema conversion and workload replay. You cannot assume feature parity on supported source engines, DDL handling, backfill behavior, or transformation capabilities—validate each.

Pricing and operational responsibility differ. Datastream is metered by processed data volume with separate charges per source type. DRS is billed by task type and task specification over its runtime plus associated storage/transfer. With Datastream, Google manages capacity and you own change-event consumption and downstream pipeline idempotency; with DRS, you own task configuration, pre-migration checks, network/VPN/Direct Connect, and cutover orchestration, while Huawei manages the replication engine. Recompute TCO including peak load, retention, cross-region/interconnect traffic before assuming equivalence.

Migration to Huawei

Assess workload fit before assuming equivalence. Catalog source engines, versions, schemas, transaction volume, DDL cadence, and consumers of the CDC stream. DRS supports heterogeneous and homogeneous flows across 20+ relational and non-relational databases; verify the specific source-to-target pair in the DRS Supported Databases matrix. If the sink is an analytics store or Kafka-style message bus rather than another database, DRS data subscription or real-time synchronization may not be a like-for-like replacement—design a composed pattern (DRS plus DIS/MRS Kafka or FunctionGraph) and confirm the destination is supported.

Design the target and replication mode. For database-to-database modernization, choose the matched Huawei managed target (RDS for MySQL/PostgreSQL, GaussDB, DDS) and select DRS real-time migration for cutover or real-time synchronization for continuous replication. Use full plus incremental migration to minimize downtime, enable DRS pre-migration checks, and run a trial migration. For DR scenarios use DRS real-time DR; for CDC-event consumption beyond database targets, plan a DRS data subscription or DRS-to-stream integration and validate message format, ordering, and at-least-once semantics.

Execute data, schema, and application migration. Use UGO for heterogeneous schema/object conversion and compatibility assessment before DRS replication. Configure network connectivity (Direct Connect or VPN) from the GCP source, account for VPC peering or private endpoints, and set DRS flow control and retry policies. Replicate continuously while the application keeps writing to the source, monitor synchronization latency using DRS metrics, and use DRS data comparison/object-level comparison to verify consistency before cutover.

Validate and cutover, then review cost gaps. During cutover, stop source writes, let DRS drain incremental changes to the target, perform final data comparison, and redirect application traffic. Use DRS rollback if results diverge. After cutover, re-baseline pricing: replace Datastream's data-volume-metered billing with DRS task-specification billing plus RDS/GaussDB/DDS runtime, storage, backup, and cross-region/Direct Connect transfer. Confirm no one-click migration exists; the path is a planned, feature-by-feature validation with composed services, not a parity-preserving replatform.

Huawei Cloud logo

Huawei Cloud

Huawei equivalent service

Data Replication Service iconData Replication Service

Shortname: DRS

General function: Database Migration and Replication

Database migration, synchronization, and disaster recovery service with full-load and incremental replication modes.

Keywords: replication, database migration, cdc