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.
2. Architecture
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
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.
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
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'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.
VeloDB's "Add Import Job: MySQL" wizard captures the source MySQL connection details, including host, port, JDBC URL, and credentials.
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.
The sync settings step configures a 60-second sync interval with Strict Mode enabled and a 0% max filter ratio.
The Verify and Confirm step shows all pre-flight checks (MySQL connectivity, source configuration, target connectivity, and target permissions) succeeded before the job started.
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.
B.3 Live Streaming: 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.


.avif)