Configuring Temporary Tables for Batch Processing

When you run batch processes in parallel, you risk data contention and deadlocks on temporary tables. To avoid this, PeopleTools enables you to dedicate specific instances of temporary tables for each process. When PeopleSoft Application Engine manages a dedicated temporary table instance, it controls the locking of the table before use and the unlocking of the table after use.

When you decide how many temporary table instances to dedicate for a process, consider the number of temporary tables that the process uses. More instances result in more copies of the temporary tables on the system. For example, if a process uses 25 temporary tables and you have 10 instances for a process, you will have 250 temporary tables on the system.

If you run processes in parallel and all of the dedicated temporary table instances are in use, the performance of the process decreases. You need to find a balance that works for your organization.

Note: When you specify the number of instances, PeopleSoft Application Designer displays a list of the temporary tables for the process. Use the list to determine how many temporary tables each process uses.

Specify how many temporary table instances to dedicate for each of the following batch PeopleSoft Application Engine processes that can run in parallel in PeopleSoft Maintenance Management:

  • Cost Summarization (WM_SUMMCOST)

  • Create Resources Program (RS_CW)

    Note: If you have licensed the PeopleSoft Resource Management application, you may already have configured it for temporary table instances, as this process is shared by both PeopleSoft Resource Management and PeopleSoft Maintenance Management.

  • Export to Microsoft Project (WM_MSP)

  • Preventive Maintenance Process and Projections (WM_PM)

  • Stage Time Entries (EX_TRAN_PRCS)

    Note: If you have licensed the PeopleSoft Travel and Expenses application, you may already have configured it for temporary table instances, as this process is shared by both PeopleSoft Travel and Expenses and PeopleSoft Maintenance Management.

  • Work Order Close (WM_CLOSE)

  • Maintenance Schedule Completion Report (WM_SCHEDCOMP)

The PeopleTools documentation discusses the usage of temporary tables in detail and describes how to specify the number of instances.

If you run any of the PeopleSoft General Ledger COBOL processes, also configure the temporary tables for those processes. The documentation PeopleSoft General Ledger discusses how to do this in detail.

See the product documentation for PeopleTools: Application Engine