<h2>Optimizing data collection</h2><br/><div style="overflow-x:auto"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"><head><meta content="text/html; charset=UTF-8" /><meta name="copyright" content="(C) Copyright 2025" /><meta name="DC.rights.owner" content="(C) Copyright 2025" /><meta name="generator" content="DITA-OT" /><meta name="DC.type" content="concept" /><meta name="DC.title" content="Optimizing data collection" /><meta name="abstract" content="The optimized Performance Analytics data collector reduces the time, memory, and CPU usage for processing large data sets." /><meta name="description" content="The optimized Performance Analytics data collector reduces the time, memory, and CPU usage for processing large data sets." /><meta name="DC.relation" scheme="URI" content="../../../use/performance-analytics/concept/data-collection-process-logging.html" /><meta name="DC.relation" scheme="URI" content="../../../use/performance-analytics/concept/c_performanceAnalyticsAndReporting.html" /><meta name="DC.relation" scheme="URI" content="../../../use/performance-analytics/concept/r_PALandingPage.html" /><meta name="DC.relation" scheme="URI" content="../../../use/performance-analytics/concept/c_PADataArchitecture.html" /><meta name="DC.contributor" content="josephinesne.sokkula" /><meta name="DC.contributor" content="courtney.bradwell" /><meta name="DC.creator" content="ServiceNow" /><meta name="DC.date.created" content="2023-08-03" /><meta name="DC.date.modified" content="2023-08-03" /><meta name="DC.format" content="XHTML" /><meta name="DC.identifier" content="optimized-data-collection" /><link rel="stylesheet" type="text/css" href="../../../CSS/commonltr.css" /><title>Optimizing data collection</title></head><body id="optimized-data-collection"> <div class="breadcrumb"><a class="link" href="../../../use/performance-analytics/concept/c_performanceAnalyticsAndReporting.html" title="Optimize processes and increase productivity with Reporting, Performance Analytics, User Experience Analytics, and Process Mining. Present data in either the Core UI or the Next Experience UI Framework.">Analyze and optimize business processes</a> > <a class="link" href="../../../use/performance-analytics/concept/r_PALandingPage.html" title="ServiceNow Performance Analytics is an in-platform process optimization solution to create management dashboards, report on KPIs and metrics, and answer key business questions to help increase quality and reduce the costs of service delivery.">Performance Analytics</a> > <a class="link" href="../../../use/performance-analytics/concept/c_PADataArchitecture.html" title="Define key metrics and data structure to generate scores.">Configure Performance Analytics advanced features</a> > </div> <h1 class="title topictitle1" id="ariaid-title1">Optimizing data collection</h1> <div class="body conbody"><p class="shortdesc">The optimized <span class="ph">Performance Analytics</span> data collector reduces the time, memory, and CPU usage for processing large data sets.</p> <p class="p">The optimized data collector is active by default on all instances starting in <span class="ph">Tokyo</span>. It is activated upon upgrading. To deactivate the optimized collector, create the system property <span class="keyword parmname">com.snc.pa.dc.hsql</span> and set it to false. For more information, see <a class="xref" href="../administer/reference-pages/task/t_AddAPropertyUsingSysPropsList.html" target="_blank" rel="noopener noreferrer">Add a system property</a>.</p> <div class="note important"><span class="importanttitle">Important:</span> Oracle databases are not supported. Other instances that still use the Performance Analytics Scores [pa_scores] table are also not supported. The optimized data collector supports only instances where the indicator scores are on the two tables Scores Level 1 [pa_scores_l1] and Scores Level 2 [pa_scores_l2]. For more information, see <a class="xref" href="pa-scores-migration.html" title="The Performance Analytics Scores [pa_scores] table was split into two tables. This structure helps with processing large numbers of scores. You can migrate your scores from the old table structure to the new, using the score migration tool.">Migrating Performance Analytics scores</a>.</div> <p class="p">The optimized data collector supports the following capabilities:</p> <div class="p"><ul class="ul" id="optimized-data-collection__ul_dwm_bnd_4qb"><li class="li">Ability to handle over 10 million records without adverse impact to performance.</li><li class="li">Support for at least 10 breakdowns with breakdown matrix enabled. Breakdown support includes:<ul class="ul" id="optimized-data-collection__ul_e2s_npd_4qb"><li class="li">Dot-walked conditions</li><li class="li">Two large breakdowns, with up to 1 million records</li><li class="li">Breakdown relations</li></ul> </li><li class="li">Support for additional conditions on indicators and breakdowns.</li><li class="li">Optimizations for Count Distinct aggregation.</li></ul> </div> <div class="p"><div class="note"><span class="notetitle">Note:</span> The default maximum number of records allowed per indicator source for data collection has been increased for optimized data collection. For more information, see the <span class="keyword parmname">com.snc.pa.dc.hsql.max_row_count_indicator_source</span> property in <a class="xref" href="../reference/pa-properties.html" title="These system properties control the behavior of Performance Analytics.">Performance Analytics properties</a>.</div> </div> <p class="p">The optimizations stem from the use of an embedded database. A standard data collection job stores all scores in the node memory during the job. However, an optimized data collection job moves packets of scores to temporary storage on disk. At the end of the job, the scores are written to the scores tables and the temporary database is cleared.</p> <div class="p"> <div class="note"><span class="notetitle">Note:</span> <span class="ph" id="optimized-data-collection__otherprops-integration-1">Memory optimization using lazy loading has been implemented to eliminate out-of-memory errors. However, this memory optimization could increase CPU usage and lengthen processing time for large jobs.</span> For more information, contact <span class="ph">Customer Service and Support</span>.</div> </div> </div> <div class="related-links"> <div class="familylinks"> <div class="parentlink"><strong>Parent Topic:</strong> <a class="link" href="../../../use/performance-analytics/concept/data-collection-process-logging.html" title="Performance Analytics data collection jobs collect indicator scores. To debug data collection, it is helpful to understand the data collection process and how it is reflected in the job logs.">Data collection process and logging</a></div> </div> </div></body></html></div>