Skip to main content

database_price

Managed database SKU prices per Region.

Primary key: vendor_id, region_id, database_id, allocation, ha, ha_strategy. See the version history of this table on dbdocs.io.

Columns​

ColumnTypeConstraintsReferencesDescription
vendor_idVARCHAR(255)PKvendor.vendor_idReference to the Vendor.
region_idVARCHAR(255)PKregion.region_idReference to the Region.
database_idVARCHAR(255)PKdatabase.database_idReference to the Database.
allocationENUMPKAllocation method, e.g. on-demand or spot. See Allocation for the possible values.
haENUMPKHA level this price applies to. See DatabaseHaLevel for the possible values.
ha_strategyENUMPKHA strategy this price applies to. See DatabaseHaStrategy for the possible values.
unitENUMNOT NULLBilling unit of the pricing model. See PriceUnit for the possible values.
priceFLOATNOT NULLActual price of a billing unit.
price_upfrontFLOATNOT NULLPrice to be paid when setting up the resource.
price_tieredJSONNOT NULLList of pricing tiers with min/max thresholds and actual prices.
currencyVARCHAR(255)NOT NULLCurrency of the prices.
statusENUMNOT NULLStatus of the resource (active or inactive). See Status for the possible values.
observed_atDATETIMENOT NULLTimestamp of the last observation.

Foreign keys​

  • vendor_id, region_id → region (vendor_id, region_id)
  • vendor_id, database_id → database (vendor_id, database_id)
  • vendor_id → vendor (vendor_id)

Enums​

Allocation​

Server allocation options.

ValueDescription
ONDEMANDOn-demand server.
RESERVEDReserved server.
SPOTSpot/preemptible server.

DatabaseHaLevel​

High availability level for a managed database type.

ValueDescription
NONENo high availability.
SINGLE_ZONESingle-zone high availability, meaning multiple databases in the same zone with failover or multi-master.
MULTI_ZONEMulti-zone high availability, meaning multiple databases in multiple zones of the same region with failover or multi-master.
MULTI_REGIONMulti-region high availability, meaning multiple databases in multiple regions with failover or multi-master.

DatabaseHaStrategy​

High availability replication strategy for a managed database type.

ValueDescription
NONENo high availability strategy.
PASSIVE_STANDBYPassive standby for failover, e.g. standard RDS Multi-AZ with block storage replication.
READABLE_CLUSTERReadable cluster for read scaling and failover, e.g. RDS Multi-AZ Cluster / Aurora with engine replication.
MULTI_MASTERTrue multi-master, e.g. CockroachDB / Spanner / DynamoDB Global Tables.

PriceUnit​

Supported units for the price tables.

ValueDescription
YEARPrice per year.
MONTHPrice per month.
HOURPrice per hour.
GIBPrice per gibibyte (GiB).
GBPrice per gigabyte (GB).
GB_MONTHPrice per gigabyte (GB)/month.

Status​

Last known status of a resource, e.g. active or inactive.

ValueDescription
ACTIVEActive and available resource.
INACTIVEUnavailable. For Server/Database: temporary or unknown cause.
PLANNED_FOR_RETIREMENTPlanned for retirement; only valid for Server and Database.
RETIREDNot orderable anymore, but prices may still exist (e.g. active multi-year contracts). Only valid for Server and Database.