这是我为一个朋友做的零停机时间存储迁移的测试,他的需求简单如下:需要做一次存储的更换,2-nodes Oracle DATABASE 11G R1 RAC ON SORARIS WITH ASM,计划更换存储,原存储划分9个LUN,其中2个用于OCR,3个用于表决盘,剩余的用于ASM磁盘组(只有一个),数据库具体版本号为11.1.0.7。我当时提供了几种方案,包括非...【阅读全文】
ERROR at line 1:ORA-00604: error occurred at recursive SQL level 1ORA-04031: unable to allocate 3896 bytes of shared memory ("sharedpool","select value$ from sys.props...","sga heap(1,0)","kglsim object batch")SQL> alter system set memory_target=2000m scope=spfile;System altered....【阅读全文】
有时需要更新存储设备,或者将整个数据库中的文件迁移到其他目录下,对于大数据库,文件较多时,操作容易出错,可以利用oracle的rman中backup as copy database方法实现高效搬迁。(迁移大数据库)export ORACLE_SID=hbsfcsrman target /configure device type disk parallelism 128;STARTUP nomount;restore con...【阅读全文】
通过系统监控平台告警发现数据库的Library Hit %命中率很低查看AWR报告发现:每秒解析次数只有5.4每秒硬解析次数达到928.4Library Hit %: 71.16 Soft Parse %: -17,006.07 软解析比例完全溢出。检查系统的解析次数统计发现大量的parse count (failures)select * from v$sysstat where name like 'par...【阅读全文】