MROW

What is MROW?

MROW or multiple readers, one writer is a supported Objectivity/DB access policy.

What is the purpose of MROW?

MROW allows a container to support multiple read processes/threads and one write process/thread at the same time. The MROW policy is useful for applications that would rather access a potentially out-of-date object than be prevented from accessing the object at all.

How does MROW work?

Objectivity/DB allows multiple transactions to read a container simultaneously and prevents multiple transactions from modifying a container simultaneously. It supports two concurrent access policies to control whether one transaction can update a container while one or more transactions are reading the same container. The two concurrent access policies are standard and multiple readers, one writer (MROW). The standard access policy prevents a transaction from reading a container that is being modified by another transaction; a transaction using this policy is called a standard transaction. The MROW access policy permits a transaction to read the last-committed or checkpointed version of a container that is being modified; a transaction using this policy is called an MROW transaction.