dul without system tablespace
转自:Oracle Clinichttp://www.oracledatabase12g.com/archives/using-dul-to-recover-from-database-corruption-with-some-examples.html Using DUL to Recover From Database Corruption (with some ex...
Error accessing PRODUCT_USER_PROFILE
以普通用户登录SQL*Plus的时候,会碰到下面的错误提示: Error accessing PRODUCT_USER_PROFILE Warning: Product user profile information not loaded! You may need to run PUPBLD.SQL as SYSTEM 其...
sql explain
记下来,容易找1).Sqlplus > @ ?\sqlplus\admin\plustrce.sqlSqlplus > grant plustrace to user_name; ---- 给权限Sqlplus > set autotrace on; ----- 设定类型2).用explain plan命令(1) sqlpl...
rman rename file
RUN{SQL “alter tablespace users offline immediate”;SET NEWNAME FOR datafile ‘/ORADATA/u03/users01.dbf’#u03 is not existsto ‘/ORADATA/u04/users01.dbf’; #Specify where to restore the fileRESTORE t...
ASMM
SGA_MAX_SIZE: static parameterTo use ASMM,need two parameters:1.SGA_TARGET not null or zero;2.STATISTICS_LEVEL = TYPICAL ( or ALL) when u use ASMM,the sga is auto management&nbs...
read only tablespace recovery
oracle 10GR2:incomplete recover:case1: read-only backup read-only recovercase2: read-only ...
How to configure database console when the hostname or IP changes ?
Answer : You need to drop and recreate the dbconsole when the hostname or the ip changesemca -deconfig dbcontrol db -repos dropemca -config dbcontrol db -repos createoremca -deconfi...
RMAN 不完整恢复
例子:删除一个表空间,然后不完整恢复到表空间被删除之前的时间。这个操作要分几个阶段:1.还原自表空间存在之时起的controlfile副本。2.使用controlfile副本开启数据库3.还原 RMAN:run {shutdown abo...
RMAN 完整恢复
spfile ,control file,datafile,redo log全部丢失,如何恢复?RMAN:1 run { startup nomount pfile=dummy.pfile;2 set dbid=xxxxxxxx;3 restore spfile from autobackup;4 shutdown abort;5 startup nomount;...
REDO LOG
参考:http://www.blogjava.net/decode360/archive/2009/08/21/292034.html
TNSPING 非常慢
环境:redhat5 X64 11GR2_X64无事安装了一个oracle,版本11.2.0.1.0。东西安装了很多回了,觉得不会出现任何事了,没想到还是有问题了。使用conn / as sysdba 连接很...
ORACLE EM AGENT 无法连接,SYSMAN账号被锁定。
环境:M1: redhat5 DB_VERSION: 10GR2 32bit (target) 原因: sysman 密码过期 导致em无法登陆解决:1.使用命令emctl setpasswd dbconsole (这种方法...
RMAN-06429: TARGET database is not compatible with this versi on o f RMAN
环境: M1: redhat5 DB_VERSION: 10GR2 32bit (target)M2: redhat5 X64 DB_VERSION:11GR2 64bit (catalog)在M2上执行命令:rman t...