A database system includes a locking mechanism for a materialized view
defined on base relations. In response to updates of a base relation, a
predefined lock (e.g., Y lock or IY lock) is placed on the materialized
view. With the locking mechanism, transaction concurrency is enhanced by
enabling concurrent updates of a materialized view by plural transactions
in certain cases.