zai在线日志的大小能重新设定吗?

[复制链接]
查看11 | 回复7 | 2007-9-26 17:03:01 | 显示全部楼层 |阅读模式
观察在线日志切换频繁,想重新设定其大小,能重新划定吗?
回复

使用道具 举报

千问 | 2007-9-26 17:03:01 | 显示全部楼层
好像不行,删掉重建!
回复

使用道具 举报

千问 | 2007-9-26 17:03:01 | 显示全部楼层
是数据库重建吗?那太麻烦了吧?
回复

使用道具 举报

千问 | 2007-9-26 17:03:01 | 显示全部楼层
最初由 liuxh6 发布
[B]是数据库重建吗?那太麻烦了吧? [/B]

不是数据库重建,是redolog重建
回复

使用道具 举报

千问 | 2007-9-26 17:03:01 | 显示全部楼层
不好意思,查metlink,可以做,以下是步骤
You first make sure that a given log group is 'INACTIVE' -- check v$log.
Second, you use alter database to drop redo log group # to drop the inactive group.
Third, you use alter database to add the log group back, using the same files but of new size -- use REUSE clause.
Fourth, you use alter system to switch logfile until your new logfile group is ACTIVE. That way you know it is good.
Now you do the same for all of your other online redo logs.
Good Luck
回复

使用道具 举报

千问 | 2007-9-26 17:03:01 | 显示全部楼层
别用metalink说得方法。特别你日志切换快的情况。
先建立你需要的大日志组。等切换(或手工)过去再删除原来小的“inactive”的日志组。
回复

使用道具 举报

千问 | 2007-9-26 17:03:01 | 显示全部楼层
最初由 liuxh6 发布
[B]不好意思,查metlink,可以做,以下是步骤
You first make sure that a given log group is 'INACTIVE' -- check v$log.
Second, you use alter database to drop redo log group # to drop the inactive group.
Third, you use alter database to add the log group back, using the same files but of new size -- use REUSE clause.
Fourth, you use alter system to switch logfile until your new logfile group is ACTIVE. That way you know it is good.
Now you do the same for all of your other online redo logs.
Good Luck [/B]

这个方法还是删了重建呀。
回复

使用道具 举报

千问 | 2007-9-26 17:03:01 | 显示全部楼层
在切换快的时候,先建立几个大的日志来减少切换的速度,然后把小的日志在INACTIVE的时候给DROP了再从新建立
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

主题

0

回帖

4882万

积分

论坛元老

Rank: 8Rank: 8

积分
48824836
热门排行