A Study of Transaction Processing Strategies in Multidatabase
- Author
- ChenGuang
- Advisor
- LuZhengDing , YanXiaoWei
- School
- Guangxi Normal University
- Major
- Computer Software and Theory
- Classification
- TP311.13 Database theory and systems
- Degree
- Master's thesis
- Year
- 2000
- Downloads
- 149
- Citations
- 3
- Multi-database
- Transaction atomic commits
- transactional consistency
- the panorama prototype system
- CORBA
Abstract
Communication and the development of database technology, has changed the way of user processing data. The characteristics of the data processing is a growing application needs, request access to the pre-existing local data, and these data are distributed on heterogeneous hardware and software network nodes. A multi-database system MDBS allows users to access multiple distributed, heterogeneous, autonomous database (DBMS) in the data. Multi-database, the global transaction is executed under the control of the MDBS, local transactions are executed under the control of the local DBMS independent. Different local databases may use different transaction mechanisms. Each local DBMS has complete control over their on global subtransaction and local affairs, such as termination of services on any point of execution of the transaction. Typically, local database should not be a variation of the design and structure. Between local databases are independent of each other, can not be reconciled with each other thus traditional isomorphic system transaction processing technology, such as the atomic commit and transactional consistency is not suitable for multi-database, I made work theoretically investigate the multi-database transaction atomic commit strategy and consistency strategy The programming of the the prototype system Panorama realization and query processing server implementations. First atomic commit strategy of multi-database transaction isomorphic various methods are not suitable for heterogeneous systems, because these methods require special filing process, only the local database transaction manager does not support them. The system described two submission policy: first submitted to the strategy submitted after the policy, it does not change the existing transaction manager. Which, after submission policy already exists in the local database to increase concurrency control and recovery components, increase the running load. The multi-level transaction is proposed in order to increase the degree of concurrency in a centralized database, multi-level transaction used in heterogeneous systems, both submitted strategy reuse the transaction model concurrency and recovery mechanisms, so that the global transaction atomic submitted. Particularly worth mentioning: the first to submit a combination of strategies with multi-stage transaction, but also increase transaction concurrency without increasing the running load. Second, the study of a multi-database transaction to maintain consistency problem. Global serialization traditional database transaction consistency criteria. But in multi-database the global serialization is difficult. Multi-database environment to achieve global serialization main difficulty is to solve the conflict between the multi-database transaction indirect, local affairs is difficult to solve the indirect conflict, because the behavior of local affairs and even local affairs, global transaction does not know. To solve this problem, increase data manipulation between each subtransaction of the global transaction, in order to create a direct conflict between the database of each member of the global subtransaction typical ticket algorithm. The ticket algorithm of conditions is a local database only guarantee serial execution of the local database, it does not violate the local autonomy, but to ensure the global transaction serialization. Its disadvantage is the low degree of concurrency. One way to solve the low degree of concurrency in multi-database relax serialization requirements, such as two serial 2LSR, multi-database ensure 2LSR execution is relatively simple and can achieve a high degree of concurrency. Application of the algorithm and multi-database integrity constraints, and is divided into different multi-database model, according to the actual situation, and can keep the consistency of the transaction. The division of the model covers a lot more than the actual database environment. Third of the CORBA specification. Multi-database using CORBA as a platform for husband stays, there are a lot of advantages, CORBA able to handle heterogeneous platform level, and provides location transparency and implementation, in other words, the realization of the object and the change of the position of the object on the client no effect, it reduces the complexity of the client code, client code does not change, the client is able to find new types of objects, this structure of CORBA is useful to register a new DBMS does not affect the existing system, it can also reduce the amount of code developed, but it can provide many processing heterogeneous functionality at the database level and some functions of the application-level processing interactive. Fourth, the system describes a CORBA-based multi-database prototype system Panorama Panorama major design thinking and use of basic technology strategy, such as Panorama architecture, schema integration, the basic realization of the strategy, query processing, transaction processing, The client program, Panorama integrates the three databases ORACLE SYABASE, DM2. Current implementation allows users to access the data in the local database through a the Global query language based on SQL standards, so far, it supports distributed computing, cross-platform operation, the data source is not specified, concurrency mechanisms, such as multi-user the select operation can handle the update statement, it can also handle nested transactions. \description of the functional description and workflow; Panon advantages and ie6 pointed out the direction of future efforts.
Table of contents
Chinese Abstract 2-3
English summary 3-8
Chapter Introduction 8-18
1.1 database definitions, characteristics 8-10
1.1.1 database definition; nbsp nbsp 8
1.1.2 database system characteristics; 8-10
1.2 multi-database system architecture 10-12
1.2.1 supports global conceptual model of the multi-database system; nbsp 11
1.2.2 without the concept of global mode multi-database system 11-12
1.3 multi-database system should be addressed; nbsp 12-14
1.3.1 global data model and a common data model 12-13
1.3.2 multi-database query processing nbsp 13-14
1.3.3 multi-database transaction management; 14
1. 4 Multi-database transaction processing status quo at home and abroad 14-16
1.4.1 foreign multi-database transaction 14-16
1.4.2 domestic multi-database transaction processing 16
1.5 The content and significance of research projects; nbsp 16-18
multi-database transaction atomic commit strategy 18-32
2.1 related concepts; nbsp nbsp 18-21
2.2 This chapter of the multi-database architecture; 21-22
2.3 atomic commit 22-24
2.3.1 2PC 23-24
2.4 submit 24-26
2.5 first submit 26-28
2.6 two transaction model a 28-30 of the
the 2.6.1 multistage transaction 29
2.6 .2 transaction-level database 29-30
the 2.7 atomic submitted two transaction model 30-31
2.8 Conclusion: 31 -32
Chapter database transaction consistency policy 32-40
the 3.1 ticket algorithm of 32-33
3.1.1 basic concepts 32
3.1.2 algorithm of ticket 32-33
3.2 the two serial 2LSR 33-40
3.2. 1 basic concepts, definitions 34-37
3.2.2 trivial model (Trivial Model); nbsp nbsp 37
3.2.3 Global Reading model (Gr); nbsp 3.2.4 local; 37
read model (LR) 37-38
3.2.5 Global literacy model (GRW) 38-39 <br / > 3.2.6 of global literacy and local Reading Model GrwLr the the Chapter 39-40
distributed object technology specification CORBA Introduction 40-53
4. distributed object technology 40-41
4.2 OMG's CORBA specification; nbsp 41-51
4.2.1 CORBA background 41-42
4.2.2 CORBA composition the ORB architecture of 42-43
4.2.3 43-47
4.2.4 ORB implementations The method is 47-49
4.2.5 Interface Definition Language IDL 49-50
4.2.6 CORBA model advantages 50-51
4.3 follow the CORBA standard products VisiBroker 51-53
the fifth chapter Panorama of the overall design of the prototype system 53-66
5.1 Panorama prototype system architecture 53-55
5.2 Panorama prototype system, the basic concept of real strategy the mode 55-57 the
Panorama 5.3 prototype system integration 57-60 < br /> 5.3.1 mode conflict classification 58
5.3.2 Panorama prototype system mode integrated 58-60
5.4 Panorama prototype system query processing 60
5.5 Panorama prototype system in transaction management 60-65
5.5.1 nested transaction definition 60
5.5.2 nested transaction behavior 60-61
of 5.5.3 NTNT algorithms 61-62
5.5.4 below is NTNT algorithm description: 62-64
5.5.5 An example 64-65
5.6 client program 65-66
Chapter query processing server design and implementation of 66-73
6.1 query processing server 66-70
the 6.1.1 query processing server Description 66 -67
6.1.2 data structure 67-69
6.1.3 query processing server flowchart 69-70
6.2 Panorama Description 70-73
6.2.1 Programming Notes 70-72
6.2.2 Panorama efforts direction 72-73
Conclusion the
Acknowledgements nbsp 73-75; 75-76
refer to the literature 76-79
appendix: Master published during 79
Related dissertations
- Research on Database Legacy System Migration to the Integrated Web Service
- Design and Implementation of Real-time Database Front-end System
- The Research and Implementation of Knowware for Pluggale Mechanism
- Analysis and Research of Key Technologies in End-to-End Network Management System
- Design and Development of Distributed Control System Based on CORBA
- Design and Research on CORBA-based Campus Network Behavior Monitoring System
- Development for CORBA Based PTN Network Managerment System Northbound Interface
- Research and implementation of data access based on Delphi database system
- Analysis and Design of Local Transmission Network Integrated Management System for Beijing Unicom
- Dsigning and Implementation of Kernel Algorith for TT&C Data Processing Platform
- Research of Component Technology and Applying in the Trademark Review System
- Design and Implementation of Software Deployment and Management System Based on CORBA
- The Design and Implementation of Process Control Management System for Slitter Line in Steel Enterprise
- The Design and Practice of Intelligence Substation System for Beijing Electric Power Company
- Design and Implementation of Middleware in Intelligent Space for Ward Inspection Robot Based on CORBA
- Design and Implementation of the Oil Field Project Management System Based on the MVC Pattern
- GS1010Wireless Network Access Design and Management
- CORBA package based on RapidIO SCA specification
- Analysis and Design of the Network Monitoring System for Local SDH Transmission Network
- Design and Implementation for Transmission Network Management System and Collection Adapter Southbound Interface