What is the difference between "cmdb" and "cmdb_ci" tables?

iamvps21
Giga Contributor

What is the difference between "cmdb" and "cmdb_ci" tables?

3 REPLIES 3

Sanjay191
Kilo Patron

Hi @iamvps21 

Please find the below thread for this 

https://www.servicenow.com/community/virtual-agent-forum/cmdb-amp-cmdb-ci-difference/m-p/3300393


If my answer has helped with your question, please mark my answer as accepted solution and give a thumb up.
Thank You

Dr Atul - LNG
Tera Patron
  • The Base Configuration Item [cmdb] table, which is the core CMDB table for non IT CIs.
  • The Configuration Item [cmdb_ci] core table, which stores the basic attributes of all the CIs. The admin, itil, or asset user role is required to access this table.

 

https://www.servicenow.com/community/itsm-forum/list-few-major-tables-in-cmdb-management/m-p/793169

shubhamseth
Giga Sage

@iamvps21  I strongly recommend you to refer the docs site and ServiceNow university which will really help you to clear the concepets. 

However, sharing some details here for quick ref: 

 

cmdb is the root parent table, and cmdb_ci extends it. cmdb_ci is where IT configuration items live.

 

  • cmdb (Base Configuration Item): the core CMDB table for non-IT CIs, so classes that descend from it directly are non-IT CIs. It uses the table-per-partition extension model, which behaves differently for replicating and deriving information than ordinary table extension.
  • cmdb_ci (Configuration Item): stores the basic attributes of all CIs, and its descendant classes are the IT CIs. It extends the Base Configuration Item [cmdb] class. The hierarchy continues: Computer [cmdb_ci_computer] extends to Server [cmdb_ci_server], then to UNIX Server [cmdb_ci_unix_server], and so on.

Example: A Linux server record lives in cmdb_ci_linux_server. It inherits its fields from cmdb_ci_server, then cmdb_ci_computer, then cmdb_ci, and finally cmdb. Querying cmdb_ci returns every IT CI, whatever its class.