上一页 1 ··· 35 36 37 38 39 40 41 42 43 ··· 57 下一页
摘要: 今天和 杭州恒生 的一个朋友讨论一个RMAN 在备份时数据块一致性的问题。关于RMAN 的备份原理参考blog: RMAN 系列(一)---- RMAN 体系结构概述 http://blog.csdn.net/tianlesoftware/archive/2010/06/09/5659701.aspx先看官方文档上的一段话:Consistent BackupsYou can use the BACKUP command to make consistent and inconsistent backups of the database. A consistent backup occurs 阅读全文
posted @ 2010-08-10 00:06 hibernate我最强 阅读(248) 评论(0) 推荐(0)
摘要: 在Redhat5之前的版本中,系统通过/etc/sysconfig/rawdevices配置raw的控制文件,通过/etc/init.d/rawdevices来管理raw设备的启动和关闭。而在Redhat5之后,原来的raw设备接口已经取消了,redhat5中通过udev规则进行配置。要配置,需要编辑/etc/udev/rules.d/60-raw.rules这个文件。下面给出一个添加raw设备的测试过程。1.现在虚拟机上添加一个硬盘。我们仅做测试,所以分10M。2.启动我们的虚拟机,连上后查看磁盘情况[root@centos~]#fdisk-lDisk/dev/sda:16.1GB,1610 阅读全文
posted @ 2010-08-08 16:15 hibernate我最强 阅读(439) 评论(0) 推荐(0)
摘要: Oracle表之间的连接分为三种:1.内连接(自然连接)2.外连接(1)左外连接(左边的表不加限制) (2)右外连接(右边的表不加限制) (3)全外连接(左右两表都不加限制)3.自连接(同一张表内的连接)SQL的标准语法:selecttable1.column,table2.columnfromtable1[inner|left|right|full]jointable2ontable1.column1=table2.column2;innerjoin表示内连接;leftjoin表示左外连接;rightjoin表示右外连接;fulljoin表示完全外连接;on子句用于指定连接条件。注意:如果使 阅读全文
posted @ 2010-08-07 20:59 hibernate我最强 阅读(527) 评论(0) 推荐(0)
摘要: 121.Youwanttocreateanewoptimizeddatabaseforyourtransactionalproductionenvironmenttobeusedbyafinancialapplication.Whilecreatingthedatabase,youwanttheOraclesoftwaretotakecareofallbasicsettingstooptimizethedatabaseperformance.Whichmethodwouldyouusetoachievethisobjective?A)UsetheCREATEDATABASE..commandt 阅读全文
posted @ 2010-07-30 13:10 hibernate我最强 阅读(239) 评论(0) 推荐(0)
摘要: 71.Yourdatabaseinstanceisstartedusingtheserverparameterfile(SPFILE).Controlfilesaremultiplexedandstoredondifferentdisks.Becauseofadiskfailure,youlostoneofthesecontrolfiles.Youreplacedthedamageddisk.Whatisthecorrectsequenceofstepsthatyouwouldfollowtorecoverthecontrolfile?1.shutdowntheinstance,ifnotal 阅读全文
posted @ 2010-07-29 16:18 hibernate我最强 阅读(310) 评论(0) 推荐(0)
摘要: 之前做DataGuard做了一次Switchover切换,之后standby库就报如下错误:ThuJul2908:03:292010Errorsinfile/dba/oracle/admin/newccs/udump/newccs_rfs_19602.trc:ORA-16401:archivelogrejectedbyRFSThuJul2908:03:292010Errorsinfile/dba/oracle/admin/newccs/bdump/newccs_arc0_19519.trc:ORA-16401:archivelogrejectedbyRFSThuJul2908:03:33201 阅读全文
posted @ 2010-07-29 09:50 hibernate我最强 阅读(254) 评论(0) 推荐(0)
摘要: 31.WhichtwostatementsaretrueregardingthedatabaseinARCHIVELOGmode?(Choosetwo.)A)Youhavetoshutdownthedatabasetoperformthebackups.B)Archivinginformationiswrittentothedatafilesandredologfiles.C)Youcanperformcompletedatabasebackupswithoutclosingthedatabase.D)Onlineredologfileshavetobemultiplexedbeforeput 阅读全文
posted @ 2010-07-28 17:54 hibernate我最强 阅读(267) 评论(0) 推荐(0)
摘要: 昨天总部巡检,要求对OracleDataGuard做一个switchover的切换演示。以前都是在虚拟机上做这种切换的,没有在生产库上做过。所以还是有些紧张。不过做DBA一定要给自己留一条后路:备份。先shutdown,做冷备,在逻辑备份,加上之前的RMAN。即使切换失败,还有备份可用心里也就有底了。照着文档做,切换还是比较顺利的。但是在改IP的时候还是有点小插曲,在这里浪费了点时间。因为之前在虚拟机上没有改过IP。但是在生产环境上,肯定是要改主备库IP的。不管怎样。总算折腾完了。三点多同事送我回去的,洗个澡就睡了,早上9点多就起来了。上班前室友和我说你太幸苦了。回:ThisisJob。其他的 阅读全文
posted @ 2010-07-27 12:51 hibernate我最强 阅读(161) 评论(0) 推荐(0)
摘要: 声明:对于答案的相关的说明,是个人对Oracle的理解。1.Becauseofapoweroutage,instancefailurehasoccurred.Fromwhatpointintheredologdoesrecoverybeginandwheredoesitend?A.CurrentredologandinactiveredologB.CheckpointpositiontoendofredologC.BeginningofredologtoendofredologD.AllredologsbeforethepointoflastcommitE.Beginningofredolog 阅读全文
posted @ 2010-07-26 23:32 hibernate我最强 阅读(184) 评论(0) 推荐(0)
摘要: DataGuard环境:操作系统:redhat4.7Primary数据库:IP地址:10.85.10.1数据库SID:orclDB_UNIQUE_NAME:orcl_pdStandby数据库:IP地址:10.85.10.2数据库SID:orclDB_UNIQUE_NAME:orcl_stOracleDataGuard理论知识http://blog.csdn.net/tianlesoftware/archive/2010/04/22/5514082.aspxOracleDataGuradPhysicalStandby相关说明http://blog.csdn.net/tianlesoftware/ 阅读全文
posted @ 2010-07-23 01:21 hibernate我最强 阅读(134) 评论(0) 推荐(0)
上一页 1 ··· 35 36 37 38 39 40 41 42 43 ··· 57 下一页