Reference for Streaming

This guide lists the predefined objects in OCI Resource Analytics for the Streaming 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 Streaming and their columns, data types, keys, and the referred view and column names. The following views are available:

Streaming Views
Name Description
STREAMING_CONNECT_HARNESS_DIM_V This view stores information about the detailed representation of a connect harness.
STREAMING_STREAM_DIM_V This view stores information about the detailed representation of a stream, including all its partitions.
STREAMING_STREAM_POOL_DIM_V This view stores information about the details of a stream pool.
STREAMING_STREAM_FACT_V Fact table for Streaming streams.

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: Streaming views.

STREAMING_STREAM_FACT_V


Relationship diagram showing STREAMING_STREAM_FACT_V and its related dimension tables.

Relationships exist among dimensions. Dimensions can be joined directly to each other.

STREAMING_CONNECT_HARNESS_DIM_V


Relationship diagram showing STREAMING_CONNECT_HARNESS_DIM_V and its related dimension tables.

Sample Queries

Sample queries for Streaming.

List the number of streams per stream pool.

SELECT
    STREAM_POOL_ID,
    COUNT(STREAM_ID) AS STREAM_COUNT
FROM OCIRA.STREAMING_STREAM_FACT_V F
GROUP BY STREAM_POOL_ID;