What is the difference between "cmdb" and "cmdb_ci" tables?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
yesterday
What is the difference between "cmdb" and "cmdb_ci" tables?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
yesterday
@iamvps21 They don't hold the same data. cmdb is a parent table, and in ServiceNow table inheritance a query on a parent also returns rows from its child tables. So a query on cmdb shows every cmdb_ci record (and its descendants), plus any non-IT CIs. That overlap is inheritance, not duplicated data. A record such as a Linux server is stored once.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
yesterday
Hi @iamvps21
Refer:
| Feature | cmdb (Base Configuration Item) | cmdb_ci (Configuration Item) |
| Hierarchy Role | Root or top-level parent table in the CMDB hierarchy. | Direct child of cmdb and parent to most IT-related CI classes. |
| Primary Purpose | Defines the basic structure and common attributes for all Configuration Items (CIs), including generic or non-IT CIs. | Provides the core foundation for managing technical and IT-related CIs, such as servers, applications, and network devices. |
| Record Creation | Rarely used to create records directly; primarily serves as the foundation for other CMDB tables. | Acts as the base class for IT CIs. Actual records are generally created in more specific child tables. |
| Fields / Schema | Contains fundamental fields and attributes shared across the CMDB hierarchy. | Inherits fields from cmdb and introduces additional CI-specific attributes, such as name, class, manufacturer, and install status. |
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
yesterday
Hello @iamvps21 ,
| CMDB |
CMDB_CI |
|
Stands for Configuration Management Database. |
Stands for Configuration Item. |
|
Represents the overall Configuration Management Database. |
Represents the base table for Configuration Items. |
|
It is not a standard base table for storing CI records. |
It is a standard ServiceNow table. |
|
Does not directly store individual CI records. |
Stores common CI records and attributes. |
|
Represents the overall CMDB structure and concept. |
Acts as the parent table for specialized CI tables. |
|
Examples include the overall collection of configuration data. |
Examples: cmdb_ci_server, cmdb_ci_computer, cmdb_ci_database. |
|
Used to refer to the complete configuration management system. |
Used to manage, query, and maintain individual CI records. |
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
yesterday
Hello @iamvps21 ,
CMDB (Configuration Management Database) refers to the overall database in ServiceNow that stores and manages Configuration Items (CIs), their attributes, and relationships. Whereas, cmdb_ci is a specific base table within the CMDB hierarchy that stores common attributes of IT Configuration Items, such as servers, computers, and databases. Other CI tables, such as cmdb_ci_computer and cmdb_ci_server, extend the cmdb_ci table to store additional class-specific attributes. In simple words, CMDB is the overall database, whereas cmdb_ci is the base table used to manage IT Configuration Items.
Refer this :
If this helps you then mark it as helpful and accept as solution .