Research and Design of Database System High Availability Architecture Based on Oracle Database 10g

Author
PanWei
Advisor
ZhaoZiXiang , WangZhiGang
School
Dalian Maritime University
Major
Computer technology
Classification
TP311.138 Database system: sub- system name
Degree
Master's thesis
Year
2010
Downloads
154
Citations
1

Request the full text

Abstract

With development of information technology and the increasingly fierce competition among enterprises, IT systems are used by more and more companies in handling routine business in order to improve their economic benefits and competitive strength. The more that the enterprises depend on IT systems, the higher level of data security and system availability is required. That means the high availability of IT systems turns out to be the vitals of enterprises. Meanwhile, high availability and disaster tolerance of the database system, the core of IT system, play a vital role in maintaining the business continuity and data integrity of the enterprises. It constitutes the cornerstone of the enterprises’normal operation.For example, a company specializes in stevedoring of containers and needs its key business system to run 7*24 hours uninterruptedly due to the unique feature of dock operation. If the key system collapses, all the stevedoring operation will stop, which will result in a multimillion or even tens of millions of economic loss. More seriously, the company will suffer a credit loss, which will finally leads to a loss of clients as they refuses to call at the dock. This kind of situation proposes a higher requirement for the availability of the database system as the core and base of the business system.The purpose of this paper is to design a feasible, efficient and cost-effective high availability frame of Oracle Database 10g for enterprises to ensure the normal operation of their database systems. Upon the analysis of user needs, the research of current status of database systems used by most enterprises, and the study of high availability resolutions provided by Oracle 10g and other relevant products, the author analyses the factors that affect the system availability and approaches to improve it, investigates the guidelines and principles to design high availability frame resolutions, and finally develop a high availability frame of Oracle 10g. The resolution integrates a series of high availability technologies like Real Application Cluster, Oracle Data Guard, and RMAN, etc. Furthermore, a series of tests were conducted under such a frame environment, including the complete and incomplete recovery test of media using RMAN, the test on recovery of the incorrectly revised or deleted data using Flashback, Oracle RAC failover test, and Oracle Data Guard Switchover and failover test, etc. All these tests lead to the conclusion that this high availability frame resolution can deal with multiple faults in very short time and recover the data and database service effectively and rapidly.The high availability frame resolution of Oracle lOg as described in this paper has been put into use in the above mentioned company and proved to be a very good practice.

Table of contents

Abstract 5-6 ABSTRACT 6-11 Chapter 1 Introduction 11-16 1.1 system research background and significance 11-12 1.2 research status 12-14 1.3 of this paper mainly work 14 organizational structure 1.4 papers 14-16 Chapter 2 high availability knowledge Summary 16-24 2.1 availability and high availability 16-17 2.2 usability level 17 2.3 RTO and RPO 17-18 2.4 system downtime analysis 18-21 2.4.1 Plan downtime 19-20 2.4.2 planned downtime 20-21 way 2.5 improve system availability 21-22 2.5.1 improve reliability 21-22 2.5.2 to improve maintainability 22 2.6 high availability and cost 22-24 Chapter 3 Oracle 10g database high availability technology 24-50 3.1 Real Application Clusters (Real Application Cluster RAC) 24-32 3.1.1 Oracle RAC advantage 25-26 3.1.2 Oracle RAC architecture 26-29 3.1.3 RAC 29-31 3.1.4 Oracle RAC with double hot backup compare 31-32 3.2 Oracle Data Guard (Oracle Data Guard) 32-39 3.2.1 Data Guard architecture 33-37 3.2.2 Data protection mode 37-38 3.2.3 to change the protection mode 38-39 3.2.4 Automatic fissures monitoring and solve 39 3.3 Oracle Flashback 39-45 3.3.1 Introduction to the Flashback technology 39-40 3.3.2 Flashback Query (Flashback query) 40-41 3.3.3 Flashback Versions Query (Flashback version query) 41 3.3.4 Flashback Transaction Query (Flashback transaction query) 41-42 3.3.5 Flashback (Flashback Table) 42-43 Flashback to delete (Flashback drop) 43-44 3.3.6 3.3.7 Flashback Database (Flashback database) 44-45 3.4 Oracle Stream 45-46 3.4.1 Stream works 45 3.4.2 Data Guard and Stream is 45-46 3.5 RMAN the concept and architecture 46-50 3.5.1 RMAN About 46-47 3.5.2 RMAN architecture 47-48 3.5.3 RMAN relevant concepts explained 48-50 Chapter 4 Oracle 10g high availability framework for analysis and design 50-66 4.1 design background 50-51 4.2 high availability framework design guidance methods and principles 51-52 4.3 Design Oracle 10g high availability framework solution 52-66 the cluster planning 4.3.1 Oracle 55-60 4.3.2 Oracle remote disaster recovery planning 60-64 4.3.3 the Oracle RAC backup program planning 64-66 Chapter 5, high availability framework technology 66-116 5.1 and configured Oracle RAC 66-96 5.1.1 hardware configuration 66 5.1.2 operating system and database software 66 5.1.3 ready the RAC installation environment 66-77 5.1.4 configure shared SCSI storage devices 77-79 5.1.5 install and configure OCFS2 79-85 5.1.6 install Oracle Clusterware Clusterware software 85-89 5.1.7 installed Oracle 10g database software 89-93 5.1.8 create Oracle cluster databases 93-95 5.1.9 Verify the RAC Cluster and database configuration 95-96 5.2 to create and configure Oracle Data Guard 96-114 the a 5.2.1 master database environments to prepare 96-105 5.2.2 modify the main database for the archiving mode 105 5.2.3 backup of the primary database 105-106 5.2.4 ready standby database environment 106-111 5.2.5 recovery standby database 111 5.2.6 manually restore the standby database 111-112 5.2.7 standby database in automatic management mode 112 the the 5.2.8 data protection mode select 112-113 5.2.9 Verify that the standby database work is normal 113 the 5.2.10 to develop automatic to clear outdated logs scheme 113-114 5.3 backup program to develop 114-116 5.3.1 Timer setting 114 5.3.2 backup scheduling script 114-115 5.3.3 full backup script 115 5.3.4 archive log backup script 115 5.3.5 RMAN retention policy 115-116 Chapter 6 of Oracle 10g high availability framework test . 116-135 6.1 test database media recovery 116-118 6.1.1 using RMAN database full backup 116 6.1.2 test to use RMAN fully restored 116-117 6.1.3 test to use RMAN incomplete recovery 117-118 6.1.4 test analysis 118 6.2 test user error recovery 118-125 6.2.1 testing using Flashback Drop recover accidentally deleted by the user table 118-120 6.2.2 test use Flashback to restore user error modify data 120-124 6.2.3 the test execution Flashback database 124-125 6.2.4 test analysis 125 6.3 the establishment of a two-node Oracle RAC test 125-129 6.3.1 Oracle RAC load balancing test 125-127 6.3.2 the Oracle RAC transparent fault switch test 127-129 6.3.3 test analysis 129 6.4 Oracle Data Guard created test 129-135 6.4.1 normal switch (switchover) test 129-133 6.4.2 to conduct failover (Failover) test 133-134 6.4.3 test analysis 134-135 Chapter 7 Conclusion 135-139 the References 139-141 studying for a degree during the published papers 141-143 Acknowledgements 143-144

