.
Back
Database Management

Reliable database management for modern, high-performance systems.

Back
Data Modernisation

Reliable database management for modern, high-performance systems.

Back
Data Engineering

Reliable database management for modern, high-performance systems.

Back
Analytics & Intelligence

Reliable database management for modern, high-performance systems.

Back
Data Strategy Consulting

Reliable database management for modern, high-performance systems.

MySQL to VeloDB vs ClickHouse: Data Migration & CDC Compared

Paramesh M
Published on
October 16, 2026

1. Executive Summary

This report documents a hands-on technical evaluation of two capabilities that are core to any MySQL-to-OLAP adoption: (a) one-time data migration, and (b) continuous live data streaming (Change Data Capture, or CDC). Both capabilities were evaluated against the same MySQL source database on VeloDB Cloud and on a self-managed ClickHouse deployment.

Across both areas, VeloDB Cloud consistently required less configuration, fewer moving parts, and produced a working result faster and more reliably than the equivalent ClickHouse setup.

  • Migration: VeloDB's Catalog feature connected to MySQL and loaded data through a single guided workflow, with no server-side configuration changes required. ClickHouse required manual network and config file edits, and one edit briefly took the ClickHouse service down entirely.
  • Live Streaming (CDC): VeloDB's managed CDC pipeline captured MySQL inserts, updates, and deletes in real time out of the box. ClickHouse's native CDC engine (MaterializedMySQL) has been removed in current versions; replicating the same capability required standing up an external Kafka + Debezium stack, which failed on the available compute due to memory constraints.
Results at a glance

Steps to load data

1 stepVeloDB Cloud: CREATE TABLE AS SELECT
2 stepsClickHouse: pass-through table, then MergeTree copy

Target-side config changes

NoneVeloDB Cloud: guided Catalog wizard
Edit + restartClickHouse: listener config edit and service restart

Extra CDC infrastructure

0VeloDB Cloud: managed CDC built in
3ClickHouse: Kafka, Kafka Connect, Debezium

Live CDC outcome

WorkingINSERT, UPDATE, DELETE verified end to end
BlockedCapture to Kafka verified; pipeline stopped by memory limits

Summary of the hands-on evaluation on the same MySQL 8.4 source

2. Architecture

Architecture: MySQL to VeloDB Cloud
MySQL source (AWS EC2)Binlog enabled, row format
host, port, user, password
VeloDB import data jobSource connection + table selection
Initial loadOne-time full snapshot copy
Incremental syncContinuous binlog capture
VeloDB Cloud warehouseNative tables: city, country, countrylanguage

Initial load and incremental sync run together, so the warehouse stays a live, continuously up-to-date copy of the MySQL source.

Architecture diagram

3. Objective

  • Evaluate the real-world steps, tooling, and infrastructure required to (a) migrate an existing MySQL dataset and (b) stream ongoing MySQL changes in real time, into VeloDB Cloud and into ClickHouse.
  • Identify friction points, configuration overhead, and reliability issues encountered on each platform.
  • Provide a factual basis for selecting a MySQL-to-OLAP migration and streaming target for future client projects.

4. Test Environment

ItemVeloDB CloudClickHouse
Source databaseMySQL 8.4 on Ubuntu (AWS EC2, ap-south-1)Same MySQL source, shared by both targets
DatasetMySQL "world" sample database: city (4,080 rows), country (239 rows), countrylanguage (984 rows)Identical dataset used for both targets
Target platformVeloDB Cloud (managed SaaS, AWS us-west-1)ClickHouse Server, self-installed on AWS EC2 (ap-south-1)
Access methodVeloDB Cloud web console: Catalogs, Import Data, SQL EditorSSH + clickhouse-client on the EC2 instance, plus Docker for CDC tooling

Test environment

Part A: One-Time Data Migration

