Monitor Elastic Pool Usage and Cost Savings

Using an elastic pool provides up to 87% compute cost savings. You can get a detailed breakdown of elastic pool usage and the cost savings using the tools, views, and reports supported by Autonomous AI Database.

Topics:

OCI Cost & Usage Analytics Application

The OCI Cost & Usage Analytics application illustrates elastic pool usage and billing in a graphical representation. It helps in analyzing cost, usage, and budgets for your compute resources in the Oracle Cloud Infrastructure console.

Not only can you obtain the billed ECPU count but also check the peak ECPU utilization of the pool leader and of each member. These breakdown details help identify the pool member or members that contribute to high usage of your compute resources. The application displays ECPU count in the multiples of 1x, 2x, or 4x the pool size. When a member is no longer in an elastic pool, the application still displays details about that member until it belonged to the pool.

Key advantages

The OCI Cost & Usage Analytics application shows charts and tables to view:

  • All elastic pools in your tenancy.

  • Database names of the members and the pool leader in each elastic pool.

    Hover the mouse pointer over a database name to view the OCID of the elastic pool leader or member.

  • Basic properties of an elastic pool, such as size, total capacity, and available capacity.

  • Detailed information about the usage and billing per hour at pool level and at member level.

Usage Detail Charts

For an elastic pool, the cost and usage application provides an Elastic Pool Capacity and Utilization chart to display:

  • Pool ECPU Billed Size

  • Pool ECPU Allocated

  • Pool ECPU Utilization

  • Members in Pool

  • Aggregated Peak ECPU Utilization

For each pool member, the cost and usage application provides an Elastic Pool Member ECPU Allocation and Utilization chart to display:

  • Database name of the pool leader and of each member

  • ECPU Allocation Size

  • ECPU Percentage Utilization

  • Available ECPU Capacity

  • Elastic Pool Usage Analysis

  • Peak ECPU Utilization

The cost and usage application displays Elastic Pool Details and Elastic Pool Usage Details as tables. The application shows Usage History Trend in graphical format. From the cost and usage application you can download reports containing detailed usage and billing information for elastic pools.

Prerequisites

The OCI Cost & Usage Analytics application is built on Oracle APEX and is available at ADB App Store.

  • Access ADB App Store and set up a SQL connection to your Autonomous AI Database instance.
  • From the ABD Apps catalog, install the OCI Cost & Usage Analytics application in the ADBS_COST_USAGE schema. See Manage Your Oracle Cloud Infrastructure Cost and Usage for more details.

Steps to View Elastic Pool Usage Details in OCI Cost & Usage Analytics

  1. From ADB App Store open the OCI Cost & Usage Analytics home page.

  2. Click Elastic pool cost and usage to open the details page.

  3. Select a pool leader database name from the given options.

    The page displays ECPU counts for Total pool compute capacity and Available pool compute capacity. The total pool compute capacity is equal to 4 times the pool size. Available pool compute capacity is the sum of total pool compute capacity minus the sum of individual ECPU allocation of each member and the pool leader.

  4. Click Cost history. Select a date to view the billed ECPU count, for example, 128 ECPUs, 256 ECPUs, 512 ECPUs per hour.

  5. Click Usage history. Select a date and billing range to view the following details:
    • Peak ECPU utilization of each pool member and the pool leader

    • A sum of peak ECPU usage

    • The ECPU billed usage in 1x, 2x, or 4x the pool size and the number of times the pool usage is reported. You can click a number in the Number of occurrences column to view further details.

  6. Click a billing hour to view peak ECPU utilization distribution for the members and the pool leader.

    It opens a new window and indicates the percentage that each member contributes to the bill for that hour.

You can view cost history and usage history up to the last 30 days.

OCI Usage Reports and OCI_USAGE_DATA View (for records until January 31, 2025)

You can use OCI usage reports and OCI_USAGE_DATA view to obtain elastic pool usage details in Oracle Cloud Infrastructure (OCI) until January 31, 2025.

See Cost and Usage Reports and OCI_USAGE_DATA_EXT View for more information.

Note

The OCI usage reports are deprecated. You can continue to access your existing usage report CSV files until July 31, 2025.

The following table shows the product/resource column values in an OCI usage report. The OCI usage report provides details on elastic pool usage for the pool leader and for pool members a given billing hour (similar information is available in OCI_USAGE_DATA view):

