1.rman完全恢复的前提条件:历史的datafile,controlfile和spfile备份,加上完整的archivelog和完好的redolog。2.rman备份脚本: a.RMAN 0级备份命令:run{ allocate channel c1 type disk; allocat...
分类:
数据库 时间:
2015-12-14 18:16:49
阅读次数:
219
如果在Oracle安装时没有开启自动归档的模式的话,需要手工启动归档模式。a)修改log_archive_start定义是否自动归档,10g版本后,这个参数作废,即使值是FALSE也自动归档,当前系统是11g,所以无需更改。b)可以修改log_archive_format定义归档文件格式,一般使用默认值即可。c)..
分类:
数据库 时间:
2015-12-10 17:16:24
阅读次数:
191
1.检测physical corruptionRMAN> backup validate database archivelog all;2.检测logical corruptionRMAN> backup validate check logical database archivelog all...
分类:
数据库 时间:
2015-12-07 22:23:57
阅读次数:
237
---恢复内容开始---iptables防火墙的规则设置最好的设置流程是,将防火墙规则写入到配置文件中,然后通过#iptables-restore读取,这样可以避免防火墙设置错误和防火墙规则混乱;一、iptables—语法:——————————————————————————-iptables [-...
分类:
其他好文 时间:
2015-12-07 17:48:26
阅读次数:
211
需求环境:有一个项目需要将mongodb sharding从2.6升级到3.0 并使用wt引擎,其中2.6环境很多collectiong开启了Sharding,且数据量很大.选择mongodump,mongorestore方式问题: 在restore步骤出现了2个问题 1)大数量数据导入缓慢时...
分类:
数据库 时间:
2015-12-07 15:52:46
阅读次数:
189
Given a string containing only digits, restore it by returning all possible valid IP address combinations.For example:Given"25525511135",return["255.2...
分类:
其他好文 时间:
2015-12-06 22:38:44
阅读次数:
171
Given a string containing only digits, restore it by returning all possible valid IP address combinations.For example:Given "25525511135",return ["255...
分类:
其他好文 时间:
2015-11-26 12:33:32
阅读次数:
127
看了很多文章心里痒痒,也下载个ubuntu想发布个asp.net5试试,自然是下载的最新版本15。结果涉及dnu restore,dnx。。。什么的都没反应,切换为mono就正常,奇怪了,按说coreclr-rc应当是可以了啊?google后才知道,coreclr只在ubuntu14上通过和发布,我...
分类:
系统相关 时间:
2015-11-24 16:08:01
阅读次数:
221
这是在学习android的Canvas绘图技巧时做的一个实例。主要用的核心方法就是canvas.save,canvas.rotate,canvas.translate以及canvas.restore。通过这个小例子的练习,可以更好的掌握这些方法的使用。 先贴一张最终的效果图吧,如下: 来一...
分类:
移动开发 时间:
2015-11-22 23:08:15
阅读次数:
224