A.1 Migration Path: VeloDB Cloud

  • Opened the VeloDB Cloud console and navigated to Catalogs.
  • Created a new MySQL Catalog by entering Host, Port, Username, Password, and target database. No config files, no server restarts.
  • Clicked "Test Connection". It connected successfully on the first valid credential attempt.
  • Ran a single CREATE TABLE … AS SELECT statement per table in the built-in SQL Editor to physically copy data from the MySQL catalog into VeloDB's native storage.
  • Verified row counts matched the source (city: 4,080; country: 239; countrylanguage: 984) on the first attempt.
VeloDB Cloud · SQL EditorCatalog: internal · Cluster: initial_cluster
▶ RunLimit 1,000 rowsDatabase: geopits
use paramesh;select count(*) from paramesh.city;select count(*) from paramesh.country;select count(*) from paramesh.countrylanguage;select * from paramesh.city where id=54321; create database geopits;use geopits; CREATE TABLE countrylanguage (    CountryCode VARCHAR(3) NOT NULL,    Language VARCHAR(30) NOT NULL,    IsOfficial CHAR(1) NOT NULL,    Percentage DECIMAL(4,1) NOT NULL)ENGINE=OLAPUNIQUE KEY(CountryCode, Language)DISTRIBUTED BY HASH(CountryCode) BUCKETS 10PROPERTIES (    "replication_num" = "1");SHOW CATALOGS;SELECT current_catalog();
Results · 5 ms · 1 row
#current_catalog()
1internal
city4,080
rows in VeloDB = rows in MySQL ✓
country239
rows in VeloDB = rows in MySQL ✓
countrylanguage984
rows in VeloDB = rows in MySQL ✓

Run Query: verification queries in the VeloDB Cloud SQL Editor

Verification query results in VeloDB Cloud's SQL Editor confirm successful row counts and the newly created countrylanguage table under the geopits database.

A.2 Migration Path: ClickHouse

  • Provisioned a dedicated EC2 instance and installed ClickHouse Server via apt.
  • The initial attempt to connect to the source MySQL instance failed because MySQL was not yet configured for external access.
  • Edited MySQL's server configuration (bind-address) and restarted the MySQL service to permit remote connections.
  • Created a CREATE TABLE … ENGINE = MySQL(…) pass-through table, then a second CREATE TABLE … ENGINE = MergeTree() AS SELECT statement to physically copy the data. This is a two-step process rather than VeloDB's single guided workflow.
  • Verified row counts matched the source after the second (physical copy) step.

A.3 Migration: Side-by-Side Comparison

StepVeloDB CloudClickHouse (self-managed)
Setup methodFully UI-guided (Catalog wizard)Command line + manual config file edits
Server config changes required (target side)NoneNetwork/listener configuration edit + service restart
Steps to load physical data1 (CREATE TABLE AS SELECT)2 (pass-through table, then MergeTree copy)
Errors encountered during setupNoneAn invalid XML edit briefly took the ClickHouse service down; a dynamic EC2 IP address broke an existing connection string mid-task
Suitability for non-DBA / junior engineersHigh: no infrastructure knowledge requiredModerate: requires Linux/server administration familiarity

Migration: side-by-side comparison

Part B: Live Data Streaming (Change Data Capture)

Beyond a one-time migration, both platforms were evaluated for their ability to continuously reflect ongoing changes (inserts, updates, deletes) made to the source MySQL database in near real time.

B.1 Live Streaming Path: VeloDB Cloud

  • Enabled MySQL binlog (row-based format) and granted replication privileges to the connecting user. This is a one-time source-side prerequisite common to any CDC approach.
  • Configured VeloDB's live-streaming ingestion against the same MySQL source used for the Catalog connection.
  • Validated the pipeline by performing INSERT, UPDATE, and DELETE operations directly on the MySQL source and confirming each change appeared in VeloDB automatically, without any manual re-sync.
VeloDB Cloud · Import Data

Databases