Elastic Pool Usage Type Billing Hour Values Shown
Member Compute Usage

For a given pool member where the product/resourceId column of the OCI usage report is equal to pool member’s OCID and the product/resource column of the OCI usage report is equal to PIC_ADBS_DB_ECPU_PEAK, the usage/billedQuantity of the OCI usage report shows the peak ECPU usage of the member in a specified billing hour.

You can use the following query to view the same usage details in the OCI_USAGE_DATA view:

SELECT billed_quantity FROM OCI_USAGE_DATA
   WHERE resource_name='PIC_ADBS_DB_ECPU_PEAK' and
                resource_id=OCID_of_the_pool_member and
                interval_usage_start=start_time and
                interval_usage_end=end_time
Note

If a member has a local a local Autonomous Data Guard standby, its peak usage will be reported as two times (2 x) the peak usage. See About Billing Autonomous AI Database Elastic Pools with Autonomous Data Guard for more information.
Leader Compute Usage

For a given pool leader where the product/resourceId column of the OCI usage report is equal to pool leader's OCID and the product/resource column of the OCI usage report is equal to PIC_ADBS_DB_ECPU_PEAK, the usage/billedQuantity of the OCI usage report shows the peak ECPU usage of the leader in a specified billing hour.

You can use the following query to view the same usage details in the OCI_USAGE_DATA view:

SELECT billed_quantity FROM OCI_USAGE_DATA
   WHERE resource_name='PIC_ADBS_DB_ECPU_PEAK' and
                resource_id=OCID_of_the_pool_leader and
                interval_usage_start=start_time and
                interval_usage_end=end_time
Note

If the leader has a local a local Autonomous Data Guard standby, its peak usage will be reported as two times (2 x) the peak usage. See About Billing Autonomous AI Database Elastic Pools with Autonomous Data Guard for more information.
Aggregated Pool Compute Usage

For a given pool leader where the product/resourceId column of the OCI usage report is equal to pool leader's OCID and the product/resource column of the OCI usage report is equal to PIC_ADBS_ELASTIC_POOL_DB_ECPU, the usage/billedQuantity of the OCI usage report shows the aggregated peak ECPU usage of the leader and all members in the specified billing hour.

You can use the following query to view the same usage details in the OCI_USAGE_DATA view:

SELECT billed_quantity FROM OCI_USAGE_DATA
   WHERE resource_name='PIC_ADBS_ELASTIC_POOL_DB_ECPU' and
                resource_id=OCID_of_the_pool_leader and
                interval_usage_start=start_time and
                interval_usage_end=end_time

Notes for elastic pool billing information in the OCI usage report and the OCI_USAGE_DATA view:

  • Elastic pool aggregate peak ECPU usage is shown for terminated databases.

  • Elastic pool aggregate peak ECPU usage is shown for non-pool databases that were part of an elastic pool during a billing hour when the database was a member of an elastic pool.

See Billing Information: Autonomous AI Transaction Processing ECPU Compute Model and Track Oracle Cloud Infrastructure Resources, Cost and Usage Reports with Autonomous AI Database Views for more information.

OCI Cost Reports and OCI_COST_DATA View (for records after January 31, 2025)

You can use OCI cost reports and OCI_COST_DATA view to obtain elastic pool cost details in Oracle Cloud Infrastructure (OCI) after January 31, 2025.

See Cost and Usage Reports and OCI_COST_DATA_EXT View for more information.

The following table shows the product/resource column values in an OCI cost report. The OCI cost report provides details on elastic pool usage for the pool leader and for pool members for a given billing hour and similar information is available in OCI_COST_DATA view.

Elastic Pool Usage Type Billing Hour Values Shown
Member Compute Usage

For a given pool member where the product/resourceId column of the OCI cost report is equal to a pool member’s OCID and the product/Description column is equal to 'Autonomous Database - Elastic Pool Individual DB Peak ECPU', the usage/billedQuantity column of the OCI cost report shows the peak ECPU usage of the member in a specified billing hour.

You can use the following query to view the same usage details in the OCI_COST_DATA view:

