当前位置:网站首页>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 )
边栏推荐
- EBS Oracle 11g 克隆步骤(单节点)
- 办公遇到的问题--
- The solution to the problem that Oracle hugepages are not used, causing the server to be too laggy
- 华为联机对战如何提升玩家匹配成功几率
- 【愚公系列】2022年7月 Go教学课程 004-Go代码注释
- Ad637 notes d'utilisation
- AD637使用筆記
- K210 learning notes (IV) k210 runs multiple models at the same time
- sql常用语法记录
- Getting started with microservices (resttemplate, Eureka, Nacos, feign, gateway)
猜你喜欢
Uni app Bluetooth communication
Analysis and test of ModbusRTU communication protocol
【愚公系列】2022年7月 Go教学课程 003-IDE的安装和基本使用
DBeaver同时执行多条insert into报错处理
华为快游戏调用登录接口失败,返回错误码 -1
Emotional analysis of wechat chat records on Valentine's day based on Text Mining
Some common processing problems of structural equation model Amos software
Implementing Lmax disruptor queue from scratch (IV) principle analysis of multithreaded producer multiproducersequencer
Scenario interview: ten questions and ten answers about distributed locks
Kingbasees v8r3 cluster maintenance case -- online addition of standby database management node
随机推荐
使用Aspect制作全局异常处理类
PyGame practical project: write Snake games with 300 lines of code
poj 3237 Tree(树链拆分)
NET中小型企业项目开发框架系列(一个)
从零开始实现lmax-Disruptor队列(四)多线程生产者MultiProducerSequencer原理解析
Ad637 notes d'utilisation
EBS Oracle 11g 克隆步骤(单节点)
EL与JSTL注意事项汇总
微服务链路风险分析
poj 3237 Tree(樹鏈拆分)
Image editor for their AutoLayout environment
微服務鏈路風險分析
matlab绘制hsv色轮图
Drawing HSV color wheel with MATLAB
Cold violence -- another perspective of objective function setting
Sitge joined the opengauss open source community to jointly promote the ecological development of the database industry
Implementing Lmax disruptor queue from scratch (IV) principle analysis of multithreaded producer multiproducersequencer
Kingbasees v8r3 cluster maintenance case -- online addition of standby database management node
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
Cross end solutions to improve development efficiency