Integrate with databases to enable automatic table creation and continuous data ingestion.

  • PGPostgreSQL
  • MyMySQLUsed in this test
  • RDSAmazon RDS for PostgreSQL
  • AuAmazon Aurora for PostgreSQL
  • RDSAmazon RDS for MySQL
  • AuAmazon Aurora for MySQL

Object Storage

Integrate with object storage to load data into the target data warehouse.

  • S3Amazon S3

Event Streams

Continuously load and process data from event streams into the target data warehouse.

  • CCConfluent Cloud
  • KApache Kafka
  • MSKAmazon MSK

Import Data

VeloDB Cloud's Import Data interface offers native connectors for MySQL and PostgreSQL databases, S3 object storage, and event streams (Kafka, Confluent, MSK) to support continuous data ingestion.

Add Import Job: MySQLStep 1 of 4
  1. Source Data Connection
  2. Configure Tables
  3. Settings
  4. Verify and Confirm
Job Name *
mysql_world_cdc
Comment
AWS MySQL to VeloDB CDC Test
Host *
<mysql-source-host>
Port *
3306
JDBC URL
jdbc:mysql://<mysql-source-host>:3306
User *
<replication-user>
Password *
••••••••••••
Enable SSL
Off
Reverse Private Endpoint
Off
Next

Source Data Connection for Import Job

VeloDB's "Add Import Job: MySQL" wizard captures the source MySQL connection details, including host, port, JDBC URL, and credentials.

Add Import Job: MySQLStep 2 of 4
  1. Source Data Connection
  2. Configure Tables
  3. Settings
  4. Verify and Confirm
Target Database *
Existing DatabaseNew Database
Database Name *
Geopits
Sync Type *
Initial Load + Incremental SyncIncremental Sync only
Select Tables to Migrate *
  • sample_data
  • world
  • city
  • country
  • countrylanguage
PreviousNext

Configure Tables to Import Job

The table configuration step targets a new Geopits database with "Initial Load + Incremental Sync" selected and the city, country, and countrylanguage tables chosen for migration.

Add Import Job: MySQLStep 3 of 4
  1. Source Data Connection
  2. Configure Tables
  3. Settings
  4. Verify and Confirm
Sync Interval (seconds)
60
Strict Mode
On
Error Rate: Max Filter Ratio
0 %
PreviousNext

Settings for Import Job

The sync settings step configures a 60-second sync interval with Strict Mode enabled and a 0% max filter ratio.

Add Import Job: MySQLStep 4 of 4
  1. Source Data Connection
  2. Configure Tables
  3. Settings
  4. Verify and Confirm
ChecklistResultDescription
MySQL Connectivity Check✓ SucceededNone
MySQL Source Configuration Check✓ SucceededNone
Target Connectivity Check✓ SucceededNone
Target Permission Check✓ SucceededNone
PreviousRecheckStart

Verify & Confirm to Import Data

The Verify and Confirm step shows all pre-flight checks (MySQL connectivity, source configuration, target connectivity, and target permissions) succeeded before the job started.

VeloDB Cloud · Import Data1 row in total
Job NameSource TypeStatusSourceDestinationLag
mysql_world_cdcMySQLRunningworldGeopitsNone

Change events verified in this test

MySQL
INSERT
VeloDB ✓
MySQL
UPDATE
VeloDB ✓
MySQL
DELETE
VeloDB ✓

Data Imported: the CDC job streaming from the world MySQL source into Geopits

The Import Data dashboard confirms the mysql_world_cdc job is actively running, streaming from the world MySQL source into the Geopits destination database.

