一个1天前没有提交的一个DML在循环日志和归档日志

一个1天前没有提交的一个DML在循环日志和归档日志中有什么不同的表现。

在循环日志中,因为一个DML一直没有提交,因此在线 LOG的数据会一直增加,直到耗尽secondary log
在归档日志中,因为一个DML一直没有提交,因此在线 LOG会被归档,但是如果这个时候这个归档日志被误删,则可能导致这个DML无法ROLLBACK。
我这么理解是否正确。
参与15

9同行回答

无论在循环日志还是在归档日志中,active log 都是无法被归档的,而没有提交的DML 占用的就是active log。显示全部
无论在循环日志还是在归档日志中,active log 都是无法被归档的,而没有提交的DML 占用的就是active log。收起
证券 · 2015-07-13
浏览1095
drdb2drdb2系统工程师se
虽然db2没有undo/rollback segments就像oracle undo/rollback segments不能被archived一样,db2的log也不能被achived, if the log is holding un-committed transaction显示全部
虽然db2没有undo/rollback segments
就像oracle undo/rollback segments不能被archived一样,
db2的log也不能被achived, if the log is holding un-committed transaction收起
互联网服务 · 2015-07-15
浏览1129
marvelyumarvelyu软件开发工程师IBM
回复 5# drdb2    DB2没有提交日志不可能归档或重复使用,只会造成日志空间满,然后事物回滚,释放日志空间才可以显示全部
回复 5# drdb2


   DB2没有提交日志不可能归档或重复使用,只会造成日志空间满,然后事物回滚,释放日志空间才可以收起
互联网服务 · 2015-07-14
浏览1155
drdb2drdb2系统工程师se
DB2 uses WAL write-ahead logging. Transactions are logged while they occur, regardless of whether or not the transactions commit. Transactions go from the log buffer to log files (transactional logging) before any data is written from the buffer pool...显示全部
DB2 uses WAL
write-ahead logging. Transactions are logged while they occur, regardless of whether or not the transactions commit. Transactions go from the log buffer to log files (transactional logging) before any data is written from the buffer pools to the database structures.收起
互联网服务 · 2015-07-13
浏览1227
mp3wwwmp3www软件开发工程师东大
没有提交会写日志吗?显示全部
没有提交会写日志吗?收起
互联网服务 · 2015-07-13
浏览1125
drdb2drdb2系统工程师se
在db2里也成立关键是别把archived log 和 active log混谈Note: IBM自己一些文档表达不准,引起some confusion显示全部
在db2里也成立
关键是别把archived log 和 active log混谈
Note: IBM自己一些文档表达不准,引起some confusion收起
互联网服务 · 2015-07-13
浏览1157
ABAP4ABAP4网站架构师BBCD
估计没有几个人知道,这些东西太细节了显示全部
估计没有几个人知道,这些东西太细节了收起
IT咨询服务 · 2015-07-12
浏览1138
marvelyumarvelyu软件开发工程师IBM
回复 1# abcdex 第二个在oracle里成立,在DB2上就不成立显示全部
回复 1# abcdex 第二个在oracle里成立,在DB2上就不成立收起
互联网服务 · 2015-07-12
浏览1148
flywiththewindflywiththewind其它easy world
应该这样吧显示全部
应该这样吧收起
系统集成 · 2015-07-12
浏览1105

提问者

abcdex
网站架构师bdbs

相关问题

相关资料

相关文章

问题状态

  • 发布时间:2015-07-11
  • 关注会员:2 人
  • 问题浏览:4523
  • 最近回答:2015-07-15
  • X社区推广