The PowerExchange Logger for Linux, UNIX, and Windows includes the following task and subtasks:
Controller task
Loads parameter settings from the PowerExchange Logger pwxccl configuration file. Loads the capture registrations from the CCT file. After loading this information, the Controller starts the Command Handler subtask and then the Writer subtask.
Command Handler subtask
Processes PowerExchange Logger commands from various sources, including user stdin and the pwxcmd program. If the PROMPT parameter is set to Y in the pwxccl.cfg file, the Command Handler waits for the Writer subtask to initialize before accepting a user command.
Writer subtask
Performs most of the PowerExchange Logger work that uses CPU time. The Writer initializes the CAPI for the source database, determines the start or restart point in the change stream, reads change data from the change stream, and writes change data to PowerExchange Logger log files. The Writer also writes records to the CDCT file during a file switch, deletes expired CDCT records, and rolls back CDCT records when you warm start the PowerExchange Logger from an earlier point in time. If the PROMPT parameter is set to Y in the pwxccl configuration file, the Writer waits for you to respond to confirmation prompts before proceeding with a cold start or a rollback of CDCT records.
The Log Reader, which extracts change data from PowerExchange Logger log files, runs as an independent process.