Transfer CedarDB to DuckDB
Fast, streaming database-to-database transfer with parallel processing

Terminal
.\FastTransfer.exe `
--sourceconnectiontype "pgcopy" `
--sourceserver "your-source-server" `
--sourceuser "your-username" `
--sourcepassword "your-password" `
--sourcedatabase "your-source-db" `
--query "SELECT * FROM your_schema.your_table" `
--targetconnectiontype "duckdb" `
--targetserver "your-target-server" `
--targetuser "your-username" `
--targetpassword "your-password" `
--targetdatabase "your-target-db" `
--targetschema "your_table" `
--targettable "your_table" `
--parallelmethod "Ntile" `
--distributekeycolumn "id" `
--degree 10 `
--loadmode "Truncate"Source - CedarDB
CedarDB is a PostgreSQL-compatible database optimized for modern hardware. FastTransfer leverages PostgreSQL protocol for optimal compatibility.
Features:
- •PostgreSQL wire protocol compatibility
- •Direct streaming read from database
- •Full support for PostgreSQL data types
Parallel Method - Ntile
Divides data into N equal partitions based on a numeric column.
Requirement: Requires a numeric distribution column
Available parallel methods with CedarDB:
Destination - DuckDB
FastTransfer leverages DuckDB's Appender API, the fastest method to insert data into DuckDB. Ideal for fast local analytics.
Loading method:
Fast Appender API
Advantages:
- •Ultra-fast Appender API
- •No server required
- •Perfect for embedded analytics

