Workflow performance analysis tests



Similar documents
Nintex Workflow 2010 Installation Guide. Installation Guide Nintex USA LLC, All rights reserved. Errors and omissions excepted.

Troubleshooting problems with the PDMWorks Enterprise database server

Moving the Web Security Log Database

SQL Server Replication Guide

Ascent Capture's MSDE 2000 Backup and Restore Instructions (For Ascent Capture 7.x and 6.x using the default MSDE 2000 database)

Moving the TRITON Reporting Databases

Chancery SMS Database Split

Appendix E. Captioning Manager system requirements. Installing the Captioning Manager

NWADMIN Operations. Updated: 15 June 2011 Nintex Workflow 2010 v connect.nintex.com

Installation & Configuration Guide

Creating While Loops with Microsoft SharePoint Designer Workflows Using Stateful Workflows

Backup / migration of a Coffalyser.Net database

DocAve 6 Platform Backup and Restore

Nintex Workflow 2013 & InfoPath Form Design workshop

HELP DOCUMENTATION E-SSOM BACKUP AND RESTORE GUIDE

Installing SQL Express. For CribMaster 9.2 and Later

ADAM 5.5. System Requirements

Step by Step Guide for Migrate SharePoint s SQL Server to another SQL Server December 2013

SQL Tuning and Maintenance for the Altiris Deployment Server express database.

User's Guide. ControlPoint. Change Manager (Advanced Copy) SharePoint Migration. v. 4.0

System Requirements for Dynamics GP 2013

STIDistrict SQL 2000 Database Management Plans

QUANTIFY INSTALLATION GUIDE

DocAve 6 Service Pack 1 Platform Backup and Restore

Setup and configuration for Intelicode. SQL Server Express

Visual Studio.NET Database Projects

Reporting works by connecting reporting tools directly to the database and retrieving stored information from the database.

sql server best practice

EZManage V4.0 Release Notes. Document revision 1.08 ( )

How To Create An Easybelle History Database On A Microsoft Powerbook (Windows)

AutoMerge Online Service Configuration for MS CRM 2013

Enterprise Server Setup Guide

Informatica Corporation Proactive Monitoring for PowerCenter Operations Version 3.0 Release Notes May 2014

TECHNICAL TRAINING LAB INSTRUCTIONS

Configure SQL database mirroring

Engagement Analytics Configuration Reference Guide

Understanding Server Configuration Parameters and Their Effect on Server Statistics

Video Administration Backup and Restore Procedures

Learn how to create web enabled (browser) forms in InfoPath 2013 and publish them in SharePoint InfoPath 2013 Web Enabled (Browser) forms

New Relic & JMeter - Perfect Performance Testing

Hands-On Lab. Embracing Continuous Delivery with Release Management for Visual Studio Lab version: Last updated: 12/11/2013

Estimate Performance and Capacity Requirements for Workflow in SharePoint Server 2010

Database Administration

Nintex Workflow 2013 Help

Nintex Licensing Guide

ERserver. iseries. Work management

NTP Software File Reporter Analysis Server

Microsoft Windows Storage Server 2003 R2

SAS 9.3 Foundation for Microsoft Windows

EVENT LOG MANAGEMENT...

ICE for Eclipse. Release 9.0.1

System Requirements for Microsoft Dynamics GP 2013

F9 Integration Manager

SnapManager 7.1 for Microsoft SharePoint Platform Backup and Restore User s Guide

User Setup for SQL Security

ImageNow Cluster Resource Monitor

Monitor and Manage Your MicroStrategy BI Environment Using Enterprise Manager and Health Center

Administration GUIDE. SharePoint Server idataagent. Published On: 11/19/2013 V10 Service Pack 4A Page 1 of 201

2 Working with a Desktop GeoDatabase

ilink CRM Extensions for Panasonic Communication Assistant

Technical Bulletin. SQL Express Backup Utility

INSTALLATION GUIDE Datapolis Process System v

How To Create A Replica In A Database On A Microsoft Powerbook (Ahem) On A Linux Server (A.K.A.A)

Availability Guide for Deploying SQL Server on VMware vsphere. August 2009

Technical Notes. EMC NetWorker Performing Backup and Recovery of SharePoint Server by using NetWorker Module for Microsoft SQL VDI Solution

Silect Software s MP Author

SolarWinds Technical Reference

Virto Workflow Scheduler For Microsoft SharePoint Release User and Installation Guide

TSM Studio Server User Guide

SELF SERVICE RESET PASSWORD MANAGEMENT BACKUP GUIDE

Tool Tip. SyAM Management Utilities and Non-Admin Domain Users

Installation Manual v2.0.0

Microsoft Enterprise Search for IT Professionals Course 10802A; 3 Days, Instructor-led

NetBrain Enterprise Edition 6.0a NetBrain Server Backup and Failover Setup

SQL Server Performance Tuning for DBAs

SourceAnywhere Service Configurator can be launched from Start -> All Programs -> Dynamsoft SourceAnywhere Server.

Operating System Installation Guide

Remote Desktop Reporter Agent Deployment Guide

VMware vcenter Configuration Manager Backup and Disaster Recovery Guide vcenter Configuration Manager 5.4.1

