|
| 1 | +--- |
| 2 | +sidebar_label: 'ClickPipes - PostgreSQL CDC' |
| 3 | +slug: /cloud/reference/billing/clickpipes/postgres-cdc |
| 4 | +title: 'ClickPipes for PostgreSQL CDC' |
| 5 | +description: 'Overview of billing for PostgreSQL CDC ClickPipes' |
| 6 | +--- |
| 7 | + |
| 8 | +# ClickPipes for PostgreSQL CDC {#clickpipes-for-postgresql-cdc} |
| 9 | + |
| 10 | +This section outlines the pricing model for our Postgres Change Data Capture (CDC) |
| 11 | +connector in ClickPipes. In designing this model, our goal was to keep pricing |
| 12 | +highly competitive while staying true to our core vision: |
| 13 | + |
| 14 | +> Making it seamless and |
| 15 | +affordable for customers to move data from Postgres to ClickHouse for |
| 16 | +real-time analytics. |
| 17 | + |
| 18 | +The connector is over **5x more cost-effective** than external |
| 19 | +ETL tools and similar features in other database platforms. |
| 20 | + |
| 21 | +:::note |
| 22 | +Pricing will start being metered in monthly bills beginning **September 1st, 2025,** |
| 23 | +for all customers (both existing and new) using Postgres CDC ClickPipes. Until |
| 24 | +then, usage is free. Customers have a 3-month window starting May 29 (GA announcement) |
| 25 | +to review and optimize their costs if needed, although we expect most will not need |
| 26 | +to make any changes. |
| 27 | +::: |
| 28 | + |
| 29 | +## Pricing dimensions {#pricing-dimensions} |
| 30 | + |
| 31 | +There are two main dimensions to pricing: |
| 32 | + |
| 33 | +1. **Ingested Data**: The raw, uncompressed bytes coming from Postgres and |
| 34 | + ingested into ClickHouse. |
| 35 | +2. **Compute**: The compute units provisioned per service manage multiple |
| 36 | + Postgres CDC ClickPipes and are separate from the compute units used by the |
| 37 | + ClickHouse Cloud service. This additional compute is dedicated specifically |
| 38 | + to Postgres CDC ClickPipes. Compute is billed at the service level, not per |
| 39 | + individual pipe. Each compute unit includes 2 vCPUs and 8 GB of RAM. |
| 40 | + |
| 41 | +## Ingested data {#ingested-data} |
| 42 | + |
| 43 | +The Postgres CDC connector operates in two main phases: |
| 44 | + |
| 45 | +- **Initial load / resync**: This captures a full snapshot of Postgres tables |
| 46 | + and occurs when a pipe is first created or re-synced. |
| 47 | +- **Continuous Replication (CDC)**: Ongoing replication of changes—such as inserts, |
| 48 | + updates, deletes, and schema changes—from Postgres to ClickHouse. |
| 49 | + |
| 50 | +In most use cases, continuous replication accounts for over 90% of a ClickPipe |
| 51 | +life cycle. Because initial loads involve transferring a large volume of data all |
| 52 | +at once, we offer a lower rate for that phase. |
| 53 | + |
| 54 | +| Phase | Cost | |
| 55 | +|----------------------------------|--------------| |
| 56 | +| **Initial load / resync** | $0.10 per GB | |
| 57 | +| **Continuous Replication (CDC)** | $0.20 per GB | |
| 58 | + |
| 59 | +## Compute {#compute} |
| 60 | + |
| 61 | +This dimension covers the compute units provisioned per service just for Postgres |
| 62 | +ClickPipes. Compute is shared across all Postgres pipes within a service. **It |
| 63 | +is provisioned when the first Postgres pipe is created and deallocated when no |
| 64 | +Postgres CDC pipes remain**. The amount of compute provisioned depends on your |
| 65 | +organization's tier: |
| 66 | + |
| 67 | +| Tier | Cost | |
| 68 | +|------------------------------|-----------------------------------------------| |
| 69 | +| **Basic Tier** | 0.5 compute unit per service — $0.10 per hour | |
| 70 | +| **Scale or Enterprise Tier** | 1 compute unit per service — $0.20 per hour | |
| 71 | + |
| 72 | +## Example {#example} |
| 73 | + |
| 74 | +Let's say your service is in Scale tier and has the following setup: |
| 75 | + |
| 76 | +- 2 Postgres ClickPipes running continuous replication |
| 77 | +- Each pipe ingests 500 GB of data changes (CDC) per month |
| 78 | +- When the first pipe is kicked off, the service provisions **1 compute unit under the Scale Tier** for Postgres CDC |
| 79 | + |
| 80 | +### Monthly cost breakdown {#cost-breakdown} |
| 81 | + |
| 82 | +**Ingested Data (CDC)**: |
| 83 | + |
| 84 | +$$ 2 \text{ pipes} \times 500 \text{ GB} = 1,000 \text{ GB per month} $$ |
| 85 | + |
| 86 | +$$ 1,000 \text{ GB} \times \$0.20/\text{GB} = \$200 $$ |
| 87 | + |
| 88 | +**Compute**: |
| 89 | + |
| 90 | +$$1 \text{ compute unit} \times \$0.20/\text{hr} \times 730 \text{ hours (approximate month)} = \$146$$ |
| 91 | + |
| 92 | +:::note |
| 93 | +Compute is shared across both pipes |
| 94 | +::: |
| 95 | + |
| 96 | +**Total Monthly Cost**: |
| 97 | + |
| 98 | +$$\$200 \text{ (ingest)} + \$146 \text{ (compute)} = \$346$$ |
0 commit comments