CMDB schema model

  • Release version: Zurich
  • Updated July 31, 2025
  • 3 minutes to read
  • Summarize
    Summarized using AI
    This content was generated using new OpenAI-powered functionality. Results are provided on an as is basis and are not guaranteed to be accurate or complete.

    Summary of CMDB schema model

    The Configuration Management Database (CMDB) schema model in ServiceNow is a structured set of interconnected tables that store detailed information about an organization's assets, business services, and their configurations. It enables IT teams to track and manage the relationships and attributes of various configuration items (CIs), enhancing operational understanding and integration with other processes such as Asset Management and Contract Management.

    Show full answer Show less

    Key Features

    • Class Hierarchy: The CMDB contains core classes like Base Configuration Item [cmdb] for non-IT CIs and Configuration Item [cmdbci] for IT CIs, with numerous extended classes such as Database, Computer, Server, and UNIX Server, supporting detailed classification and management.
    • Schema Map: Customers can view class relationships and table structures via the Schema Map under System Definition > Tables & Columns, facilitating better understanding of CI dependencies and classifications.
    • CI Attributes and Classification: Attributes define characteristics of CIs and their classification hierarchy. Unique attributes create branches in the classification tree, allowing differentiation between similar asset types (e.g., Linux vs. UNIX servers).
    • Integration with Related Apps: The CMDB integrates seamlessly with Asset Management, Software Asset Management, and Contract Management, linking assets, licenses, contracts, and vendor details for comprehensive lifecycle management.
    • ServiceNow Store Apps: Additional apps like CMDB CI Class Models, Discovery Patterns, and Service Graph Connectors extend the CMDB’s capabilities by adding new classes, discovery mechanisms, and pre-built integrations for third-party data.

    Key Outcomes

    • Enables IT teams to maintain an accurate and comprehensive inventory of assets and their configurations, improving incident triage and operational efficiency.
    • Supports prioritization of critical infrastructure components by allowing designation of Principal Classes, focusing attention on key classes such as servers, databases, network devices, and storage.
    • Facilitates better relationship mapping among devices and services, which is crucial for understanding dependencies and managing changes effectively.
    • Provides a foundation for automated discovery and integration processes that keep the CMDB current and reliable.

    The Configuration Management Database (CMDB) schema model is a series of connected tables that contain all the assets and business services controlled by a company and its configurations.

    Related ServiceNow® Store apps and reference information:
    • CMDB tables descriptions: Descriptions of key CMDB tables in the base system.
    • CMDB CI Class Models: A ServiceNow Store app that adds class models that extend the base CMDB class hierarchy. This includes class descriptions, identification rules, identifier entries, and dependent relationships if applicable. You can then use the added classes as any other CMDB base class.
    • Populating the CMDB: Information about the various options for populating the CMDB.
    • Discovery patterns: A ServiceNow Store app that provides a library of Discovery patterns for discovering specific devices and applications in the industry.
    • Getting started with Service Graph Connectors: ServiceNow Store apps that provide pre-defined integrations for importing and integrating common third-party data into CMDB classes. Also includes the IntegrationHub ETL wizard for creating new ETL transform maps.

    CMDB tables contain information about computers and devices on the network, software contracts and licenses, business services, and so on. The IT desk can use the CMDB to better understand their network users' equipment, and the relationships between them. The CMDB can also be referenced by other processes within the system.

    Applications such as Asset Management and Contract Management, operate in conjunction with the CMDB. Asset Management and Software Asset Management link to CMDB all assets, hardware, software, assets in stock, as well as records for manufacturers and vendors. The Contract Management application contains information about contracts, including leases, service contracts, purchase orders, warranties, and software licenses. The Configuration Management Database (CMDB) application has a focus on operation.

    For more background information about the CMDB, see the ServiceNow Community post at CMDB 101- What is a configuration management database and why do you need one?.

    Key class categories

    The following items are general class categories that are typically key in organizations. You can for example, use this list as a general guideline for choosing classes to be set as Principal Class so you can track health and pay attention to the most important classes in your CMDB. For more information about Principal Class, see Update class list in the Principal Class filter:
    • Servers (physical and virtual): Classes that are typically well-understood, relatively stable, and which form the backbone of most infrastructure.
    • Databases: Classes of high business impact, critical for incident triage, and relatively straightforward to discover and maintain.
    • Network devices (core infrastructure): Classes such as routers, switches, firewalls, and load balancers—hardware that connects everything. If setting as Principal Class, then as a general guideline, prioritize core and critical devices over access switches.
    • Application servers.
    • Storage.

    Key CMDB classes

    Key classes in the CMDB:

    • The Base Configuration Item [cmdb] class, which is the core CMDB class for non IT CIs (descending classes are non IT CIs).
    • The core Configuration Item [cmdb_ci] class, which stores the basic attributes of all the CIs. The admin, itil, or asset user role is required to access this table (descending classes are IT CIs).
    • The CI Relationship [cmdb_rel_ci] class, which defines all relationships between CIs.

    The Configuration Item class is extended to other classes, such as Database [cmdb_ci_database] and Computer [cmdb_ci_computer]. The Computer class is extended to the Server [cmdb_ci_server] class, which is extended to the UNIX Server [cmdb_ci_unix_server] class, and so on.

    Note:
    The Base Configuration Item [cmdb] class uses the table per partition extension model, which has different behaviors for replicating and deriving information than other extended tables. See Table extension and classes.
    You can use the schema map to view more details of class and their relationships:
    1. Navigate to System Definition > Tables & Columns.
    2. Select a table and click Schema Map.
    Note:
    CIs not extended from the Configuration Item [cmdb_ci] table, are not displayed in Dependency Views maps and in CI relation formatters.

    CI attributes

    Attributes apply to all the CIs in a classification. To change attribute values for a CI, edit the appropriate CI. To add a unique attribute to a class, extend the class table and create a new classification for that CI.

    The position of a CI in a classification hierarchy is determined by the attributes it shares with the CIs below it. Each time a CI has a single different attribute from its parent, the classification hierarchy branches.

    For example, servers have different attributes from computers, which include workstations and laptops. Linux servers and UNIX servers have different attributes from the parent server classification and from each other, so they occupy separate branches in the hierarchy.