Improved query performance with direct field population in CI tables

concept australia Updated Sep 10, 2026 4 min read query-service-account-ldc-fields.md
Raw file servicenow.com

The Populate Service Account and LDC IN CMDB scheduled job populates the Service Account and Logical Datacenter fields in cloud configuration item (CI) tables, and the Virtual Machine Object field in the Hardware [cmdb_ci_hardware] table. This direct population reduces query complexity and improves query performance.

Cloud Service Account and Logical Datacenter information is stored separately from cloud CIs. To retrieve account or datacenter information for a cloud resource, queries require joins across multiple tables, including the relationship table that connects CIs. Similarly, Virtual Machine Object information is stored separately from the Hardware CI, requiring additional joins to retrieve data from the Virtual Machine Object [cmdb_ci_vm_object] table. With potentially millions of records in the relationship table, these joins could increase query time for teams working with cloud infrastructure data.

Starting with the Discovery and Service Mapping Patterns version 1.30.2, you can enable a feature that denormalizes cloud CI tables by populating the Service Account [cloud_service_account] and Logical Datacenter [logical_datacenter] fields directly in cloud CI tables. The scheduled job also references tables extended from the Virtual Machine Object [cmdb_ci_vm_object] table via the Virtual Machine Object reference field in the Hardware [cmdb_ci_hardware] table. Populating these fields directly reduces the need for complex joins, supporting more efficient queries for reporting, analytics, and operational workflows involving cloud resources. After you enable this feature, Discovery populates these fields for both existing and newly discovered CIs.

[Omitted image "multi-joins-vs-direct-fields.png"] Alt text: Comparison between complex multi-table joins without the feature versus direct field access with the feature

For information about enabling this feature, see Enable direct field population for query performance.

System properties

Property

Description

sn_itom_pattern.populate_saldc.stale_job_threshold_days

Sets the number of days after which a running job is considered stale and automatically canceled. For more information, see Set the Populate Service Account and LDC job stale threshold.- Type: Integer

  • Default value: 2

sn_itom_pattern.populate_saldc_full_resync

Starting with Discovery and Service Mapping Patterns version 1.35.1, determines if all CI records are reprocessed on the next job run. For more information, see Trigger a full CI table resync for direct field population.- Type: Boolean

  • Default value: False
## Supported Cloud CI tables

Service Account and Logical Datacenter fields are added to the following cloud CI tables:

Table label Table name
Cloud Subnet cmdb_ci_cloud_subnet
Cloud Network cmdb_ci_network
Virtual Machine Instance cmdb_ci_vm_instance
Hardware Type cmdb_ci_compute_template
Cloud Hardware Type cmdb_ci_cloud_hardware_type
Compute Security Group cmdb_ci_compute_security_group
Image cmdb_ci_os_template
Cloud Image cmdb_ci_cloud_os_image
Cloud Load Balancer cmdb_ci_cloud_load_balancer
Cloud Resource cmdb_ci_cmp_resource
Cloud File Service cmdb_ci_cloud_file_service
Cloud Mgmt Network Interface cmdb_ci_nic
Endpoint cmdb_ci_endpoint
Cloud Function cmdb_ci_cloud_function
Cloud Object Storage cmdb_ci_cloud_object_storage
Cloud Gateway cmdb_ci_cloud_gateway
Database Instance cmdb_ci_db_instance
Cloud DataBase cmdb_ci_cloud_database
DynamoDB Table cmdb_ci_dynamodb_table

Supported virtual machine tables

The following virtual machine tables are referenced in the Virtual Machine Object [cmdb_ci_vm_object] field in the Hardware table:

Table label Table name
Windows Server cmdb_ci_win_server
Linux Server cmdb_ci_linux_server

Parent Topic:Discovery patterns used by ITOM Visibility

Previous topic:Discover datacenters only for new cloud accounts

Next topic:Enable direct field population for query performance

Related topics

Available cloud discovery patterns

Linux discovery

Windows discovery

Keywords cloud CI tablesService AccountLogical Datacenterquery performancecloud discovery
Search documentation
Search document titles and file paths on the australia branch