Property reference

glide.db.first_pass_sys_id_list_size.max

The glide.db.first_pass_sys_id_list_size.max property sets the maximum number of sys_ids that can be processed in a single database query. Adjusting this value is crucial when working with large lists to ensure accurate row counts in GlideRecord operations.

Default
Not stated
Type
Not stated
Application
Not stated

Key questions about this property

The answers below summarize the purpose, scope, default effect, and review scenarios for this property.

What does it do? This property defines the limit for sys_ids in database queries, affecting how GlideRecord retrieves data when large lists are involved.
What area does it affect? Database query optimization
What does the default mean? No default value is stated in the ServiceNow documentation.
When should you review it? Review this property when handling queries with large sys_id lists to ensure accurate results.

Property record

Facts stated in the ServiceNow documentation. No out of the box record has been read from an instance yet.

Property name glide.db.first_pass_sys_id_list_size.max
Type Not stated
Application Not stated
Default value Not stated
Description Not stated

Sources

Official references and nearby text excerpts where this property appears.

Context preview Snippet 1
... sys_ids, such as grIncident.addQuery('sys_id', 'IN', listOf200SysIds). This method only effects the GlideRecord on which it’s called. To modify the sys_id limit optimization for all GlideRecords, adjust the value in the glide.db.first_pass_sys_id_list_size.max system property (default 100). If you don't either call this method or adjust the glide.db.first_pass_sys_id_list_size.max system property and pass a list that contains more sys_id entries than defined in glide.db.first_pass_sys_id_list_size.max, ...

More in glide.db

Other properties in the same namespace.

All 59 properties in glide.db →