暂无图片
ogg logmnr_restart_ckpt$ 表很大,可以直接删除吗?
我来答
分享
Jiang
2021-01-13
ogg logmnr_restart_ckpt$ 表很大,可以直接删除吗?
暂无图片 5M

ogg logmnr_restart_ckpt$ 表很大,可以直接删除吗?

图片.png

我来答
添加附件
收藏
分享
问题补充
1条回答
默认
最新
你好我是李白

搬运Mos文档,希望对你有帮助:

How to reduce the Highwater of LOGMNR_RESTART_CKPT$ (Doc ID 429599.1) To BottomTo Bottom

In this Document
Goal
Solution
APPLIES TO:
Oracle Database - Enterprise Edition - Version 10.2.0.2 to 11.2.0.2.0 [Release 10.2 to 11.2]
Oracle Database Cloud Schema Service - Version N/A and later
Oracle Database Exadata Express Cloud Service - Version N/A and later
Oracle Database Exadata Cloud Machine - Version N/A and later
Oracle Cloud Infrastructure - Database Service - Version N/A and later
Information in this document applies to any platform.
GOAL
Oracle Streams enables the sharing of data and events in a data stream, either within a database or from one database to another. This article is intended to provide information regarding the management of LOGMNR_RESTART_CKPT$ table.

SOLUTION
Periodically, the mining process checkpoints itself for quicker restart.
These checkpoint information is maintained in the SYSAUX tablespace by default.

From Oracle 10.2 onwards, the purging of logmnr_restart_ckpt$ is done automatically
by Oracle. There is a capture parameter checkpoint_retention_time that determines how
frequently the purge occurs.

CHECKPOINT_RETENTION_TIME, controls the amount of checkpoint data that is retained by
moving the FIRST_SCN of the capture process forward. When the checkpoint_retention_time
is exceeded (default = 60 days), the FIRST_SCN is moved and the Streams metadata tables
previous to this scn(FIRST_SCN) can be purged. Space in the SYSAUX tablespace should be
reclaimed at this time.

You can alter checkpoint_retention_time to lesser value to purge the metatdata
tables more frequently using the following syntax :

exec dbms_capture_adm.alter_capture(capture_name =>’ ',CHECKPOINT_RETENTION_TIME=>);

For example :-

exec dbms_capture_adm.alter_capture(capture_name =>'STRMADMIN_CAPTURE ',CHECKPOINT_RETENTION_TIME=>7);

Here we are setting the retention time to 7 days. Any data in table logmnr_restart_ckpt$
older than 7 days is purged automatically.

You can then use the shrink command to manually free unused space both above and
below the high water mark of the table.

alter table system.LOGMNR_RESTART_CKPT$ enable row movement;
alter table system.LOGMNR_RESTART_CKPT$ shrink space ;
alter table system.LOGMNR_RESTART_CKPT$ disable row movement;

The index associated with the table can be shrunk using

alter index shrink space;

NOTE: When we alter these objects, it may leave some Streams related packages and views in SYS invalid.

To validate these invalid objects you need to run the utlrp package

SQL> @?/rdbms/admin/utlrp.sql

It is also useful to tune _checkpoint_frequency appropriately in order to minimise the checkpoint information stored and this should be mentioned.

If we minimise the amount of data stored then it will optimise any shrink that needs to be performed.

暂无图片 评论
暂无图片 有用 1
打赏 0
回答交流
Markdown


请输入正文
提交
相关推荐
Oracle创建触发器时需要特别注意什么问题?
回答 3
已采纳
在使用触发器时需要注意:对于相同的数据表、相同的事件只能创建一个触发器,比如为表account创建了一个BEFOREINSERT触发器那么如果为表account再次创建一个BEFOREINSERT触发
微信公众号做消息接口
回答 1
apex现在玩的多不多啊,几年前开大会了解过一次,后面再没接触了
system表空间问题
回答 3
谢谢我再看看吧
ORA-15032 ORA-15040 ORA-15042
回答 8
你的/dev/raw/raw4属于mgmt磁盘组,mgmt磁盘组手工可以mount吗?
AWR分析报告问题求助:看到有死锁的情况 正在排查,请老师给看看还有什么其余的优化点
回答 1
当你在AWR分析报告中发现死锁情况时,这意味着在数据库中出现了并发事务之间的冲突,导致了死锁的发生。解决死锁问题是数据库优化的重要一环,但除了死锁之外,还有其他一些优化点你可以考虑。以下是一些建议:性
Oracle 进行TDE加密后无法恢复备份
回答 2
看看是不是文件太大了,超过官网限制最大值了?
AWR分析报告问题求助:AWR报告有没有可以快速定位问题点,太长了
回答 2
先优化有问题的SQL;另外相似的SQL进行绑定变量;对于比较大的SQL看看是否可以拆解;然后看看是否IO有所改善。如果还不行需要提升IO能力。
Oracle报错:ORA-01102: cannot mount database in EXCLUSIVE mode
回答 2
使用90%有效的重启大法
11G日志量和10G日志量
回答 3
多留意下递归调用
咨询个问题:oracle 11.2.0.0.0 双机热备(一主一备) 升级11.2.0.4.0 第一台升级成功;第二台报ora-01041内部错误,hostdef扩展名不存在;第二台:可以mount, 但open;报错
回答 1
startupupgrade执行catupgrd.sql报的什么错?