Start and stop an APW
- Last Updated: May 2, 2024
- 1 minute read
- OpenEdge
- Version 12.8
- Documentation
A database can have between one and nine asynchronous page writers (APWs) running simultaneously. The optimal number is highly dependent on your application and environment. Start with two APWs and monitor their performance with PROMON. If there are buffers being flushed at checkpoints, add an additional APW and recheck. Applications that perform fewer changes to a database require fewer APWs. For more information on APWs and how to use PROMON to monitor them, see Use APWs to improve performance.
To start an APW process, useOpenEdge Management or enter the following command on the local machine:
|
Each APW counts as a process connected to a database and uses
resources associated with a user. You might have to increase the
value of the Number of Users (-n) parameter to
allow for APWs. However, APWs are not counted as licensed users.
Stop an APW by disconnecting the process with the PROSHUT command.
For detailed information on the PROAPW and PROSHUT commands, see Startup and Shutdown Commands.