B.2 Live Streaming Path: ClickHouse

  • ClickHouse's previous native CDC mechanism, the MaterializedMySQL database engine, returned an "Unknown database engine" error. This engine has been officially removed from current ClickHouse releases.
  • The current recommended path for MySQL CDC into ClickHouse is an external Debezium + Kafka pipeline (MySQL binlog → Debezium → Kafka → ClickHouse Kafka table engine).
  • Kafka and Kafka Connect (Debezium) containers were deployed via Docker. Kafka repeatedly crashed with an out-of-memory error, as the available compute instance did not have sufficient RAM to run ClickHouse and a full Kafka/Debezium stack simultaneously.
  • A working Debezium → Kafka capture of MySQL binlog events was independently validated (change events were confirmed flowing into a Kafka topic). The approach is technically sound, but completing the pipeline into ClickHouse requires materially more infrastructure than a single small instance provides.
ClickHouse CDC path tested
Removed
MaterializedMySQL database engine
Unknown database engine returned on current ClickHouse releases, so native MySQL CDC was not available.
  1. MySQL binlogRow-based change eventsVerified
  2. Debezium (Kafka Connect)Reads binlog, publishes eventsVerified
  3. Kafka topicEvents confirmed flowing inOut of memory, crashed repeatedly
  4. Kafka engine tableClickHouse consumer tableNot reached
  5. Materialized viewTransforms consumed rowsNot reached
  6. MergeTree tableFinal analytical storageNot reached

The capture layer (MySQL to Kafka) worked. Completing the pipeline into ClickHouse needs more compute than a single small instance running ClickHouse, Kafka, and Debezium together.

ClickHouse live streaming path: MySQL binlog, Debezium, Kafka, ClickHouse

B.3 Live Streaming: Side-by-Side Comparison

ItemVeloDB CloudClickHouse
Native CDC supportYes: fully managed, built into the platformNo: the previous native engine (MaterializedMySQL) is removed from current versions
Additional infrastructure requiredNoneKafka + Kafka Connect + Debezium connector (separately provisioned and sized)
Setup complexityEnable binlog on source → configure streaming in the VeloDB consoleEnable binlog on source → deploy Kafka → deploy Debezium Connect → register connector → build Kafka-engine table → build materialized view into MergeTree
Operational ownershipFully managed by VeloDB CloudCustomer owns, sizes, and monitors the Kafka + Debezium layer
Result in this evaluationWorking end to end (INSERT / UPDATE / DELETE verified live)Capture layer (MySQL → Kafka) verified; full pipeline into ClickHouse blocked by compute constraints on the test instance

Live streaming (CDC): side-by-side comparison

5. Conclusion & Recommendation

Across both one-time migration and live streaming, VeloDB Cloud delivered a materially simpler, faster, and more reliable path from MySQL to an analytical (OLAP) platform, with no additional infrastructure to design, provision, or operate.

  • Migration into VeloDB required zero server-side configuration and completed without error. Migration into ClickHouse required multiple manual configuration edits, one of which caused a service outage.
  • Live streaming into VeloDB worked immediately using a built-in, managed capability. The equivalent ClickHouse capability has been discontinued in current releases, and its replacement (Debezium + Kafka) requires standing up and operating a separate distributed system, which could not be completed on the available test compute.

Recommendation: For MySQL-to-OLAP projects that require both a straightforward initial migration and ongoing real-time synchronisation, VeloDB Cloud is the recommended platform based on this evaluation. It materially reduces engineering time, infrastructure ownership, and operational risk compared to a self-managed ClickHouse + Kafka + Debezium stack.

Paramesh M

Paramesh M specializes in data engineering, with a focus on building data pipelines and developing scalable data solutions. His technical expertise includes Databricks, data engineering workflows, and Apache Superset, supported by certifications in Databricks Data Engineering and Apache Superset.

Our Latest Blogs

From monitoring to modernization, GeoPITS provides expert database management services that enhance performance, strengthen security, and reduce operational costs.

Ready to Transform Your Data?

Geopits works alongside your team as a strategic partner, starting with stabilizing your current databases, then modernizing your data infrastructure, and ultimately helping you unlock the full potential of AI.

170

Happy Clients so far

2100+

Databases Managed

142+

Successful Migrations

Thank you! Your submission has been received!
Oops! Something went wrong while submitting the form.