Monitoring work file data sets
You should monitor how work files use devices, both in terms of space use and I/O response times.
About this task
Work file data sets are used for sorting, for materializing views and nested table expressions, for temporary tables, and for other activities. Db2 does not distinguish or place priorities on these uses of the work file data sets. Excessive activity from one type of use can detract from the performance of others.
When a temporary table is populated using an INSERT statement, it uses work file space.
No other process can use the same work file space as that temporary work file table until the table goes away. The space is reclaimed when the application process commits or rolls back, or when it is deallocated, depending which RELEASE option was used when the plan or package was bound.