Reference for Blockchain Platform

This guide lists the predefined objects in OCI Resource Analytics for the Blockchain Platform service. You can find information about views, entity relationships, subject areas, and sample queries.

Views

This section provides information about views within OCI Resource Analytics Blockchain Platform and their columns, data types, keys, and the referred view and column names. The following views are available:

Blockchain Platform Views
Name Description
BLOCKCHAIN_PLATFORM_DIM_V This view stores information about Blockchain Platform instances.
BLOCKCHAIN_FACT_V Fact table for the Blockchain Platform service.

The suffixes in the view names specify the view type:

  • FACT_V: Fact
  • DIM_V: Dimension

Relationship Diagram

This section provides diagrams that define the logical relationship of a fact table with different dimension tables.

The contents of each view and their relationships are listed in the following file: Blockchain views.

BLOCKCHAIN_FACT_V


Relationship diagram showing the fact table BLOCKCHAIN_FACT_V and its related dimension tables.

Sample Queries

Sample queries for Blockchain Platform.

Show the total storage used by platform instance.

SELECT
    PLATFORM_INSTANCE_ID,
    SUM(STORAGE_USED_IN_GBS) AS TOTAL_STORAGE_USED_IN_GBS
FROM OCIRA.BLOCKCHAIN_FACT_V 
WHERE LIFECYCLE_STATE <> 'TERMINATED'
GROUP BY PLATFORM_INSTANCE_ID;