Oracle® OLAP DML Reference 10g Release 2 (10.2) Part Number B14346-03 |
|
|
PDF · Mobi · ePub |
When an analytic workspace is attached in multiwriter mode, the RESYNC command drops private changes for the specified read-only objects and retrieves the data from the latest visible generations.
RESYNC resynthesized read-only objects. Use ACQUIRE to resynchronize acquired objects
RESYNC objects
A list of one or more variables, relations, valuesets, or dimension names, separated by commas, that you want to resynchronize. Oracle OLAP ignores any acquired objects in this list.
Keeping Logical Relationship of Objects
When using RESYNC keep in mind the logical relationship of different objects to avoid losing the logical consistency of the data by promoting some objects, but not others to a new generation.
Resynchronizing Objects that Share a Composite Dimension
Objects that share a composite dimension can be resynchronized separately as long as all such objects that are not being resynchronized are either unchanged or acquired.
Example 23-2 Resynchronizing Objects
In this example, user A is periodically updating actuals
, while user R needs to periodically check the latest view of the data. They could execute the following OLAP DML statements.
User A could execute the following OLAP DML statements.
AW ATTACH myworkspace MULTI ACQUIRE actuals ...make modifications UPDATE MULTI actuals COMMIT ...make modification UPDATE MULTI actuals COMMIT
At the same time, user R could execute the following OLAP DML statements.
AW ATTACH myworkspace MULTI ... RESYNC actuals ... RESYNC actuals ... RESYNC actuals ...