CMDB vs CMDB_CI

Samantha Sam
Tera Contributor

What is the difference between cmdb and cmdb_ci.

The definitions in docs dint help me to understand. Looking forward with examples.

Cheers

NK

1 ACCEPTED SOLUTION

In addition to Ashutosh,

There used to be only one BASE table cmdb_ci, there was no cmdb table prior to Jakarta.

During the Jakarta upgrade, the cmdb_ci table went through a migration process called Table Per Partition, and cmdb table was introduced as the base table of cmdb_ci.

This was introduced to improve Overall performance of cmdb tables.

https://community.servicenow.com/community?id=community_blog&sys_id=64bc6a25dbd0dbc01dcaf3231f961916...

View solution in original post

7 REPLIES 7

Kunal Varkhede
Tera Guru

Hi,

 

In Newyork version cmdb and cmdb_ci table shows parent child relationship.

Base Configuration item(cmdb) is parent of Configuration Item(cmdb_ci).

find_real_file.png

For more information just go through @Gowrisankar Sativada provided community link and knowledge Article it was helpful to you.

Thanks,

Kunal

 

Samantha Sam
Tera Contributor

In TPC (Table per Class) model, there was separate logical tables in the servicenow database. In jakarta they have incorporated table flatenning architechture. In TPP (Table Per Partition), all parent(cmdb) and children(cmdb_ci_hardware, cmdb_ci_computer etc.) are stored in a single logical table. New tables are getting created on demand basis which is known "partition". So if the single logical table is exceeding particular size limit a new partition will get created named as cmdb$par1, cmdb$par2 etc.

Exactly, this came into place to fix the size limitation issues faced by TPC.

TPH(Hierarchy) - You can see on task table

TPP(Partition) - You can see on cmdb table

All other tables with considerate number of records follow TPC.

You can check the Model a follows from Extension Model field on sys_db_object table.