事务日志已满 [英] transaction log is full

查看:111
本文介绍了事务日志已满的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在使用db2 udb v8.1,所以如果参数保留日志记录关闭,

i我认为它使用循环日志记录,在文档中它解释了日志

记录填写日志文件,然后在初始日志文件中覆盖初始日志记录

,如果是这样,为什么我们仍然有事务日志

是完全错误投诉?但是如果日志永远不会清理,那么就不是吗?b $ b将是问题,我必须不断增加日志文件大小,日志

文件号码?我们的应用程序每次只插入一条记录并且

自动提交已启用,但仍有日志完整错误。

i am using db2 udb v8.1 , so if parameter retain log records is off ,
i am assuing it use circular logging, in the doc it explains the log
records fill the log files and then overwrite the initial log records
in the initial log file, so if so, why we still have transaction log
is full error complaint? but if the log never clean up, so isn''t it
will be problem that i have to keep increase the log file size, log
files numbers? our application only insert one record each time and
auto commit is on , but still has log full error.

推荐答案

要么增加日志数量,更多地定期提交,要么配置你的b $ b系统来回滚单个事务,而不是填写特定的

数量的日志(max_log参数)。


您在每次插入后提交的最终声明可能是

不正确。


BTW,使用循环日志记录意味着你无法在恢复后滚动forware,

意味着你没有适当的恢复。对于具有随机

数据的测试系统,它是可以的,但绝不应该用于生产。


xixi <哒**** @ yahoo.com>在消息中写道

news:c0 ************************** @ posting.google.c om ...
Either increase the number of logs, commit more regularly, or configure your
system to rollback a single transaction from filling more than a specific
number of logs (max_log parameter).

Your final statement that you are committing after each insert is probably
incorrect.

BTW, using circular logging means you cannot roll forware after a restore,
meaning you have no proper recovery. It''s OK for test systems with random
data, but should never be used in production.

"xixi" <da****@yahoo.com> wrote in message
news:c0**************************@posting.google.c om...
我正在使用db2 udb v8.1,所以如果参数保留日志记录关闭,
我在考虑使用循环日志记录,在文档中它解释了日志
记录填写日志文件然后覆盖初始日志文件中的初始日志记录,如果是这样,为什么我们仍然有事务日志
是完全错误投诉?但如果日志永远不会清理,那么就不会有问题,我必须不断增加日志文件大小,日志文件号码?我们的应用程序每次只插入一条记录并且
自动提交已启用,但仍有日志已满错误。
i am using db2 udb v8.1 , so if parameter retain log records is off ,
i am assuing it use circular logging, in the doc it explains the log
records fill the log files and then overwrite the initial log records
in the initial log file, so if so, why we still have transaction log
is full error complaint? but if the log never clean up, so isn''t it
will be problem that i have to keep increase the log file size, log
files numbers? our application only insert one record each time and
auto commit is on , but still has log full error.



增加日志数量,定期提交,或者配置你的
系统以回滚单个交易,从而填写超过特定的

数量的日志(max_log参数)。


您在每次插入后提交的最终声明可能是

不正确。


BTW,使用循环日志记录意味着您无法滚动forware恢复后,

意味着你没有适当的恢复。对于具有随机

数据的测试系统,它是可以的,但绝不应该用于生产。


xixi <哒**** @ yahoo.com>在消息中写道

news:c0 ************************** @ posting.google.c om ...
Either increase the number of logs, commit more regularly, or configure your
system to rollback a single transaction from filling more than a specific
number of logs (max_log parameter).

Your final statement that you are committing after each insert is probably
incorrect.

BTW, using circular logging means you cannot roll forware after a restore,
meaning you have no proper recovery. It''s OK for test systems with random
data, but should never be used in production.

"xixi" <da****@yahoo.com> wrote in message
news:c0**************************@posting.google.c om...
我正在使用db2 udb v8.1,所以如果参数保留日志记录关闭,
我在考虑使用循环日志记录,在文档中它解释了日志
记录填写日志文件然后覆盖初始日志文件中的初始日志记录,如果是这样,为什么我们仍然有事务日志
是完全错误投诉?但如果日志永远不会清理,那么就不会有问题,我必须不断增加日志文件大小,日志文件号码?我们的应用程序每次只插入一条记录并且
自动提交已启用,但仍然有日志完整错误。
i am using db2 udb v8.1 , so if parameter retain log records is off ,
i am assuing it use circular logging, in the doc it explains the log
records fill the log files and then overwrite the initial log records
in the initial log file, so if so, why we still have transaction log
is full error complaint? but if the log never clean up, so isn''t it
will be problem that i have to keep increase the log file size, log
files numbers? our application only insert one record each time and
auto commit is on , but still has log full error.



" Mark Yudkin" <我******** @ nospam.org>在消息中写道

news:c727pb
"Mark Yudkin" <my***********************@nospam.org> wrote in message
news:c727pb


这篇关于事务日志已满的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