Oracle数据库数据恢复、性能优化

找回密码
注册
搜索
热搜: 活动 交友 discuz
发新帖

999

积分

1

好友

942

主题
1#
发表于 2013-11-10 15:57:38 | 查看: 1757| 回复: 0
1. What is the output for:

analyze table <owner>.TAB validate structure;
analyze table <owner>.TAB validate structure cascade;


analyze table <owner>.TAB validate structure;
analyze table <owner>.TAB validate structure cascade;

analyze index <owner>.PK_SMTACCDTLRECSUB validate structure;

2. If analyze reports no corruption then check if there are any chained rows on the table. If these exist then we may have an undetected corruption and the issue should reproduce whenever the SQL is run. Exporting the table will also detect this issue.

3. If the problem is a memory corruption, it can be simply worked around by flushing the buffer_cache:
ALTER SYSTEM FLUSH BUFFER_CACHE;



If the issue is in memory only we can try to immediately resolve the issue by flushing the buffer cache but remember to consider the performance impact on production systems:
alter system flush buffer_cache;

If we have an intermittent consistent read issue we can try disabling rowCR which is an optimization to reduce consistent-read rollbacks during queries by setting _row_cr=FALSE in the initialization files. However, this could lead to performance degradation of queries. Please check the ratio of the two statistics "RowCR hits"/"RowCR attempts" to determine whether the workaround is to be used. The ratio should be as close to 1 as possible, i.e. it's good to have as many hits as possible.
- set "_row_cr"=FALSE
alter system set "_row_cr"=FALSE scope=spfile;
- restart the instance

If this is a result of index corruption then we can drop and rebuild the index. Note that this will require a maintenance window on production systems.
下载专业ORACLE数据库恢复工具PRM-DUL  For Oracle http://www.parnassusdata.com/

如果自己搞不定可以找诗檀软件专业ORACLE数据库修复团队成员帮您恢复!

诗檀软件专业数据库修复团队

服务热线 : 13764045638  QQ: 47079569     邮箱:service@parnassusdata.com
您需要登录后才可以回帖 登录 | 注册

QQ|手机版|Archiver|Oracle数据库数据恢复、性能优化

GMT+8, 2024-6-1 18:54 , Processed in 0.048354 second(s), 21 queries .

Powered by Discuz! X2.5

© 2001-2012 Comsenz Inc.

回顶部
TEL/電話+86 13764045638
Email service@parnassusdata.com
QQ 47079569