A Theory of Global Concurrency Control in Multidatabase Systems

Aidong Zhang, Ahmed K. ElmagarmidVLDB J 1993

This seminal 1993 paper addresses a fundamental challenge in distributed systems: maintaining data consistency across multiple, independent databases that operate without sharing their internal schedules.

The Challenge of Local Autonomy

In a Multidatabase System (MDBS), pre-existing and autonomous local databases (LDBSs) are integrated under a global management layer (GDBS). The primary constraint is local autonomy: the global system cannot monitor local transactions, nor can it dictate the internal locking or scheduling logic of the local databases.

Architecture of a Multidatabase System (MDBS) showing global and local transaction flows.

As shown in the architecture above, the global scheduler manages global transactions ($G_i ... G_j$) but remains blind to local transactions ($L_{11}, L_{m1}$) that interact directly with local sites ($LS_1, LS_m$). This lack of visibility leads to local indirect conflicts. For example, if two global transactions $G_1$ and $G_2$ access different data items, a hidden local transaction $L$ might access data from both, creating a dependency (e.g., $G_2 \to L \to G_1$). Without knowledge of $L$, the global scheduler might permit a schedule that violates global serializability, resulting in data corruption.

Methodology: Hybrid Serializability

Rather than attempting to inspect local database internals, the authors focus on the intrinsic properties of global transactions. They introduce three hierarchical correctness criteria:

  1. Chain-Conflicting Serializability (CCSR): Requires global transactions to have overlapping "write" or "read-write" operations in a specific order to force a predictable serialization at the local level.
  2. Sharing Serializability (SHSR): A more relaxed criterion where transactions only need to "share" data items (even for read-only operations), using data access relationships to infer order.
  3. Hybrid Serializability (HSR): The paper's primary contribution, HSR combines the strengths of CCSR and SHSR to provide a flexible yet robust guarantee of system-wide consistency.

To implement these theories, the authors propose the Extra Operation Method. If global transactions do not naturally satisfy the hybrid property, the global scheduler can "force" it by silently appending dummy operations—such as a small read or write to a specific "ticket" item—before sending the transactions to local sites.

Key Results and Insights

  • Theorem of Global Serialization: The paper proves that if a global sub-schedule is Hybrid Serializable and each local site is individually serializable, the entire global system is guaranteed to be serializable.
  • The "Black Box" Strategy: The research demonstrates that global consistency can be maintained without violating local autonomy by strategically structuring global transactions to "trick" local schedulers into a specific order.
  • Optimality Limits: The authors define Extra-Hybrid Transactions as the theoretical boundary—the weakest possible condition required to maintain global serializability while respecting local autonomy.
  • Complexity Reduction: By adopting HSR, the global concurrency control problem is reduced to a graph-testing problem, specifically ensuring the Global Execution Graph remains acyclic.

Limitations and Future Directions

While the theory provides a rigorous foundation for concurrency, it primarily addresses committed transactions. The authors note that system failures or transaction aborts can still disrupt these guarantees, suggesting the need for a unified theory that integrates concurrency control with atomic commitment protocols and failure recovery. Additionally, while the "Extra Operation Method" is theoretically sound, the practical overhead of appending operations and managing potential deadlocks remains a significant engineering challenge for implementation.

Summary updated

BibTeX
@article{zhang1993theory,
  author = {Aidong Zhang and Ahmed K. Elmagarmid},
  title = {{A Theory of Global Concurrency Control in Multidatabase Systems}},
  journal = {VLDB J.},
  year = {1993},
  url = {https://openreview.net/forum?id=gDxeJLjLYpXW},
}
Figure