管理只读副本的使用
你被收费的项目 #
🌐 What you are charged for
每个只读副本都是一个专用数据库。你需要为它的资源付费,这些资源包括以下内容,并且与主数据库镜像同步:
🌐 Each Read Replica is a dedicated database. You are charged for its resources, which are the following, and mirrored from the primary database:
我们怎么算费用 #
🌐 How we calculate charges
Read Replica 费用是下面列出的所有费用的总和。
🌐 Read Replica charges are the total of the charges listed below.
计算 #
🌐 Compute
计算按小时收费,这意味着你只需为只读副本实际运行的小时数付费,因此会产生计算使用费用。如果只读副本运行了部分小时,你仍然需要为整小时付费。
🌐 Compute is charged by the hour, meaning you are charged for the exact number of hours that a Read Replica is running and, therefore, incurring Compute usage. If a Read Replica runs for part of an hour, you are still charged for the full hour.
只读副本运行在与主数据库相同的计算规模上。
🌐 Read Replicas run on the same Compute size as the primary database.
磁盘容量 #
🌐 Disk size
查看管理磁盘大小使用指南了解我们如何计算费用的详细信息。只读副本的磁盘大小是主磁盘的1.25倍,以考虑WAL归档。有了只读副本,你的磁盘大小可能会超出订阅计划的配额。
🌐 Read the Manage Disk Size usage guide for details on how we calculate charges. The disk size of a Read Replica is 1.25x the size of the primary disk to account for WAL archives. With a Read Replica you go beyond your subscription plan's quota for Disk Size.
预置磁盘 IOPS(可选) #
🌐 Provisioned Disk IOPS (optional)
只读副本会继承主数据库的任何额外配置的磁盘 IOPS。查看磁盘 IOPS 使用管理指南了解我们如何计算费用的详细信息。
🌐 Read Replicas inherit any additional provisioned Disk IOPS from the primary database. Read the Manage Disk IOPS usage guide for details on how we calculate charges.
预配置磁盘吞吐量(可选) #
🌐 Provisioned Disk Throughput (optional)
只读副本会继承主数据库提供的任何额外磁盘吞吐量。查看磁盘吞吐量使用指南了解我们如何计算费用的详细信息。
🌐 Read Replicas inherit any additional provisioned Disk Throughput from the primary database. Read the Manage Disk Throughput usage guide for details on how we calculate charges.
IPv4(可选) #
🌐 IPv4 (optional)
如果主数据库配置了 IPv4 地址附加功能,它的只读副本也会被分配一个,并且每个都会产生费用。详情请阅读管理 IPv4 使用指南了解我们如何计算费用。
🌐 If the primary database has configured an IPv4 address add-on, its Read Replicas are also assigned one, with charges for each. Read the Manage IPv4 usage guide for details on how we calculate charges.
在你的发票上的用途 #
🌐 Usage on your invoice
只读副本产生的计算费用会在你的账单上显示为“副本计算小时”。磁盘大小、磁盘 IOPS、磁盘吞吐量和 IPv4 不会单独显示在只读副本上,而是合并到项目中。
🌐 Compute incurred by Read Replicas is shown as "Replica Compute Hours" on your invoice. Disk Size, Disk IOPS, Disk Throughput and IPv4 are not shown separately for Read Replicas and are rolled up into the project.
计费示例 #
🌐 Billing examples
没有配置额外的资源 #
🌐 No additional resources configured
这个项目有一个只读副本,没有 IPv4,也没有配置额外的磁盘 IOPS 和磁盘吞吐量。
🌐 The project has one Read Replica, no IPv4, and no additional Disk IOPS and Disk Throughput configured.
| 项目 | 单位 | 费用 |
|---|---|---|
| 专业计划 | 1 | $25 |
| 小型项目 1 计算小时 | 730 小时 | $15 |
| 项目 1 磁盘大小 | 8 GB | $0 |
| 小型副本计算小时 | 730 小时 | $15 |
| 副本磁盘大小 | 10 GB | $1.25 |
| 小计 | $56.25 | |
| 计算积分 | -$10 | |
| 总计 | $46.25 |
已配置额外资源 #
🌐 Additional resources configured
该项目有两个只读副本、IPv4,以及额外配置的磁盘 IOPS 和磁盘吞吐量。
🌐 The project has two Read Replicas, IPv4, and additional Disk IOPS and Disk Throughput configured.
| 项目 | 单位 | 费用 |
|---|---|---|
| 专业计划 | 1 | $25 |
| 计算小时 大型项目1 | 730小时 | $111 |
| 磁盘大小 项目1 | 8 GB | $0 |
| 磁盘 IOPS 项目 1 | 3600 | $14.40 |
| 磁盘吞吐量项目 1 | 200 MB/s | $7.12 |
| IPv4 小时项目 1 | 730 小时 | $4 |
| 计算小时 大型副本 1 | 730 小时 | $111 |
| 磁盘大小 副本 1 | 10 GB | $1.25 |
| 磁盘 IOPS 副本 1 | 3600 | $14.40 |
| 磁盘吞吐量 副本 1 | 200 MB/s | $7.12 |
| IPv4 小时 副本 1 | 730 小时 | $4 |
| 计算小时 大型副本 2 | 730 小时 | $111 |
| 磁盘大小 副本 2 | 10 GB | $1.25 |
| 磁盘 IOPS 副本 2 | 3600 | $14.40 |
| 磁盘吞吐量副本 2 | 200 MB/s | $7.12 |
| IPv4 小时副本 2 | 730 小时 | $4 |
| 小计 | $437.06 | |
| 计算积分 | -$10 | |
| 总计 | $427.06 |
常见问题 #
🌐 FAQ
计算积分适用于只读副本计算吗? #
🌐 Do Compute Credits apply to Read Replica Compute?
不,计算积分不适用于只读副本计算。
🌐 No, Compute Credits do not apply to Read Replica Compute.