上一页 1 ··· 65 66 67 68 69 70 71 72 73 ··· 76 下一页
摘要: 1、You may need to create control files if:All control files are lost because of a failure.The name of a database needs to be changed.The current settings in the control file need to be changed.2、The behavior of multiplexed control files is this:The database writes to all filenames listed for the ini 阅读全文
posted @ 2013-03-27 12:39 ArcerZhang 阅读(503) 评论(0) 推荐(0) 编辑
摘要: Complete Recovery MethodsClosed database recovery for:System datafilesUndo segment datafilesWhole databaseOpen database recovery,with database initially opened(for file loss)Open database recovery with database initially closed(for hardware failure)Data file recovery with no datafile backup. 阅读全文
posted @ 2013-03-27 12:36 ArcerZhang 阅读(110) 评论(0) 推荐(0) 编辑
摘要: 1、冷备的实质就是将/u01/oradata/ora_sid/目录下的数据文件进行拷贝到一个预先定义好的目录文件中. 阅读全文
posted @ 2013-03-26 23:29 ArcerZhang 阅读(182) 评论(0) 推荐(0) 编辑
摘要: 1、nomount->mount->open2、数据库在mount状态时,控制文件时打开的,数据文件时没有打开的.3、在数据库处于mounted状态时,DBA可以进行RECOVER DATABASE或者RECOVER DATAFILE 在数据库处于open状态时,DBA可以进行RECOVER TABLESPACE 或者RECOVER DATAFILE;4、有了控制文件以后,我们就可以将数据库启动到mount状态. 阅读全文
posted @ 2013-03-26 18:19 ArcerZhang 阅读(513) 评论(1) 推荐(0) 编辑
摘要: 1、手工设置归档目录SQL> alter system set log_archive_dest_1='LOCATION=/u01/arcerzhang/poli/arch' scope=both;System altered.2、查看设置结果SQL> show parameter arch;NAME TYPE VALUE------------------------------------ ----------- ------------------------------archive_lag_target ... 阅读全文
posted @ 2013-03-26 17:15 ArcerZhang 阅读(406) 评论(0) 推荐(0) 编辑
摘要: 1、在sys身份下登陆oracle,执行命令archive log list;SQL> archive log list;Database log mode Archive ModeAutomatic archival EnabledArchive destination USE_DB_RECOVERY_FILE_DESTOldest online log sequence 25Next log sequence to archive 27Current log sequence 27Vie... 阅读全文
posted @ 2013-03-26 16:59 ArcerZhang 阅读(617) 评论(0) 推荐(0) 编辑
摘要: 1、第一步,查看当前归档模式状态SQL> archive log listDatabase log mode Archive ModeAutomatic archival EnabledArchive destination USE_DB_RECOVERY_FILE_DESTOldest online log sequence 25Next log sequence to archive 27Current log sequence 272、第二步,将数据库关闭后,然后再置于mount状态S... 阅读全文
posted @ 2013-03-26 11:39 ArcerZhang 阅读(396) 评论(0) 推荐(0) 编辑
摘要: 1、在oracle的recovery中,分两种:complete recover and incomplete recovery2、在NOARCHIVELOG MODE情况下,是没有完全恢复的. 在非归档模式下,有一个文件损坏,要restore必须重新拷贝全部文件; 非归档模式,一般使用在测试环境或者开发环境;对于实际的生产环境下的数据业务库,100%的需要使用归档模式.3、非归档模式下数据库恢复原理图解假如the most recent backup,是在144(scn)处,当数据发生损坏在146处时,又假如redo log file文件中的数据没有被覆盖时(redo log file是.. 阅读全文
posted @ 2013-03-26 11:33 ArcerZhang 阅读(163) 评论(0) 推荐(0) 编辑
摘要: 1、pathon、ruby、perl的使用场景pason,ruby更适合web开发perl适合文本处理2、系统中查看perl版本信息[root@arcerzhang perl]# perl -vThis is perl, v5.10.1 (*) built for x86_64-linux-thread-multiCopyright 1987-2009, Larry WallPerl may be copied only under the terms of either the Artistic License or theGNU General Public License, which 阅读全文
posted @ 2013-03-25 22:25 ArcerZhang 阅读(130) 评论(0) 推荐(0) 编辑
摘要: Determine what type of RMAN backups should be takenMake backups with the RMAN copy and BACKUP commandsBack up the control fileBack up the archived redo log files 阅读全文
posted @ 2013-03-25 18:50 ArcerZhang 阅读(146) 评论(0) 推荐(0) 编辑
上一页 1 ··· 65 66 67 68 69 70 71 72 73 ··· 76 下一页