Related dissertations

  1. Computer Control System of Beer Filling Production Line
    ZhangTianXia ·Tianjin University ·2012 ·Master's thesis
  2. Experimental Study on Thermal Contact Resistance between Solid-solid Surfaces and Development on Database Query System
  3. Macroeconmic of Kunming Integrated Statistical Database System of Design and Implementation
    ZhangXiaoXue ·Beijing University of Technology ·2013 ·Master's thesis
  4. Design and Implementation of Guoxin Gold Transaction Information Management System
    LiXiaoMin ·Dalian University of Technology ·2013 ·Master's thesis
  5. Non-Taxy Income Information Management System of Suzhou Branch Bank of SPD Bank
    WuZhong ·Dalian University of Technology ·2013 ·Master's thesis
  6. The Design and Implementation of Family Financial Management System Based on ASP.NET
  7. Design and Implementation of Shanghai Electrical and Mechanical Institute Production Training System
    ZhouZhaoYing ·Dalian University of Technology ·2013 ·Master's thesis
  8. Engineering Information Management System of Zuocheng Construction Corperation
    ShiDeHong ·Dalian University of Technology ·2013 ·Master's thesis
  9. Design and Implement of the Human Resource Management System for Primary and Middle School Based on.Net
  10. Design and Implementation of Nanjing Bank Foreign Concurrency Management System
    ZhangXiaoFeng ·Dalian University of Technology ·2013 ·Master's thesis
  11. Design and Implementation of Baili Company Marketing Information Management System
    FengBin ·Dalian University of Technology ·2013 ·Master's thesis
  12. Research and Development of Parameterized CAPP System for Panel Dies of Automobile Body
    WangMeiXia ·University of Jinan ·2013 ·Master's thesis
  13. High-speed Emu Aluminum Elloy Weld Fatigue Life Prediction of Vehicle
    JuYingZi ·Dalian Jiaotong University ·2013 ·Master's thesis
  14. Modeling Database System Performance with Locking Description
    PangLiYing ·Taiyuan University of Technology ·2013 ·Master's thesis
  15. Algorithm optimization and implementation of database Top-k co-location probabilistic frequent pattern mining
    HanJun ·Yunnan University ·2013 ·Master's thesis
  16. The Design and Implementation of a PAFA-Based Office Site Management System
  17. Design and implementation of educational management system of Chengde agricultural school
  18. Design and Implementation of Shanghai Information Pipeline Company Relocation Management Information System
    ZhangChunFeng ·Dalian University of Technology ·2013 ·Master's thesis
  19. Design and Reality of the Community Household Database System
  20. The Design and Implementation of Loan Management System for Second-Hand Building Business
    JiangZuoFan ·Dalian University of Technology ·2013 ·Master's thesis