Astrica | Resource Center

The ServiceNow Relational Database

Written by Lauren Filippo | Jul 24, 2026 12:06:43 PM
 

At the core of the ServiceNow platform is a powerful relational database that supports everything from simple record tracking to complex enterprise workflows. Every application you interact with—whether it’s incident management, change tracking, or custom development—relies on this structured system. Gaining a clear understanding of how ServiceNow organizes and connects data is essential for building scalable solutions and maintaining a clean, efficient environment.

ServiceNow uses a relational database model where data is organized into tables, and each table contains records made up of fields. What makes this model powerful is the way relationships are established between tables using reference fields, allowing data to be connected and reused rather than duplicated.

Users typically interact with this data through list and form interfaces. List views allow you to browse and filter multiple records at once, while form views provide a detailed look at a single record for editing or review.

 

Database Structure

The foundation of the database begins with tables. A table represents a specific type of data, such as tasks, users, or requests. Each table contains records, which are individual entries, and those records are composed of fields that store specific pieces of information.

ServiceNow includes two primary types of tables. Core, or base tables, are part of the out-of-the-box system and do not have a parent table. A common example is the Task table, which serves as a foundation for many other processes. In contrast, custom tables are created manually to meet specific business needs. These tables typically follow naming conventions such as using a “u_” prefix for global customizations or “x_” for scoped applications.

Each record within a table is uniquely identified by a 32-character sys_id. This identifier is critical to how ServiceNow functions internally, as it ensures that every record can be uniquely referenced and reliably linked to others.

Fields define the structure of each record and contain the actual data. Every field has three key components: the label, which is the user-friendly name displayed in the interface; the name, which is the system-level identifier used in scripts and configurations; and the value, which is the actual data stored in that field. Understanding this distinction becomes especially important when working with automation or integrations.

 

Table Relationships

One of the most powerful aspects of ServiceNow’s database is its ability to create relationships between tables. These relationships are primarily established through reference fields, which link a record in one table to a record in another. Each reference field connects a source table to a target table, enabling data to flow across the system in a structured way.

There are several types of relationships supported within ServiceNow. A one-to-many relationship allows a single record in one table to be associated with multiple records in another, such as a single user linked to many incidents. Many-to-many relationships expand on this by allowing records in both tables to be associated with multiple records in the other, typically implemented through an intermediary table.

ServiceNow also supports database views, which combine multiple tables into a single virtual table for reporting and analysis. Additionally, table extension allows one table to inherit fields from another, promoting consistency and reducing duplication across the platform.

 

Schema Map

To help visualize these relationships, ServiceNow provides a schema map. This tool offers a graphical representation of how a selected table connects to others, making it easier to understand dependencies and data flow. It is particularly useful when designing new solutions or troubleshooting existing configurations.

Whether you're working with standard functionality or developing custom solutions, a solid grasp of these concepts will help you navigate and leverage the platform with confidence.