当前位置:网站首页>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 )
边栏推荐
- 【愚公系列】2022年7月 Go教学课程 003-IDE的安装和基本使用
- 初级软件测试必问面试题
- 华为游戏多媒体调用切换房间方法出现异常Internal system error. Reason:90000017
- Defect detection - Halcon surface scratch detection
- Efficiency difference between row first and column first traversal of mat data types in opencv
- K210 learning notes (IV) k210 runs multiple models at the same time
- Zhang Lijun: la pénétration de l’incertitude dépend de quatre « invariants»
- The real situation of programmers
- SecureCRT使用提示
- Ethereum ETH的奖励机制
猜你喜欢

资深电感厂家告诉你电感什么情况会有噪音电感噪音是比较常见的一种电感故障情况,如果使用的电感出现了噪音大家也不用着急,只需要准确查找分析出什么何原因,其实还是有具体的方法来解决的。作为一家拥有18年品牌

The real situation of programmers

Shell script, awk condition judgment and logic comparison &||

Parker driver maintenance COMPAX controller maintenance cpx0200h

Exercise 1 simple training of R language drawing

Scenario interview: ten questions and ten answers about distributed locks

A number of ventilator giants' products have been recalled recently, and the ventilator market is still in incremental competition

Decorator learning 01

The American Championship is about to start. Are you ready?

【愚公系列】2022年7月 Go教学课程 004-Go代码注释
随机推荐
R language learning notes
Create a virtual machine on VMware (system not installed)
场景化面试:关于分布式锁的十问十答
Ad637 notes d'utilisation
Summarize the reasons for 2XX, 3xx, 4xx, 5xx status codes
Scenario interview: ten questions and ten answers about distributed locks
极狐公司官方澄清声明
poj 3237 Tree(树链拆分)
About the writing method of SQL field "this includes" and "included in" strings
"Grain mall" -- Summary and induction
Huawei cloud modelarts text classification - takeout comments
初级软件测试必问面试题
Decorator learning 01
datagrid直接编辑保存“设计缺陷”
Recursive query of multi-level menu data
Summary of El and JSTL precautions
The solution to the problem that Oracle hugepages are not used, causing the server to be too laggy
Huawei game multimedia service calls the method of shielding the voice of the specified player, and the error code 3010 is returned
[Yugong series] go teaching course in July 2022 004 go code Notes
AD637 usage notes