通过duplicat恢复数据库
一 修改监听静态注册[oracle@ray114 dbs]$ cat /u01/app/oracle/product/19.3.0/dbhome_1/network/admin/listener.ora # listener.ora Network Configuration File: /u01/app/oracl
21C在RHEL单节点图形化安装
##21c的系统要求,正常是需要RHEL8.2或以后的系统版本https://docs.oracle.com/en/database/oracle/oracle-database/21/ladbi/operating-system-checklist-for-oracle-database-installation-on-linux.html#GUID-E5C0A90E-7750-45D9-A8B
awk小技巧之执行shell命令
方法一:system函数ip add | grep enp0s8 | grep inet | awk '{print $2}' | awk -F"/" '{printf $1" 
awk 技巧之输出单引号和双引号
单引号: 用双引号框住,在使用2个单引号框住需要输出的单引号,在使用反斜线对单引号转义 [root@rac1 ~]# ls | awk '{print "'\''"}'''''''&
11G R2 RAC环境打GI补丁 报错处理,缺少fuser命令导致的补丁安装失败
##1 打补丁一直报DBcheck失败 [root@bare0002 31718723]# /u01/app/11.2.0.4/product/11.2.0/grid_1/OPatch/opatch auto /tmp/31720783/31718723/ Executing /u01/app/11.2.0.4/product/11.2
12C RAC 打31720486补丁 后报错处理
错误一 :ORA-00210: cannot open the specified control file ORA-00202: control file: '+DATA01/TZOD/CONTROLFILE/current.292.1023652595' ORA-17503: 
CRS-5014 CLSN00009 CRS-5017 RAC环境监听异常,无法正常启动和关闭
问题描述: 数据库监听异常,无法正常启动和关闭解决过程:[root@dntodu013 ~]# /u01/app/12.2.0.1/grid/bin/srvctl stop listener -n dntodu013 &nb
update误操作后 通过undo记录的scn找回原纪录
SQL> select * from t2; EMPNO ENAME JOB
修改sys密码报错:ORA-01994: Password file missing or disabled
SQL> conn / as sysdbaConnected.SQL> show parameter remoteNAME &
oracle 根据虚拟列创建以周几为单位的分区表
SQL> create table t2(rid number,rname varchar2(20),rdate date,week_num number generated always as (to_char(rdate,'d'))) 2