- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-14-2022 03:43 AM
I created a database view for 3 tables- cmdb_ci (Configuration Item), cmdb_software_instance (Software Instances), cmdb_ci_spkg (Software Packages). When I try to glide into the table and get the number of records, it shows me incorrect value.
Database view: u_softwares_on_windows_servers
|
Total records in database view: 1,000,954
Records shown when gliding the table: 10,001
Background script :
var incidents = new GlideRecord("u_softwares_on_windows_servers");
incidents.query();
gs.print(incidents.getRowCount());
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-14-2022 03:57 AM
Hi Garima,
Please edit the property glide.db.max_view_records to manage the number of records in the database view.
Please mark the response as Helpful/Correct, if applicable. Thanks!

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-14-2022 03:52 AM
See if this helps !
doc link
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-14-2022 03:57 AM
Hi Garima,
Please edit the property glide.db.max_view_records to manage the number of records in the database view.
Please mark the response as Helpful/Correct, if applicable. Thanks!