上一页 1 ··· 36 37 38 39 40 41 42 43 44 ··· 58 下一页
摘要: 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例子 阅读(308) 评论(0) 推荐(0) 编辑
摘要: 121.Youwanttocreateanewoptimizeddatabaseforyourtransactionalproductionenvironmenttobeusedbyafinancialapplication.Whilecreatingthedatabase,youwanttheOraclesoftwaretotakecareofallbasicsettingstooptimizethedatabaseperformance.Whichmethodwouldyouusetoachievethisobjective?A)UsetheCREATEDATABASE..commandt 阅读全文
posted @ 2010-07-30 13:10 hibernate例子 阅读(172) 评论(0) 推荐(0) 编辑
摘要: 71.Yourdatabaseinstanceisstartedusingtheserverparameterfile(SPFILE).Controlfilesaremultiplexedandstoredondifferentdisks.Becauseofadiskfailure,youlostoneofthesecontrolfiles.Youreplacedthedamageddisk.Whatisthecorrectsequenceofstepsthatyouwouldfollowtorecoverthecontrolfile?1.shutdowntheinstance,ifnotal 阅读全文
posted @ 2010-07-29 16:18 hibernate例子 阅读(222) 评论(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例子 阅读(240) 评论(0) 推荐(0) 编辑
摘要: 31.WhichtwostatementsaretrueregardingthedatabaseinARCHIVELOGmode?(Choosetwo.)A)Youhavetoshutdownthedatabasetoperformthebackups.B)Archivinginformationiswrittentothedatafilesandredologfiles.C)Youcanperformcompletedatabasebackupswithoutclosingthedatabase.D)Onlineredologfileshavetobemultiplexedbeforeput 阅读全文
posted @ 2010-07-28 17:54 hibernate例子 阅读(226) 评论(0) 推荐(0) 编辑
摘要: 昨天总部巡检,要求对OracleDataGuard做一个switchover的切换演示。以前都是在虚拟机上做这种切换的,没有在生产库上做过。所以还是有些紧张。不过做DBA一定要给自己留一条后路:备份。先shutdown,做冷备,在逻辑备份,加上之前的RMAN。即使切换失败,还有备份可用心里也就有底了。照着文档做,切换还是比较顺利的。但是在改IP的时候还是有点小插曲,在这里浪费了点时间。因为之前在虚拟机上没有改过IP。但是在生产环境上,肯定是要改主备库IP的。不管怎样。总算折腾完了。三点多同事送我回去的,洗个澡就睡了,早上9点多就起来了。上班前室友和我说你太幸苦了。回:ThisisJob。其他的 阅读全文
posted @ 2010-07-27 12:51 hibernate例子 阅读(147) 评论(0) 推荐(0) 编辑
摘要: 声明:对于答案的相关的说明,是个人对Oracle的理解。1.Becauseofapoweroutage,instancefailurehasoccurred.Fromwhatpointintheredologdoesrecoverybeginandwheredoesitend?A.CurrentredologandinactiveredologB.CheckpointpositiontoendofredologC.BeginningofredologtoendofredologD.AllredologsbeforethepointoflastcommitE.Beginningofredolog 阅读全文
posted @ 2010-07-26 23:32 hibernate例子 阅读(210) 评论(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例子 阅读(154) 评论(0) 推荐(0) 编辑
摘要: 一.NFS配置网络文件系统(NFS,NetworkFileSystem),主要用于Linux系统之间的文件共享。1.1Linux服务器端NFS服务器的配置以root身份登陆Linux服务器,编辑/etc目录下的共享目录配置文件exports,指定共享目录及权限等。#vi/etc/exports/tmp *(rw,no_root_squash)/home/public 192.168.0.*(rw) *(ro)--这里是对同一个目录分配2个不同的网段/home/test 192.168.0.100(rw)/home/linux *.the9.com(rw,all_squash,anon... 阅读全文
posted @ 2010-07-21 11:54 hibernate例子 阅读(176) 评论(0) 推荐(0) 编辑
摘要: 关于RMAN复制的理论知识,参考我的Blog:RMAN复制目标数据库的理论知识http://blog.csdn.net/tianlesoftware/archive/2010/07/19/5746812.aspx实验平台:redhat+oracle10g源库的相关信息:ORACLE_BASE:/u01/app/oracleORACLE_HOME:/u01/app/oracle/product/10.2.0/db_1ORACLE_SID:ORCL复制的数据库实例名假设为:DAVE步骤如下:(1)构建辅助数据库目录结构(2)修改init.ora初始话文件(3)创建辅助实例口令文件(4)RMAN备份 阅读全文
posted @ 2010-07-19 20:55 hibernate例子 阅读(134) 评论(0) 推荐(0) 编辑
上一页 1 ··· 36 37 38 39 40 41 42 43 44 ··· 58 下一页