full backup and log backup can happen at the same time
来源:互联网 发布:柊筱娅cos淘宝 编辑:程序博客网 时间:2024/05/17 04:53
如果你的备份计划是每天一次full backup和每15分钟一次log backup。那么当full backup在运行时(有时候运行时间还很长),log backup是在同时运行的。
下表显示了一些admin 操作的相互冲突。
http://msdn.microsoft.com/en-us/library/ms189315.aspx
从道理上讲,full backup和log backup也不会互相冲突。full backup是对数据文件的dump,log backup是对log文件的dump所以在物理上二者不会冲突。其次如果二者不能同时进行,而full backup又运行了很长时间,那么如果这期间又发生了数据库失败,将发生长时间的data lost。这显然是不可接受的。
现在观察下面这个备份序列。
我们可以清楚的看到,full 备份开始后不久,就发生了一次log 备份。这次full备份实际上持续了24分钟。因此可以肯定,full backup 和log backup是同时发生的。从lsn上可以看出来,full backup包含的lsn是277249000047132600001到277257000022114200001,和后面紧跟的2次log备份是重复的。直到第三次log备份,所备份的内容才超出了full backup的内容。
因此当我们使用备份文件恢复数据库时,只需要使用以下几个备份文件就可以了:
full.bak
EMCPRISM_20140520040000.trn
EMCPRISM_20140520041502.trn
当然,在恢复的时候如果把这些full backup和log backups都选上也是可以的。无非就是一个时间段内发生的数据变化会被恢复两次而已。
- full backup and log backup can happen at the same time
- mysqld_safe Can't log to error log and syslog at the same time.
- 53. A man can't spin and reel at the same time. 一心不能二用
- Can ORACLE use both memory_target and AIX large pages at the same time ?
- How can a database be in-memory and durable at the same time?
- WATCH YOUR NOVA LOG AT THE SAME TIME
- Read and write a FileStream at the same time
- Xtrabackup full backup
- Greenplum full backup
- backup
- BACKUP
- backup
- backup
- backup
- backup
- backup
- Backup
- Backup
- Android[动画] Frame Animation
- 关于 java注解 问题
- svn库迁移
- 关于合作编写Java初级教程
- 第四周项目3程序的多文件组织
- full backup and log backup can happen at the same time
- 正则表达式的多行模式与单行模式
- hibernate one-to-one 配置及操作
- 【Activity】 Activity的4种加载模式及Intent标识
- dbunit使用例子
- 关于MEF的一些简单的说明
- 20140325软件测试复习——测试类型
- iOS 小记(1)
- 关于POI导出到Excel表格中(servlet中)