SharePoint 2010

Acronis SharePoint Explorer. User Guide

Netwatch Installation For Windows

A Document Retention System for Eye Care Practices. Release Notes. Version 7.5 October A Milner Technologies, Inc. Solution

R i o L i n x s u p p o r r i o l i n x. c o m 1 / 3 0 /

SafeGuard Enterprise upgrade guide. Product version: 7

How To Install Hoteltv2 On A Pc Or Mac Or Mac (For Mac)

Tutorial. Inventory Methods

DocAve 6 SharePoint Migrator

Knowledge Base Article: Article 218 Revision 2 How to connect BAI to a Remote SQL Server Database?

Installing Windows Server Update Services (WSUS) on Windows Server 2012 R2 Essentials

Understanding Task Scheduler FIGURE Task Scheduler. The error reporting screen.

Backups and Repository Maintenance

How to protect, restore and recover SQL 2005 and SQL 2008 Databases

FaxCore 2007 Database Migration Guide :: Microsoft SQL 2008 Edition

User Guide. DocAve 6: Platform Backup and Restore

Transcription:

Workflow performance analysis tests Introduction This document is intended to provide some analytical tests that help determine if the SharePoint workflow engine and Nintex databases are being forced to cope with a high amount of workflow related load. References to running through the tests in this document are often made by Nintex Support to determine next steps in improving workflow related performance. They may lead to recommendations such as reducing the size of the WorkflowProgress database table by way of purging data, modifying workflow designs, using more workflow task lists and other such techniques. If requested, please run the tests below and return the results to Nintex Support. Documents that may be referenced after analysis of these results include: Reduce the size of the workflow progress database table Splitting existing SharePoint and Nintex content databases Workflow performance, timeouts and load reduction. Recommendations. Nintex Workflow 2010 - NWAdmin.exe Operations Please note: While the majority of references may be to the 2010 platform, the same concepts apply to the 2007 and 2013 platforms. SharePoint timer service pending jobs All delay actions utilize the SharePoint timer service. If there is a greater issue with this service it can affect any action that utilizes delays. The effect on these actions might be they do not continue at the expected time, or they never continue. The following actions may be affected: Delay for Delay until Any workflow action that involves tasks Wait for item update Loop (when Safe Looping is enabled) State machine (when Safe looping is enabled) To determine how much work the Timer Service has pending, go to the SharePoint Content Database (the default name will be something like WSS_Content ), expand it, expand Tables, right-click the "dbo.scheduledworkitems" table and select Properties. Take note of the Row count (see the screenshot below).

A high number of items indicates a fair degree of backlog in the timer service. This could cause various behaviours such as: Workflows seeming to never wake up. Old workflows fire off after a restart of the SharePoint Timer service but then later they all stop again. Delays being late to execute, and possibly progressively getting worse (1 minute late, until they are days late). If this is the case, you may have a workflow which is designed in such a way that lots of work items that require waking up in the Timer service are being created. A real-world example we're aware of is a workflow design with a loop that is polling - it adds a job for every instance of the workflow that runs. If hundreds of instances are running, each adding a job periodically, the number of delay jobs can get quite large. To clear that backlog of work items, the only supported method is to cancel the workflow instances that are causing the creation of many batched work items.

Workflows potentially causing bottlenecks The following query will help find workflow instances that are generating large amounts of database entries. It should be run against the Nintex Workflow content database (or all of them if you have more than one). By default, there is only one Nintex Workflow database (called NW2007DB, NW2010DB or NW2013DB) which combines a configuration and content database. select I.WorkflowName, I.WorkflowInstanceID, I.SiteID, I.WebID, I.ListID, I.ItemID, I.WorkflowInitiator, I.WorkflowID, I.State, COUNT(P.WorkflowProgressID) as ActionCount from WorkflowInstance I inner join WorkflowProgress P on I.InstanceID = P.InstanceID group by I.WorkflowName, I.WorkflowInstanceID, I.SiteID, I.WebID, I.ListID, I.ItemID, I.WorkflowInitiator, I.WorkflowID, I.State order by COUNT(P.WorkflowProgressID) desc The workflows listed at the top of the results will show workflows generating the most amount of entries. It might indicate that there s a logic flaw causing a bottleneck, the workflow history needs purging or what is logged to the history list needs to be reduced. Large workflow history causing performance issues A large database of workflow history can cause performance issues. To determine how many workflow history records are in the database, open SQL Server Management studio, expand the Nintex Workflow 2010 database, expand the tables folder, right-click the dbo.workflowprogress table and select Properties. Select the Storage page and in the General section, note the Row count figure.

Depending on the results, using the NWAdmin application to reduce the workflow history via the purge commands may be necessary (http://connect.nintex.com/files/folders/technical_and_white_papers_nw2010/entry12004.aspx). General database size report We are interested in seeing the amount of data in your database tables which could likely cause the SQL timeout errors. 1. Open SQL Management Studio 2. Expand the Database node 3. Find the Nintex Workflow database (usually named NW2007DB or NW2010DB)

4. Right-click on the Nintex Workflow database and select Reports > Standard Reports > Disk Usage by Table Please send us a screenshot of the report so we can see which tables are using the most space.