1 / 16

R*: An overview of the Architecture

R*: An overview of the Architecture. By R. Williams et al. Presented by D. Kontos Instructor : Dr. Megalooikonomou. Overview. Distributed Database Systems. R* : an experimental DDMS developed at IBM Almaden Research Center in 1981. Overview of the architecture : Transaction management

bowen
Download Presentation

R*: An overview of the Architecture

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. R*: An overview of the Architecture By R. Williams et al. Presented by D. Kontos Instructor : Dr. Megalooikonomou

  2. Overview • Distributed Database Systems. • R* : an experimental DDMS developed at IBMAlmaden Research Center in 1981. • Overview of the architecture: • Transaction management • Object naming, catalogue management • Authorization, communication etc. • Conclusions on the issues arising in a DDBMS

  3. Distributed DBMS (DDBMS) • Need for sharing resources, data. • Preserve transparency of network communication and data organization. • Maximum independence – “site autonomy”. • R*: DDBMS consisting of a confederation of voluntarily co-operating sites, each supporting Relational data model communicating via IBM’s CICS.

  4. Architecture aspects • Environment and Data Definitions. • Object Naming. • Distributed Catalogs. • Transaction management, commit protocols. • Query preparation. • Query execution. • SQL additions and changes.

  5. Environment and Data Definitions • Several database sites communicating via network topology (CICS). • Data stored in relations • dispersed • replicated • partitioned • End usernot aware of the data distribution, organized by the DDBMS.

  6. Object Naming • Site autonomy – not a global naming system. • Network details transparency to the user, programming as simple as possible. • Mapping end user name  “print names”internal System Wide Names (SWN) USER @ USER_SITE.OBJECT_NAME @ BIRTH_SITE e.g.BRUCE at SAN_JOSE accesses table T BRUCE @ SAN_JOSE.T @ SAN_JOSE

  7. Distributed Catalogs • Distributed Catalog Architecture • Each site keeps and maintains catalogs regarding the objects at the database, replicas, fragments stored at the particular site. • The “birth” site of each object keeps information about where it is currently stored. • Object located through its SWN, catalogs store access paths. • Search path: local catalog  birth site catalog  indicated current site

  8. Transaction management commit protocols • Unique sequence transaction number. • Starts from the site it was entered • Synchronous & asynchronous execution. • Commit UNIFORM (all abort OR all commit) • Two phase commit protocol • Coordinator makes the final decision • Other sites prepared to commit awaiting • Lost commit messages detected by time-out.

  9. Query preparation • Name resolution • Authorization : Each site checks authorization on it’s own local data trusts the remote sites. • Globalcompilationplan by the master, access strategies. • Plan distribution, local compilation of parts. • Final code generated at the master, two phase compilation. • Optimization of access paths included  minimization of query execution time.

  10. Query execution • Code loaded locally, parallel execution  messages for communication. • Concurrency control • Distributed deadlock detection by periodically checking at each site wait-for information gathered locally or from other sites. • Deadlock cycle breaker  abort transaction. • Logging and recovery: • Resources held only if a transaction fails after entering the second phase of the commit protocol.

  11. SQL additions and changes • SQL extended to include the distributed capabilities.

  12. Conclusions • November 1981 R* experimental prototype system. • Key ingredient  autonomy of the sites. • Distributed data authorization, compilation, commit etc. • Based on a master – apprentices approach, two phase protocols. • Transparentnetwork topology, data definition and management. • A promising step towards a REAL DISTRIBUTED DBMS.

  13. THANK YOU!! Questions??

More Related