TimesTen备份文件名解读
2016-10-21 15:50
183 查看
一个备份的输出如下:
$ ll
total 44292
-rw——-. 1 timesten timesten 28867176 Oct 18 22:05 sampledb_1122.0.bac
-rw——-. 1 timesten timesten 16480256 Oct 18 22:05 sampledb_1122.0.bac0
-rw——-. 1 timesten timesten 720 Oct 18 22:05 sampledb_1122.sta
虽然大致猜的到,不过还是听听权威的解释:
The .bac file is essentially a copy of the most recent checkpoint file (ds0/ds1) while the .bacxyz file is a single file that is a merge of all the transaction log files (tt41data.lognnnnnn files) needed to recover from that checkpoint file. So depending on the state of your database (in terms of the number of log files present on disk and which of them are actually required) at the time you take the backup the .bacxyz file may vary in size from very small to very large. If you want to ensure that the .bacxyz file has the smallest possible size you should issue a checkpoint manually, and wait for it to finish, before running the ttBackup command.
$ ll
total 44292
-rw——-. 1 timesten timesten 28867176 Oct 18 22:05 sampledb_1122.0.bac
-rw——-. 1 timesten timesten 16480256 Oct 18 22:05 sampledb_1122.0.bac0
-rw——-. 1 timesten timesten 720 Oct 18 22:05 sampledb_1122.sta
虽然大致猜的到,不过还是听听权威的解释:
The .bac file is essentially a copy of the most recent checkpoint file (ds0/ds1) while the .bacxyz file is a single file that is a merge of all the transaction log files (tt41data.lognnnnnn files) needed to recover from that checkpoint file. So depending on the state of your database (in terms of the number of log files present on disk and which of them are actually required) at the time you take the backup the .bacxyz file may vary in size from very small to very large. If you want to ensure that the .bacxyz file has the smallest possible size you should issue a checkpoint manually, and wait for it to finish, before running the ttBackup command.
相关文章推荐
- 解读4种不同的容灾备份方式
- 解决保存图片文件名冲突-2(仅供备份)
- 获取本批数据备份文件名 Monxin专用(PHP代码函数)
- 2018年3月8日,解决python简明教程的习题“命令行添加需要备份的文件名”
- 数据备份形式主要方式解读大全
- SQL Server : 如何让每次备份的目标文件文件名不一样
- 备份(clob is locked、手动回滚事务、文件名正则验证)
- oracle的备份(文件名为当前日期)
- 实现每天不同文件名的差异备份,示例
- Oracle备份文件名获取系统时间的做法(windows)
- sqlserver2000 把数据库改名(包括修改逻辑文件名,以便备份成新的数据库)
- 备份前一天文件名中包含日期的文件
- EXP给备份文件名自动加上当前日期
- 用vbs实现的简单的服务器文件备份办法压缩文件名自动按日期命名
- mysql备份 小结 (三种方式的详细解读)
- 解读4种不同的容灾备份方式
- ORACLE自动备份脚本DMP文件名
- 在11.31和11.31之前的HP-UX上如何解读tape设备文件名
- python实现备份gitlab版本库并更改文件名
- timesten备份和恢复