Configuring denormalized tables in Field Service Management
Summarize
Summary of Configuring denormalized tables in Field Service Management
Denormalized tables in Field Service Management (FSM) streamline data retrieval by consolidating information from multiple tables into a single table. This configuration enhances load times and improves efficiency in accessing data for applications like Dispatcher Workspace.
Show less
Key Features
- Improved Data Access: Denormalized tables allow for faster querying by storing all relevant data in one location, reducing the need to access multiple tables.
- Application Integration: When using Dispatcher Workspace, the system queries denormalized tables first, ensuring quicker response times for dispatchers.
- Data Processing: Data loading into denormalized tables occurs in batches, which can be configured by contacting ServiceNow.
- System Properties: Three system properties manage the denormalization process, with default settings that can be adjusted by system administrators.
Key Outcomes
By implementing denormalized tables, ServiceNow customers can expect improved performance in data retrieval for FSM operations, particularly for scheduling and dispatching tasks. However, it's crucial to avoid direct changes to the data within denormalized tables to maintain system integrity.
Denormalized databases collapse information stored in multiple tables into a single table. This collapsing of relevant data improves Field Service Management load time.
Data in Field Service Management
The data for Field Service Management is typically stored in a normalized database. In normalized databases, tables can extend other tables, creating parent tables and child tables. The Field Service Management normalized databases use tables and records to manage data and processes, such as work orders, agents, and equipment. This normalized data structure that stores and organizes information is helpful for humans to add and manage the data in the tables, but it’s not the quickest or most efficient way for computers to process the data in the tables.
Denormalized tables
Denormalized databases collapse multiple tables into a single table, taking what was once in multiple table cells across multiple tables and puts them into one table. This collapsing of relevant data from multiple tables rows allows Field Service Management to query and return information faster since the data being fetched can be accessed from a single table instead of multiple tables.
Denormalized tables in Field Service Management
The way that denormalized tables work for Field Service Management, is when you load an application like Dispatcher Workspace, all of the tables used to retrieve data from are queried up front and the information is stored in a denormalized table. Then when you’re working in Dispatcher Workspace, when information is needed to execute a request, the denormalized table is queried, instead of the multiple tables that were necessary to query before. If the necessary data is not present in the denormalized table, then the data is retrieved from the original table source.
Denormalized tables just make it easier for information to be delivered to dispatchers. The way you add data and manage tables in Field Service Management remains the same. There is no change to how you update or add information to tables.
When data is added to denormalized tables, the process is divided into 4 jobs. For example, if you have 1600 agents the processing of those agent's data will be divided into four jobs each with 400 agents. You can change the number of jobs that process data, but you must contact ServiceNow to do this.
You can change the number of weeks' worth of data that's stored in denormalized tables. For more information, see Update the data stored in denormalized tables. For information related to the data model used to create denormalized tables, see Data model for denormalized tables in Field Service Management.
- Appointment booking
- Dynamic scheduling
- Dispatcher Workspace
Never change any of the data directly in a denormalized table. This can cause Field Service Management to break and should never be performed, even by a professional developer.
Denormalized table properties
There are three system properties that control table denormalization for Field Service Management. For more information, see the properties listed below on Properties installed with Field Service Management.
Denormalized tables are enabled by default. You must disable the property sn_fsm.wm_weekly_resource_span to turn off denormalized tables.
- sn_fsm.wm_weekly_resource_span
- sn_fsm.wm_weekly_resource_span.number_of_ weeks_in_past
- sn_fsm.wm_weekly_resource_span.number_of_weeks_in future