DBXDBX

Data Transfer

Move table data between connections or database engines.

Data Transfer copies table data from one connection to another. Use it for development, testing, migration, and consolidation workflows. It is not a replacement for a production-grade replication pipeline.

Use Cases

  • Copy part of production data into a development environment
  • Move data between engines such as MySQL, PostgreSQL, SQLite, and SQL Server
  • Consolidate multiple sources into an analysis database
  • Prepare reproducible datasets for testing

Cross-engine transfer involves type mapping, defaults, constraints, and auto-increment differences. Validate transferred data afterward, and rehearse important migrations in a test environment first.

Workflow

Select the Source

The source connection is where data is read from. Confirm the account can read the selected tables.

Select the Target

The target connection is where data is written. Confirm write permissions and verify the target environment.

Choose Tables

Transfer all tables or select only the tables you need. For large tables, consider transferring in smaller batches.

Start Transfer

DBX reads rows table by table and writes them to the target database using the selected mode. You can also choose whether target tables should be created.

Check Results

After transfer, inspect row counts, errors, and key fields.

During Transfer

DBX shows:

  • Current table
  • Rows transferred
  • Overall progress
  • Errors and the table that caused each error

If a table fails, the current transfer stops and shows the error. Fix the structure, permission, or constraint issue, then start the transfer again.

Transfer Options

OptionDetails
Create target tableTry to create the target table from the source structure when it does not exist
AppendInsert data after existing target rows
OverwriteClear the target table before writing source rows
UpsertUse key-aware write behavior where the target database path supports it
Batch sizeControl how many rows are written per batch

Database Coverage

SQL-based transfer is available for MySQL, PostgreSQL, SQLite, SQL Server, Oracle, ClickHouse, DuckDB, DM, and GaussDB. Cross-engine transfers use DBX's type mapping layer, so always verify row counts and important column values after transfer.

Before You Transfer

CheckWhy It Matters
Target environmentAvoid writing to the wrong database
Table structureField names, types, primary keys, and unique constraints affect inserts
Data volumeLarge tables may take longer or hit timeouts
ConstraintsForeign keys, unique constraints, and NOT NULL fields may fail writes
Sensitive dataProduction data may need masking before copying into lower environments

On this page