Compartment Quotas

Use Compartment Quotas in Oracle Base Database service to control resource consumption within compartments.

Compartment quotas give tenant and compartment administrators better control over how resources are consumed in Oracle Cloud Infrastructure, enabling administrators to easily allocate resources to compartments using the OCI Console.

General Information

Using compartment quotas, you can restrict, on a compartment by compartment basis, the availability of the following Base Database resources in your tenancy:

  • Available data storage
  • Number of available OCPUs

Note:

Quotas are enforced only for provisioning databases and manually scaling their allocated CPUs up or down.

You can manage the compartment quotas to limit the availability of a given resource in a given compartment using the set, unset and zero policy statements. These policy statements are written in a simple declarative language that is similar to the IAM policy language.

set

Sets the maximum number of cloud resources that can be used for a compartment.

For example, the following statement sets vm-standard-a1-ocpu-count quota to 40 OCPUs in the compartment MyCompartment:

set database quota vm-standard-a1-ocpu-count to 40 in compartment MyCompartment

unset

Resets quotas back to the default service limits.

For example, the following statement resets the quota for vm-standard-a1-ocpu-count in the entire tenancy:

unset database quota vm-standard-a1-ocpu-count in tenancy

zero

Removes access to a cloud resource for a compartment.

For example, the following statement disallows use of outbound email or notifications in the compartment MyCompartment:

Zero email-delivery quotas in compartment MyCompartment
Zero notifications quotas in compartment MyCompartment

For more information about quotas, see Overview of Compartment Quotas.

Available Quotas

The following table lists the quotas for Base Database service.

Family name: database

Table - Available Quotas

Name Scope Description
vm-block-storage-gb Availability domain Total size (in GB) of block storage attachments across all DB systems.
vm-standard1-ocpu-count Availability domain Number of VM.Standard1.x OCPUs for the Intel X7 processor (fixed shape) based DB systems.
vm-standard2-ocpu-count Availability domain Number of VM.Standard2.x OCPUs for the Intel X7 processor (fixed shape) based DB systems.
vm-standard3-ocpu-count Availability domain Number of VM.Standard3.Flex OCPUs for the Intel X9 processor (flexible shape) based DB systems.
vm-standard-a1-ocpu-count Availability domain Number of VM.Standard.A1.Flex OCPUs for the Arm-based Ampere A1 processor (flexible shape) based DB systems.
vm-standard-e4-ocpu-count Availability domain Number of VM.Standard.E4.flex OCPUs for the AMD processor (flexible shape) based DB systems.