logo

NJP

ServiceNow Good Performance and Monitoring Links

Import · Oct 20, 2023 · article

See the following ServiceNow Knowledge Articles:

Reviewed and maintained resource page for most common, high-impacting Performance issues on ServiceNow instances. Performance Troubleshooting KB0517282: Troubleshooting case where all users experience

| KB0517282: Troubleshooting case where all users experience performance issues on all applicationsKB0755182: Steps to determine the cause of a cache flushKB0656152: Troubleshooting instance response times | homepagesKB0584420: Troubleshooting guide: using the transaction logsKB0997495: How to troubleshoot a slow transactionKB0517241: Troubleshooting slow performanceKB0517274: Identifying abnormal JVM memory utilizationKB0517277: Identifying high transaction concurrencyKB0662260: Where to look when an instance experiences performance issuesKB0635449: Resolving slowness / latency when populating connect chat windows (/$chat_support.do)KB0635134: Resolving "exhausted default semaphores" errors caused by Service Portal widgets having poorly defined record watcher (recordWatch) callsKB0755068: Very slow response time |
| --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |

| KB0517269: Gathering stats.do and threads.do page dataKB0647698: How to obtain slow widget debug timing in Service PortalKB0635968: How to cancel a long running transaction | all nodesKB0634930: How to change the stats.do tag "DEMO Server"KB0745198: How to get the top 10 values from a table using the GlideAggregate functionKB0661882: How to set dictionary attributes quickly for all fields in a table or set of tablesKB0723049: How to detect stuck scheduled jobs that may be stuck on a non-existent nodeKB0656014: How to cancel your slow user transactionsKB0727199: How to identify slow lookup variables in the Service CatalogKB0634955: How to change the homepage refresh behaviorKB0564339: Understanding browser usage from transaction logsKB0977234: Text Re-index a table without impacting current search results |
| ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |

KB0683275: Internet Explorer 11 performance - no longer supportedKB0563671: Improving homepage performanceKB0635324: Optimize widget rendering time on responsive dashboardsKB0635119: Modifying 'Workflow Stage' field from Graphical to TextKB0517272: Verifying whether you have inefficient business rules
KB0750152: Good practices to improve instance performance through row count, related lists and dashboardsKB0546788: Best practices – general planningCommunity: Server-side Coding in ServiceNowKB0687724: ServiceNow load testing
KB0721202: Reduce un-necessary text index events from causing overhead on events processingKB0676909: Create a dedicated event processorKB0686835: Platform events processingKB0755187: Event queue has very high number of queued eventsKB0687779: Making the post clone regenerate text index process faster
KB0724183: A script to automatically clean up sys_audit_delete and sys_audit_relation recordsKB0780216: Data retention, rotation, cleanup and instance sizeKB0694151: Use "Table Cleaner" to remove unwanted dataKB0551417: Troubleshooting the Table Cleaner scheduled jobKB0789808: Background script execution (delete action) taking hours to complete and appears hung
KB0782916: How to create indexes using the Index Suggestion Engine (ISE)KB0722985: Utilizing the INSTANCEOF operator to improve cmdb_ci queries.KB0686002: Identifying and fixing slow queries in Service Portal widgetsKB0647687: Using "Active Query Index Hints" to improve slow query execution
KB0517267: Managing network connectivity issuesKB0547347: Outbound SOAP request times out at 175 seconds when going through a MID serverKB0521688: Troubleshooting network performance data collectionKB0749897: How to solve "infinite email" loops

Haven't tested these all recently within global/local scopes, so feel free to have a play! option 1 use an encoded query embedded in the GlideRecord , e.g. var grProf = new GlideRecord ( 'x_cls_clear_skye_i_profile' ); grProf . addQuery ( 'status=1^ owner=NULL ' ); grProf . query (); even better use the glideRecord addNotNullQuery or addNullQuery option 2 JSUtil.nil / notNil (this might be the most powerful. See this link ) example: if ( current . operation () == 'insert' && JSUtil . notNil ( current . parent ) && ! current . work_effort . nil ()) option 3 there might be times when you need to get inside the GlideRecord and perform the check there, for example if the code goes down 2 optional routes depending on null / not null can use gs.nil : var grAppr = new GlideRecord ( 'sysapproval_approver' ); var grUser = new GlideRecord ( 'sys_user' ); if ( grUser . get ( 'sys_id' , current . approver )){

Classic UI : var sURL_editparam = gs . action . getGlideURI (). getMap (). get ( ' sysparm_aparameter ' ); if ( sURL_editparam == 'true' ) { gs . addInfoMessage ( 'parameter passed ); } Portal : var sURL_editparam = $sp . getParameter ( " sysparm_aparameter " ); if ( sURL_editparam == 'true' ) { gs . addInfoMessage ( 'parameter passed ); }

Call a script include to apply a reference qualifier on a catalog item variable: - variable reference qualifier dependent on another variable selection, in this case a variable referencing sys_user (requested_for) On the catalog item form. variable name to apply ref qual filter : retail_equipment variable reference qualifier (on cmdb table ): javascript : new refqual_functions (). lostStolen_getAssignedCIs (); client-callable script include ( refqual_functions) function : lostStolen_getAssignedCIs : function (){ //--called from variable set client script, for lost/stolen request (service catalog) gs . log ( current . variables . requested_for , 'retail_lostStolen_getAssignedCIs' ); return ( 'install_statusNOT IN8,7owned_by=' + current . variables . requested_for ); //owned_by=1269b79937f1060041c5616043990e41install_statusNOT IN8,7 },

View original source

http://www.cloudminus89.com/2023/10/servicenow-good-performance-and.html