In the beginning it was Serialized V3 Update.
Since performance and data consistency are very critical issues for a datawarehouse and, from this point of view, the ‘serializer’ started showing its not so reliable face,
with advent of PI 2002.1 (or PI-A 2002.1) three new update methods came upand, as of PI 2003.1 (or PI-A 2003.1), these methods have been completely replaced Serialized V3 update method, that it’s no longer offered.Now let’s meet our new guests and try to discover when it’s better to make use of one than another one!
With this update mode, extraction data is transferred directly to the BW delta queues with each document posting.
As a consequence, each document posted with delta extraction is converted to exactly one LUW in the related BW delta queues.
Starting from the definition of this method we can see at once what are advantages and disadvantages resulting from direct delta usage.
BENEFITS AND...
As we can see from the picture above, there’s
no need to schedule a job at regular intervals(through LBWE “Job control”) in order to transfer the data to the BW delta queues; thus, additional monitoring of update data or extraction queue is not require.Logically, restrictions and problems described in relation to the "Serialized V3 update" and its collective run do not apply to this method: by writing in the delta queue within the V1 update process, the
serialization of documents is ensured by using the enqueue conceptfor applications and, above all, extraction is independent of V2 update result....LIMITATIONS !
The number of LUWs per datasource in the BW delta queues increases significantly because different document changes are not summarized into one LUW in the BW delta queues (as was previously for V3 update).
Therefore this update method is
recommended only for customers with a low occurrence of documents(a maximum of 10000 document changes - creating, changing or deleting - between two delta extractions) for the relevant application.Besides, note that
no documents can be posted during delta initialization procedurefrom the start of the recompilation run in R/3 (setup tables filling job) until all records have been successfully updated in BW: every document posted in the meantime is irrecoverably lost.With queued delta update mode,
the extraction data(for the relevant application) is written in an extraction queue (instead of in the update data as in V3)and can be transferred to the BW delta queues by an update collective run, as previously executed during the V3 update.When you need to perform a delta initialization in the OLTP, thanks to the logic of this method, the
document postings(relevant for the involved application) can be opened again</b> as soon as the execution of the recompilation run (or runs, if several and running in parallel) ends, that is when setup tables are filled, and a delta init request is posted in BW, because the system is able to collect new document data during the delta init uploading too (with a deeply felt recommendation: remember to avoid update collective run before all delta init requests have been successfully updated in your BW!).By writing in the extraction queue within the V1 update process (that is more burdened than by using V3), the
serialization is ensured by using the enqueue concept, but collective run clearly performs better than the serialized V3and especially slowing-down due to documents posted in multiple languages does not apply in this method.On the contrary of direct delta, this process is especially
recommended for customers with a high occurrence of documents(more than 10,000 document changes - creation, change or deletion - performed each day for the application in question.In contrast to the V3 collective run (see OSS Note 409239 ‘Automatically trigger BW loads upon end of V3 updates’ in which this scenario is described), an
event handling is possible</b> here, because a definite end for the collective run is identifiable: in fact, when the collective run for an application ends, an event (&MCEX_nn, where nn is the number of the application) is automatically triggered and, thus, it can be used to start a subsequent job.Besides, don’t omit that queued delta process extraction is
independent of success of the V2 update.+...REMEMBER TO EMPTY THE QUEUE ! +
The ‘queued delta’ is a good friend, but some care is required to avoid any trouble.
First of all, if you want to take a look to the data of all extract structures queues in Logistic Cockpit, use transaction
LBWQor "Log queue overview"function in LBWE (but here you can see only the queues currently containing extraction data).In the posting-free phase
before a new init runin OLTP, you should always execute (as with the old V3) the update collective run once to make sure to empty the extraction queue from any old delta records (especially if you are already using the extractor) that, otherwise, can cause serious inconsistencies in your data.Then,
if you want to do some change(through LBWE or RSA6) to the extract structuresof an application (for which you selected this update method), you have to be absolutely sure that no data is in the extraction queue before executing these changes in the affected systems (and especially before importing these changes in production environment !).The extraction queues should never contain any data immediately before to:
But, as the name of this method suggests, the V3 unserialized delta disowns the main characteristic of his brother:
data is read in the update collective run without taking the sequence into accountand then transferred to the BW delta queues.It’s pleonastic to say that
all (performance) problems related to the serialized V3 update can’t applyto the unserialized one !However, already known
V2 dependencykeep on subsist.When this method can be used ?
Only if it’s irrelevant whether or not the extraction data is transferred to BW in exactly the same sequence (serialization) in which the data was generated in R/3 (thanks to a specific design of data targets in BW and/or because functional data flow doesn’t require a correct temporal sequence).
If you want to select a new update method, you have to implement specific OSS notes, otherwise, even if you have selected another update method, data will still be written to the V3 update and it can no longer be processed !
Here is an OSS collection related to update method switch divided for application:
If the new update method of an application is the queued delta, it’s better to have the latest qRFC version installed.
However, before changing, you must make sure that there are no pending V3 updates (as suggested before, run the RMCSBWCC during a document posting free phase and switch the update method if this program doesn’t return any open V3 updates).
Not always on our systems an important downtime is possible in the initialization process during the reconstruction and the delta init request (just thinking when you need to ask a billing stop period...a real nightmare in some company !)
For this reason, as of PI 2002.1 and BW Release 3.0B, you can use the
But, if you are working with the queued delta method, using early delta initialization function doesn’t make sense: as described before, it’s the same method definition that permits to reduce downtime phase.
But leaving aside that, don’t forget that, regardless of the update method selected, it’s ALWAYS necessary to stop any document postings (for the relevant application) during setup tables recompilation run !
In the end, just some little personal thoughts...
After concluding this delta methods overview, it’s clear that
queued delta will be very probably the most used and popular delta method in Logistic Cockpit: if we consider direct and unserialized ones as exploitable only in specific and not so frequent situations (low delta document occurrences or no serialization needed), queued delta comes as legitimate heir to the throne before occupied by the old ‘serializer’.Ok, all the elements are now available: it’s up to you making a right choice of delta method taking in consideration your specific scenario !