COUNTER_SNAPSHOT

Counter Snapshots (Customer Master Data)

Definition


The COUNTER_SNAPSHOT table contains counter values for subscriptions or charging contracts

Description


The COUNTER_SNAPSHOT table contains counter values of subscriptions or charging contracts. The SAP CC system records the counter values in a snapshot during the charging and refilling operations.

Note

A subscription that is not set 'batch only' does not have any entry in this database table.

Technical Data


Schema Version 5.0.6
Filegroup C_SNAPSHOT_DATA
Partitioned Yes, when you use the partitioning scheme and corresponding SQL scripts

Summary


The COUNTER_SNAPSHOT table is defined by the following columns in your back-end database. See the column details for more information.

Name PK FK IX Uses Used by Definition
SNAPSHOT_SUB_OID PK_COUNTER_SNAPSHOT      SUBSCRIPTION (OID)
CACO (OID)
 

    The ID of the subscription or charging contract that the counters belong to

    More...

    SNAPSHOT_ID PK_COUNTER_SNAPSHOT       

      The ID of the snapshot
      SNAPSHOT_VALUE        

        The compound value of all the counters in the subscription or charging contract
        PARTITION_ID PK_COUNTER_SNAPSHOT       

          The partition ID of the subscriber account holding the subscription or charging contract

          More...

          Column Details

          The database schema defines the following columns. Check the definitions, types, available indexes, and formats:

          SNAPSHOT_SUB_OID

          Definition The ID of the subscription or charging contract that the counters belong to
          Description

          The identifier of the subscription or charging contract that includes the counters recorded in the snapshot.

          Type DECIMAL(28), NOT NULL
          Primary Key PK_COUNTER_SNAPSHOT

          SNAPSHOT_ID

          Definition The ID of the snapshot
          Type DECIMAL(4), NOT NULL
          Primary Key PK_COUNTER_SNAPSHOT

          SNAPSHOT_VALUE

          Definition The compound value of all the counters in the subscription or charging contract
          Type VARBINARY(MAX), NULL

          PARTITION_ID

          Definition The partition ID of the subscriber account holding the subscription or charging contract
          Description

          The identifier of the database partition of the subscriber account that holds the subscription or charging contract.

          Type DECIMAL(4), NOT NULL
          Primary Key PK_COUNTER_SNAPSHOT

          Primary Key Details

          See the primary key information:

          PK_COUNTER_SNAPSHOT

          Column(s) PARTITION_ID,SNAPSHOT_SUB_OID,SNAPSHOT_ID
          Filegroup C_SNAPSHOT_DATA