Previous Topic: Purging Database BuffersNext Topic: Enabling Data Sharing


Changing Shared Cache

Affects all Files

Changing the shared cache for an area changes the shared cache assigned to each of the area's files.

Scope of Change

Changing the shared cache for a file affects only the system on which the command is issued. To change the shared cache for all systems that are accessing the file, the command must be issued on each of those systems. In a data sharing environment, the command can be broadcast to all members of the group.

Data Sharing Considerations

In order to change the shared cache for a file associated with a shared area, all shared areas associated with the file must have a status of OFFLINE or TRANSIENT RETRIEVAL. Furthermore, if any area associated with the file is shared, the new shared cache takes effect only if the status of such areas in all group members is OFFLINE or TRANSIENT RETRIEVAL. This is because the cache name for a file associated with a shared area (other than one in transient retrieval), is determined by the first sharing system to open the file. All systems that subsequently open the file will use the shared cache specified by the first system.