dayu_lsh

导航

随笔分类 -  database

oracle之nomount、mount、open三种状态
摘要:1.先来看下外国网站上的资料怎么说 Nomount – The database instance has been started (processes and memory structures have been allocated, but control file is not yet a 阅读全文

posted @ 2016-12-12 22:19 dayu_lsh 阅读(3366) 评论(0) 推荐(0)

ORACLE备份(一)
摘要:物理结构 阅读全文

posted @ 2016-11-12 21:11 dayu_lsh 阅读(75) 评论(0) 推荐(0)

oracle 学习之DG的搭建
摘要:1.配置过程 确认为归档模式 配置归档日志存放路径(/home/oracle/arch提前创建) 将主库、备库加载入DG中 开启强制记录日志功能 拷贝全库至备库 主库配置tnsnames.ora 修改备库中的参数文件 启动备库 启动监听 测试联通 备库开启实时归档日志功能 主库切换到备库 备库切换到 阅读全文

posted @ 2016-11-12 21:10 dayu_lsh 阅读(578) 评论(0) 推荐(0)

archive log
摘要:1.查看归档模式 2.查看归档文件所在位置 3.完全恢复和不完全恢复 完全恢复:找到问题产生的时间点,在时间点之后的数据也能同时保留 不完全恢复:只能恢复到产生问题的那个时间点的数据状态。 4.非归档模式,数据文件损坏恢复 新建表空间,设置用户默认表空间为新建表空间 模拟数据损坏 数据恢复 阅读全文

posted @ 2016-11-06 21:27 dayu_lsh 阅读(127) 评论(0) 推荐(0)

redo log
摘要:1.redo log相关数据字典 v$log:display the redo log file information from the control file v$logfile:identifies redo log group# and members and memeber status 阅读全文

posted @ 2016-11-02 16:13 dayu_lsh 阅读(92) 评论(0) 推荐(0)

修改虚拟机内容导致oracle不能启动
摘要:虚拟机内存目前设置为4G,想要改变成2G,数据库启动时导致报targetmomory错误,解决办法如下: 1.查看分配的memory_target和memory_max_target大小 SQL> show parameter memory NAME TYPE VALUE hi_shared_mem 阅读全文

posted @ 2016-11-02 14:25 dayu_lsh 阅读(189) 评论(0) 推荐(0)