Show TOC

 New Realignment Queue Framework

This section provides information on the new realignment queue framework as explained below:

Subcheck Queue Processing Enhanced

The processing in the subcheck queue has been enhanced. In case of a major realignment, subscription assignment and de-assignment operations, which typically affect a large number of instances, are not transferred to the realign queue for processing. Instead, these entries are transferred to the subcheck queue and dependency queue for processing. The main objects are realigned directly using the subcheck queue itself without posting the entries to the realign queue. The dependent objects are processed using a queue called the dependency queue. This ensures that the load on the realign queue is significantly reduced which leads to a significant improvement in performance.

New Dependency Queue

A new queue called dependency has been added that calculates the dependencies of a replication object to other replication objects. In the old queue framework, all the dependent objects were processed in the realign queue along with parent objects. For example, if a parent object had 5 dependent objects, all these objects were added at the end of the realign queue. In the new queue framework, all the 5 dependent objects are bundled together and processed as one block in the dependency queue.

The entries in the dependency queue are inserted from a job of the realign queue, subcheck queue, or the dependency queue itself.

Block Processing in the Realign Queue

In addition to reducing the load the on the realign queue, the way in which messages are processed has also been enhanced. Till now all the messages in the queue were processed in a sequence one after the other. Now the messages are logically packaged and then processed as blocks. This ensures that the number of select operations on the queue is reduced. As a result, there is a significant improvement in performance during processing.

Block Processing of Extracts

The extract of data to devices is bundled as blocks wherever possible and sent out in packages. This behavior is applicable when processing INSERT, UPDATE, and DELETE messages.

Switch Between the Old and the New Queue Framework

You can switch between the old and the new queue framework based on your requirement. If you want to use the new queue framework, you must switch to the new queue framework by using transaction SMOHRRQCUST.

Customizing the New Queue Framework

The most important customizing that you need to perform is to switch on parallel processing for the dependency queue.