管理管道使用情况
了解Pipelines费用,对比计费示例,并减少不必要的使用。
🌐 Understand Pipelines charges, compare billing examples, and reduce unnecessary usage.
你被收费的项目 #
🌐 What you are charged for
管道有三项费用:
🌐 Pipelines has three charges:
- 管道小时数衡量每个管道保持配置状态的时间,包括停止时。删除管道即可结束此费用。
- 初始同步数据已处理 是指在表首次同步或再次同步时,目标端接收的 Postgres 行数据。
- 正在进行的复制数据处理 是指目标系统接受的 Postgres 行数据,用于后续的数据库更改。它取决于你发布的数据变化量,而不是源表大小、WAL 大小或目标的压缩存储大小。
初始同步中排除的表不会产生初始同步数据费用。不过,管道小时费用和持续更改的费用仍然适用。详见选择要复制的表。
🌐 Tables excluded from Initial sync do not incur an initial sync data charge. Pipeline-hour charges and charges for ongoing changes still apply. See Choosing which tables to copy.
目的地提供商的费用是分开的。例如,谷歌云可能会对 BigQuery 的数据导入、存储和 CDC 计算收取费用。
🌐 Destination-provider charges are separate. For example, Google Cloud can charge for BigQuery ingestion, storage, and CDC compute.
价格 #
🌐 Pricing
| 计划 | 管道时间 | 初始同步 | 持续复制 |
|---|---|---|---|
| 免费 | - | - | - |
| 专业版 | $0.053/小时 | $0.60 每 GB | $3.00 每 GB |
| 团队版 | $0.053/小时 | $0.60 每 GB | $3.00 每 GB |
| 企业版 | 自定义 | 自定义 | 自定义 |
费用估算 #
🌐 Cost estimates
仪表板会根据源表元数据估算初始同步的数据量和成本,而无需扫描所有行。即使没有估算,你也可以创建管道或重新启动表复制。
🌐 The Dashboard estimates initial sync volume and cost from source table metadata without scanning all rows. You can create a pipeline or restart table replication even if an estimate is unavailable.
估算只是计划指导,而不是确切报价。实际费用是基于发布后复制的行数据列和行筛选,并被目的地接受的。
🌐 Estimates are planning guidance, not exact quotes. Actual charges reflect row data copied after publication column and row filters and accepted by the destination.
计费示例 #
🌐 Billing examples
账单周期没有初始同步 #
🌐 Billing period without an initial sync
这个项目整个月都有配置好的流程。
🌐 The project has a configured pipeline for the entire month.
| 明细项 | 单位 | 成本 |
|---|---|---|
| 专业计划 | - | $25 |
| 小型项目计算时间 1 | 730 小时 | $15.04 |
| ETL 管道小时 | 730 小时 | $38.69 |
| ETL 复制数据 GB | 150 GB | $450 |
| 小计 | $528.73 | |
| 计算积分 | -$10 | |
| 总计 | $518.73 |
多个项目的初始同步 #
🌐 Multiple projects with initial syncs
多个项目在整个月都有配置好的流程,并在初始同步和持续复制期间处理数据。
🌐 Multiple projects had a configured pipeline for the entire month and processed data during initial sync and ongoing replication.
| 项目条目 | 单位 | 成本 |
|---|---|---|
| Pro 计划 | - | $25 |
| 小项目 1 计算小时数 | 730 小时 | $15.04 |
| 小项目 1 ETL 管道小时数 | 730 小时 | $38.69 |
| 小项目 1 ETL 复制数据 GB | 15 GB | $45 |
| 小项目 1 ETL 回填数据 GB | 150 GB | $90 |
| 小项目 2 计算小时数 | 730 小时 | $15.04 |
| 小项目 2 ETL 管道小时数 | 730 小时 | $38.69 |
| 小项目 2 ETL 复制数据 GB | 70 GB | $210 |
| 小项目 2 ETL 回填数据 GB | 1,500 GB | $900 |
| 小计 | $1377.46 | |
| 计算积分 | -$10 | |
| 总计 | $1367.46 |
在删除管道一天后 #
🌐 After deleting a pipeline after one day
管道的使用时间是事后结算的。24小时后删除管道就可以停止收费;其他项目费用仍会继续。
🌐 Pipeline hours are billed in arrears. Deleting the pipeline after 24 hours ends that charge; other project charges continue.
| 项目条目 | 小时 | 成本 |
|---|---|---|
| 专业计划 | - | $25 |
| 小型项目 1 计算小时 | 730 | $15.04 |
| 项目 1 ETL 流水线小时 | 24 | $1.27 |
| 小计 | $41.31 | |
| 计算积分 | -$10 | |
| 总计 | $31.31 |
优化使用 #
🌐 Optimize usage
- 只包含目标位置需要的表和列。
- 当不需要用于分析时,尽量不要把变动频繁的表格放进发布中。
- 如果你不再需要复制,可以通过你的项目管道设置删除管道,以停止管道小时费用。
数据处理的方式如何被衡量 #
🌐 How data processed is measured
处理的数据是逻辑上的 Postgres 行数据,被目标接受,不依赖于物理存储大小或目标编码。
🌐 Data processed measures logical Postgres row data accepted by the destination, independent of physical storage size or destination encoding.
测量包括:
🌐 The measurement includes:
- 初始同步和重新同步:Postgres COPY 发出的行数据。
- 持续复制:Postgres 发出的行值,用于插入、更新和删除。更新包括新的行值以及 Postgres 发出的任何之前的标识值。删除包括发出的标识值。
Pipelines 重试的目标写入失败不会被计数。数据只有在目标确认成功处理后才会被计数。在极少数情况下,Pipelines 可能会计数已确认的批次,但在复制检查点保存之前崩溃或中断。恢复时可能会再次处理并计数相同的数据。
🌐 Failed destination write attempts that Pipelines retries are not counted. Data is counted only after the destination acknowledges successful processing. In rare cases, Pipelines can count an acknowledged batch but crash or be interrupted before its replication checkpoint is persisted. Recovery can then process and count the same data again.
在重新启动表复制、重复中断的初始同步,或恢复丢失的主槽后,数据再次成功处理也会被再次计数。重启管道通常会恢复已保存的进度,但启动恢复可能需要再次复制数据。
🌐 Data successfully processed again after restarting table replication, repeating an interrupted initial sync, or recovering a lost main slot is also counted again. Restart pipeline normally resumes saved progress, but startup recovery can require copying data again.
在你的发票上的用途 #
🌐 Usage on your invoice
你的发票上用“ETL 流水线小时”、“ETL 回填数据 GB”和“ETL 复制数据 GB”显示使用情况。
🌐 Usage is shown as "ETL Pipeline Hours", "ETL Copy Backfill Data GB", and "ETL Replicated Data GB" on your invoice.