This page describes the recommended approach to database operations with slow execution phases, which is the case if:
The difference between the last BasicBinder entry and the first BasicExtractor entry represent the round trip between Appian and the database.
2015-10-10 03:17:13,123 [Appian Work Item - 0 - ProcessExec01 : ExpressionGroupRequest] DEBUG org.hibernate.SQL - select top 1 this_.[customerid] as y0_ from [customer] this_ where (this_.[customerid]=?) 2015-10-10 03:17:13,321 [Appian Work Item - 0 - ProcessExec01 : ExpressionGroupRequest] TRACE org.hibernate.type.descriptor.sql.**BasicBinder** - binding parameter [1] as [INTEGER] - 12345 2015-10-10 03:17:57,123 [Appian Work Item - 0 - ProcessExec01 : ExpressionGroupRequest] TRACE org.hibernate.type.descriptor.sql.**BasicExtractor** - found [12345] as column [y0_]
Notice that a majority of the time is spent during transport of the request and the response back and forth between Appian and the database.
Notice that a majority of the time is spent on the database.
Determine which area is responsible for the majority of the execution time.