SELECT billed_quantity FROM OCI_COST_DATA
   WHERE product_description='Autonomous Database - Elastic Pool Individual DB  Peak ECPU' and
                resource_id=OCID_of_the_pool_member and
                interval_usage_start=start_time and
                interval_usage_end=end_time
Note

If a member has a local a local Autonomous Data Guard standby, its peak usage will be reported as two times (2 x) the peak usage. See About Billing Autonomous AI Database Elastic Pools with Autonomous Data Guard for more information.
Leader Compute Usage

For a given pool leader where the product/resourceId column of the OCI cost report is equal to pool leader's OCID, and the product/Description column is equal to 'Autonomous Database - Elastic Pool Individual DB Peak ECPU', the usage/billedQuantity column of the cost report shows the peak ECPU usage of the leader in a specified billing hour.

You can use the following query to view the same usage details in the OCI_COST_DATA view:

SELECT billed_quantity FROM OCI_COST_DATA
    WHERE 
        product_description='Autonomous Database - Elastic  Pool Individual DB Peak ECPU' and
        resource_id=OCID_of_the_pool_leader and
        interval_usage_start=start_time and
        interval_usage_end=end_time
Note

If the leader has a local a local Autonomous Data Guard standby, its peak usage will be reported as two times (2 x) the peak usage. See About Billing Autonomous AI Database Elastic Pools with Autonomous Data Guard for more information.
Aggregated Pool Compute Usage

For a given pool leader where the product/resourceId column of the cost report is equal to pool leader's OCID and the product/Description column of the cost report is equal to product/Description column is equal to 'Autonomous Database - Elastic Pool ECPU', the usage/billedQuantity column of the cost report shows the aggregated peak ECPU usage of the leader and all members in the specified billing hour.

You can use the following query to view the same usage details in the OCI_COST_DATA view:

SELECT billed_quantity FROM OCI_COST_DATA
   WHERE product_description='Autonomous Database - Elastic  Pool ECPU' and
            resource_id=OCID_of_the_pool_leader and
            interval_usage_start=start_time and
            interval_usage_end=end_time

Notes for elastic pool billing information in the OCI cost report and the OCI_COST_DATA view:

  • Elastic pool aggregate peak ECPU usage is shown for terminated databases.

  • Elastic pool aggregate peak ECPU usage is shown for non-pool databases that were part of an elastic pool during a billing hour when the database was a member of an elastic pool.

See Billing Information: Autonomous AI Transaction Processing ECPU Compute Model and Track Oracle Cloud Infrastructure Resources, Cost and Usage Reports with Autonomous AI Database Views for more information.

Elastic Pool Cost Savings Details in OCI

You can view the elastic pool cost savings achieved for your database from its Details page on the Oracle Cloud Infrastructure (OCI) console.

To view the elastic pool cost savings:

  1. On the Oracle Cloud Infrastructure console, click the hamburger menu in the top corner to display the navigation menu.
  2. Click Oracle AI Database in the navigation menu and select Autonomous AI Database.

    The Autonomous AI Databases page opens, showing the list of databases in your current Compartment.

  3. On the Autonomous AI Databases page, select your Autonomous Database from the links under the Display name column.
  4. On the Autonomous AI Database Information tab, under Resource Allocation, click the Actions icon next to Elastic pool, and select View elastic pool cost savings.

    The Elastic pool cost savings dialog opens.

    Note

    If the elastic pool is created in the current calendar month, the View Elastic Pool Cost Savings button remains disabled until the next calendar month.

  5. The Elastic pool cost savings dialog displays the following fields over the last three calendar months:
    • Usage with Elastic Pool:This field displays the cost of the elastic pool for the specific calendar month, measured in ECPU hours.
    • Estimated usage without Elastic Pool: This field displays the projected cost you would spend if you did not have an elastic pool.
    • Cost Savings with Elastic Pool: This field displays the cost savings in %. It is calculated based on the difference between Estimated usage without Elastic Pool and Usage with Elastic Pool.
  6. Optionally, you can toggle to enable the Display projected cost savings with auto scaling field. This toggle is disabled by default.

    When you enable the Display projected cost savings with auto scaling toggle, the Estimated usage without Elastic Pool field displays the projected cost you would spend if all your databases in the pool were out of the pool and used compute auto-scaling.

This clear presentation of cost savings provides transparent insight into the savings achieved through elastic pooling.