Performance Tuning Guide - EMC Community Network

Performance Tuning Guide - EMC Community Network Performance Tuning Guide - EMC Community Network

community.emc.com
from community.emc.com More from this publisher
28.11.2014 Views

Designing the Application • Text Fields: For a form with 100 text fields, the template and layout file sizes are 34 KB and 52 KB, respectively. During runtime, the corresponding forms processor size is 1 MB. • Adaptors: Processor requirements spike for forms using adaptors that generate large amounts of data. One adaptor can generate data that translates into 300 XML nodes. This results in the form processor generating about 10,000 new objects to represent the read/write, hide/show, and valid/invalid properties for the XML nodes. Designing search forms TaskSpace component templates (created in Forms Builder) define the set of objects, stored in the repository, that get searched for (queried) in TaskSpace forms. To maximize system performance, avoid unnecessary functions (querying) in your templates and consolidate your queries so that the fewest number of queries provide required data for a TaskSpace form. Design your object model to use SDTs instead of simple process variables (Designing the process object model (using structured datatypes), page 37). Only use search criteria that is necessary for users to complete their jobs. The following sections provide specific performance tips related to search-related functions configured for TaskSpace forms. • Using searchable attributes, page 42 • Using search criteria, page 43 • Using search restrictions, page 45 • Using advanced searches, page 45 Using searchable attributes The search template, task list template, folder contents template, and process instance list template include a screen, like the one shown in Figure 15, page 43 for the search template, to specify attributes to be searched and the columns in which to display the results of the search. 42 EMC Documentum xCP 1.0 Performance Tuning Guide

Designing the Application Figure 15. Mapping object type attributes to columns in which search results are displayed Each searchable attribute and column in which the search result is displayed adds load to the system. Design search forms with as few searchable attributes and results columns as possible. Wherever possible, use single-value attributes instead of repeating value attributes. TaskSpace combines all single value attributes into a single query, but issues an additional query for each repeating attribute. Each additional query affects performance. Include the following attributes in your search form. Mark the attributes invisible unless they must be visible for business purposes. • r_lock_owner • a_content_type • r_content_size • r_object_type • r_object_id If these attributes are not present in the search query of the form, TaskSpace performs a full fetch of the object to retrieve the attributes, which affects performance. Using search criteria The search template, task list template, folder contents template, and process instance list template include a screen, like the one shown in Figure 16, page 44 for the search template, to specify search criteria for each item selected for display in a results column. EMC Documentum xCP 1.0 Performance Tuning Guide 43

Designing the Application<br />

• Text Fields: For a form with 100 text fields, the template and layout file sizes are 34 KB and 52 KB,<br />

respectively. During runtime, the corresponding forms processor size is 1 MB.<br />

• Adaptors: Processor requirements spike for forms using adaptors that generate large amounts<br />

of data. One adaptor can generate data that translates into 300 XML nodes. This results in the<br />

form processor generating about 10,000 new objects to represent the read/write, hide/show, and<br />

valid/invalid properties for the XML nodes.<br />

Designing search forms<br />

TaskSpace component templates (created in Forms Builder) define the set of objects, stored in the<br />

repository, that get searched for (queried) in TaskSpace forms. To maximize system performance,<br />

avoid unnecessary functions (querying) in your templates and consolidate your queries so that the<br />

fewest number of queries provide required data for a TaskSpace form. Design your object model to<br />

use SDTs instead of simple process variables (Designing the process object model (using structured<br />

datatypes), page 37). Only use search criteria that is necessary for users to complete their jobs. The<br />

following sections provide specific performance tips related to search-related functions configured<br />

for TaskSpace forms.<br />

• Using searchable attributes, page 42<br />

• Using search criteria, page 43<br />

• Using search restrictions, page 45<br />

• Using advanced searches, page 45<br />

Using searchable attributes<br />

The search template, task list template, folder contents template, and process instance list template<br />

include a screen, like the one shown in Figure 15, page 43 for the search template, to specify attributes<br />

to be searched and the columns in which to display the results of the search.<br />

42 <strong>EMC</strong> Documentum xCP 1.0 <strong>Performance</strong> <strong>Tuning</strong> <strong>Guide</strong>

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!