WSO2 products are shipped with an H2 database, which serves as the default Carbon database. WSO2 IoT Server uses the embedded H2 database to store all the related data, e.g., device details, user details. H2 databases enable starting WSO2 IoT Server without performing any configurations. However, H2 databases are not recommended for production environments storing mission-critical information. You can change this default database to one of the standard databases listed below.
The following table lists out the databases (DBs) associated with WSO2 IoT Server and their criticality:
Database Type | Content | Criticality |
---|---|---|
Carbon | Registry details. | Not Critical |
Registry | Configuration and governance registry details. | Critical |
User Manager | User permissions, roles and superuser details | Critical |
CDM | Core device management data, e.g., device details, device operations, and device policies. | Critical |
Plugin | These databases hold device type details. By default there are three types of plugin databases:
| Critical |
Certificate Management | The mutual SSL certificate details. | |
App Manager | Application related details. | Critical |
Store | Store related data. | Not Critical |
Social | Data related to application ranking, ratings, and comments. | Depends on the use case |
Analytics Event Store | Persisted incoming events streamed from WSO2 Data Analytics Server (WSO2 DAS) as raw data in a tabular structure | Critical |
Analytics Processed Data Store | Summarized events data. | Critical |
MB Store | Messages passed through the broker. | Critical |
Metrics | Metrics pertaining to server performance. | Not Critical |