A download consists of three basic phases: expansion, extraction, and output. During the expansion phase, the scoping objects that are selected during subset definition are expanded to include related (neighborhood) objects. The extraction phase ensures that the subset is complete (that all necessary objects are included in the subset) and downgrades the user's protection to objects if necessary. Downgrades occur because an object is already checked out to another user or because the object was requested with delete and associated objects on the same model were not included in the subset expansion. In the output phase, the model is written to the transaction file.
Although download is primarily a read-only process, the encyclopedia does not allow other functions to occur while a download is in progress.
As objects are extracted from the encyclopedia, the encyclopedia updates the DOBJ or the DSUBEX table to indicate that the objects are checked out with a certain level of protection. Updates to the model for this purpose are the source of locks. Periodic commits are executed to alleviate the scope and duration of the locks. If a download does not complete successfully, the subset is not marked as being checked out. However, because commits were taken along the way, the next download must perform a cleanup routine before executing the download to remove all checkout updates for the failed download.
|
Copyright © 2013 CA.
All rights reserved.
|
|