当前位置:网站首页>database mirroring
database mirroring
2022-07-05 21:58:00 【Short section senior】
Medium fault is one of the most serious faults affecting the system , Seriously affect the availability of the database
Media failure recovery is time-consuming
To prevent media failure , The database administrator must dump the database periodically
Solutions to improve database availability
database mirroring (Mirror)
database mirroring
The database management system automatically copies the whole database or the key data in it to another disk
The database management system automatically ensures the consistency between the mirrored data and the master data whenever the master database is updated , The database management system automatically copies the updated data
In case of media failure
It can be used by the mirror disk
At the same time, the database management system automatically uses the mirrored disk data to restore the database
There is no need to shut down the system and reinstall the database copy
When there is no fault
Can be used for concurrent operations
A user adds an exclusive lock to the data and modifies the data , Other users can read the data on the mirror database , Instead of waiting for the user to release the lock
Copying data frequently will naturally reduce the system operation efficiency
In practical applications, users often only choose to mirror key data and log files
Instead of mirroring the entire database
Summary of database recovery technology
Concept and nature of transactions
A transaction is the logical unit of work of a database
The database management system ensures the atomicity of all transactions in the system 、 Uniformity 、 Isolation and continuity , This ensures that transactions are in a consistent state
Type of fault
Transaction failure
System failure
Media failure
The most frequently used technology in recovery
Database dump
Register log files
The fundamentals of recovery
Use the backup copy stored in 、 Log files and redundant data in the database image to rebuild the database
Business
It is not only the basic unit of recovery
It is also the basic unit of concurrency control
Welcome to join me for wechat exchange and discussion ( Please note csdn Add )
边栏推荐
- MMAP
- 装饰器学习01
- About the writing method of SQL field "this includes" and "included in" strings
- AD637使用笔记
- Tips for using SecureCRT
- Parker driver maintenance COMPAX controller maintenance cpx0200h
- Cold violence -- another perspective of objective function setting
- 从零开始实现lmax-Disruptor队列(四)多线程生产者MultiProducerSequencer原理解析
- oracle 控制文件的多路复用
- 微服務鏈路風險分析
猜你喜欢
Getting started with microservices (resttemplate, Eureka, Nacos, feign, gateway)
Some common processing problems of structural equation model Amos software
Daily question brushing record (XIV)
Exercise 1 simple training of R language drawing
EBS Oracle 11g 克隆步骤(单节点)
Oracle检查点队列–实例崩溃恢复原理剖析
Efficiency difference between row first and column first traversal of mat data types in opencv
MMAP
Experienced inductance manufacturers tell you what makes the inductance noisy. Inductance noise is a common inductance fault. If the used inductance makes noise, you don't have to worry. You just need
DBeaver同时执行多条insert into报错处理
随机推荐
AD637 usage notes
xlrd常见操作
CRM creates its own custom report based on fetch
微服务链路风险分析
QML reported an error expected token ";", expected a qualified name ID
The solution to the problem that Oracle hugepages are not used, causing the server to be too laggy
poj 3237 Tree(樹鏈拆分)
How to use tensorflow2 for cat and dog classification and recognition
Deeply convinced plan X - network protocol basic DNS
如何向mongoDB中添加新的字段附代码(全)
递归查询多级菜单数据
"Grain mall" -- Summary and induction
微服務鏈路風險分析
Tips for using SecureCRT
DataGrid directly edits and saves "design defects"
Learning notes of statistical learning methods -- Chapter 1 Introduction to statistical learning methods
Poj 3237 Tree (Tree Chain Split)
华为联机对战如何提升玩家匹配成功几率
Experienced inductance manufacturers tell you what makes the inductance noisy. Inductance noise is a common inductance fault. If the used inductance makes noise, you don't have to worry. You just need
Exercise 1 simple training of R language drawing