Best Practices for fetching Archived records.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
3 hours ago
Hi Community,
We have a requirement to fetch archival records that are more than one year old. Before implementing this, I would like to understand:
- What are the best practices for retrieving archived records in ServiceNow?
- Will querying or accessing these archival tables impact system performance?
- Is there a recommended approach (reports, scheduled jobs, direct table query, etc.) to safely retrieve older archived data?
Any guidance or recommendations would be greatly appreciated.
Thanks,
Gangaram Kasture
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2 hours ago
Hi @gangaram_ka
Find your ans:
1. Archival best Practice: https://www.perspectium.com/blog/servicenow-archiving-best-practices/
2. As per this post: https://www.servicenow.com/community/developer-forum/data-archiving-performance-impact/m-p/1996860
By default an archive rule follows these processing rules:
- Archives 100 records for each batch job
- Sleeps 1 second between batch jobs
- Runs 10 batch jobs in an archive run (every hour)
If you change the interval of job from 1 hour to some lower value, job may sometimes not finished in 1 hour and hence it will not run but if archive threads will pick up to run on other node it can cause problems. Check this kb article:
https://hi.service-now.com/kb_view.do?sys_kb_id=116b858e0ffd424098f7982be1050efe
You still have option to run 10 batch jobs every hour and 100 records per batch job (1000 records). And performance of job depends on several factors like size of table, indexes, performant queries and instance config. So before moving forward I would recommend to clone one subprod from prod and check the performance if archive job.
3. Check this: https://www.servicenow.com/community/developer-forum/reporting-on-archived-tables/td-p/1961315/page/...
Overall all data archiving details , you will get here:
