Caution
Direct SQL queries on the database are not allowed. Do not modify the data stored in the database system.
Consult first your customer project team during the implementation phase of SAP CC.
Important Note
SAP does not recommend that you use direct SQL queries for statistics or monitoring an SAP CC production system.
Consult first your SAP Support Team.
Recommendation
SAP recommends that you consult the SAP CC 5.0 Application Help for more information about the possible use conditions and technical implementation limitations that relate to your database.
This SAP product documentation is a complete reference of the schema of SAP CC Session Database, a component of the SAP Convergent Charging software product. SAP CC Session Database is a back-end database of SAP CC Core Server in real-time environment with online charging services (OCS) based on session management.
The database contains data related to a particular business process (session-based charging) handled by the SAP CC Core Server system. This data includes:
Refer to this information when administering the SAP CC system or the database system, installing/upgrading, or updpating/patching SAP CC tables in your database.
The database schema describes the structure, all the tables (entities), the columns (attributes), and the keys (relationships) of SAP CC Session Database.
Note
This schema is the logical schema. It informs the design of the database whatever the database system. It includes partial information about the physical schema (implementation in different database systems) and about the conceptual schema (concepts and relationships).
Caution
Direct SQL queries on the database are not allowed. Do not modify the data stored in the database system.
Consult first your customer project team during the implementation phase of SAP CC.
Important Note
SAP does not recommend that you use direct SQL queries for statistics or monitoring an SAP CC production system.
Consult first your SAP Support Team.
All the necessary SQL scripts are delivered with SAP Convergent Charging to:
Delivered SQL scripts are stored in one of the following SAP CC installation folders:
<DRIVE>:\usr\sap\<SID>\CCD<SAP_INST_NB>\exe\CC_CORE_SERVER\session_sql
/usr/sap/<SID>/CCD<SAP_INST_NB>/exe/CC_CORE_SERVER/session_sql
Note
The delivered SQL scripts are stored in the SAP Central Repository of the SAP CC system. This file repository is available on the SAP Global Host in the following directory:
\\<SAP_GLOBAL_HOST>\sapmnt\<SID>\SYS\
/sapmnt/<SID>/SYS/
Where <SID> is the SAP system ID.
This database schema defines the necessary database indexes to speed up the retrieval of data stored in the database tables. The initial installation of SAP CC creates these indexes that you manage during technical operations.
This database schema defines some reserved spaces to optimize the physical storage of data in your database system. You configure and maintain these spaces.
SAP Convergent Charging provides advanced functions to ensure the highest level of performance (high volume of data, very high end-to-end throughput and latency) and high availability. These functions require database partitioning to improve the database performance with large and very large databases.
SAP CC associates a business partitioning mechanism to isolate some data during business operations.
For more information about the business partitioning in SAP Convergent Charging, consult the SAP CC 5.0 Application Help and the database section.
SAP CC delivers two schemas of Session Database.
| Class | Scope |
|---|---|
| Schema With Database Partitions |
|
| Schema Without Partition |
|
The RATING_SESSION database table includes a PARTITION_ID column that refers to the partition ID assigned to a subscriber account in customer master data in SAP CC Core Database. The data objects associated to a subscriber account are stored in the same database partition with the same partition ID.
See the SAP CC 5.0 Application Help for more information about the subscriber accounts and associated objects in customer master data.
Note
SAP CC provides you with two corresponding sets of SQL scripts.
All the necessary SQL scripts are delivered with SAP Convergent Charging to:
SAP CC delivers two sets of SQL scripts to install a new database system with or
without database partitioning.
The file naming convention uses the
enterprise and standard terms:
| Script Set | Script Name Patern |
|---|---|
| Database With Partitions |
|
| Database Without Partition |
|
Delivered SQL scripts are stored in one of the following SAP CC installation folders:
<DRIVE>:\usr\sap\<SID>\CCD<SAP_INST_NB>\exe\CC_CORE_SERVER\core_sql
/usr/sap/<SID>/CCD<SAP_INST_NB>/exe/CC_CORE_SERVER/core_sql
Note
The delivered SQL scripts are stored in the SAP Central Repository of the SAP CC system. This file repository is available on the SAP Global Host in the following directory:
\\<SAP_GLOBAL_HOST>\sapmnt\<SID>\SYS\
/sapmnt/<SID>/SYS/
Where <SID> is the SAP system ID.
To implement this database in your SAP system landscape, consider the following activities:
Refer to the SAP CC 5.0 Tuning Guide and Sizing Guidelines for SAP Convergent Charging for information about the the translation of your business requirements and IT strategy into hardware requirements based on predictions considering:
The sizes of the hardware and database are influenced by both business aspects and technological aspects.
Notes
Refer to the SAP CC 5.0 Installation Guide for information about the installation preparations, initial installation, and follow-up activities of this database system in your SAP CC system landscape.
Note
Refer to the information provided by the database supplier.
Refer to the SAP CC System Parameter Reference and SAP CC 5.0 Configuration Guide for more information about the configuration in SAP CC that relates to the databases. See the SQLHELPER_LOGIN system parameter.
During the project implementation phase or during the productive operation phase, consider the following activities:
Refer to the information provided by the database supplier for more information about the software maintenance of your database systems.
Note
The software maintenance of SAP Convergent Charging may change the database schema or the stored data. When the SAP CC system administrator implements a support package (SP) or a patch level of SAP Convergent Charging, the maintenance procedures modify the back-end database. Refer to the delivery notes (SAP Notes) provided with the new versions of SAP CC.
Install and use DBA Cockpit in SAP Solution Manager to monitor the back-end databases of SAP Convergent Charging. Refer to the SAP CC 5.0 Operations Guide for more information.
You can monitor the performance and health metrics reported by the instances of the running SAP CC Core Server system. These instances are connected to the back-end database system and manage several internal functions. By using CA Introscope for SAP in SAP Solution Manager, you can view the back-end activities that relate to the database commits, rollbacks, and prepared SQL statements.
See the {Database Name} on {Hostname} ({Database Type} DB) metric node in the SAP CC 5.0 Metric Reference and Performance Troubleshooting for more information and user assistance.
| Communication | From Logs | Performance |
|---|---|---|
|
You use SAP Solution Manager to detect connection or communication problems. You use the SAP CC Admin+ user interface: |
You use the logs of the database system. You use the logs and traces recorded in the SAP CC system. |
You use SAP Solution Manager. |