Transfer CedarDB to Citus Data

    Fast, streaming database-to-database transfer with parallel processing

    FastTransfer
    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 "pgcopy" `
      --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"
    Get FastTransfer

    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 - Citus Data

    FastTransfer uses PostgreSQL's binary COPY protocol for Citus with a PostgreSQL Compatible Source if you use pgcopy both in source and target connection types.

    Loading method:

    Binary COPY Protocol (Distributed)

    Advantages:

    • Binary COPY for maximum performance (Pg Compatible Source Only + pgcopy/pgcopy)
    • Automatic distribution across shards
    • Optimized for distributed tables