上一页 1 2 3 4 5 6 7 ··· 17 下一页
摘要: [root@oracle11g ~]# ssh-keygen Generating public/private rsa key pair. Enter file in which to save the key (/root/.ssh/id_rsa): Enter passphrase (empt 阅读全文
posted @ 2022-06-17 10:58 orcl 阅读(42) 评论(0) 推荐(0) 编辑
摘要: 查看建表语句: select dbms_metadata.get_ddl('TABLE','TEST_SQL','TEST') from dual; DBMS_METADATA.GET_DDL('TABLE','TEST_SQL','TEST') CREATE TABLE "TEST"."TEST_ 阅读全文
posted @ 2022-05-25 02:23 orcl 阅读(1201) 评论(0) 推荐(1) 编辑
摘要: select trunc(completion_time) as "Date", count(*) as "Count", (sum(blocks * block_size))/1024/1024 as "MB" from v$archived_log group by trunc(completi 阅读全文
posted @ 2022-05-24 21:22 orcl 阅读(93) 评论(0) 推荐(0) 编辑
摘要: 目标库: [oracle@oracle11g ~]$ mkdir -p /u01/app/oracle/oradata/orcl [oracle@oracle11g ~]$ mkdir -p /u01/app/oracle/admin/orcl/{a,dp}dump [oracle@oracle11 阅读全文
posted @ 2022-05-21 03:07 orcl 阅读(89) 评论(0) 推荐(0) 编辑
摘要: 原库: 192.168.162.199 node01 目标库: 192.168.162.200 oracle11g 目标库: [oracle@oracle11g dbs]$ vi ~/.bash_profile export PATH export ORACLE_BASE=/u01/app/orac 阅读全文
posted @ 2022-05-21 01:51 orcl 阅读(393) 评论(0) 推荐(0) 编辑
摘要: [oracle@rac01 ~]$ srvctl stop database -d racdb [oracle@rac01 ~]$ srvctl status database -d racdb 实例 racdb1 没有在 rac01 节点上运行 实例 racdb2 没有在 rac02 节点上运行 阅读全文
posted @ 2022-05-18 20:21 orcl 阅读(110) 评论(0) 推荐(0) 编辑
摘要: 一、模拟产生GAP 1.备库停止DG同步进程: SQL> archive log list Database log mode Archive Mode Automatic archival Enabled Archive destination /oracle/archive Oldest onl 阅读全文
posted @ 2022-05-18 19:49 orcl 阅读(418) 评论(0) 推荐(0) 编辑
摘要: 开启归档: SQL> host mkdir -p /home/oracle/archivelog SQL> alter system set db_recovery_file_dest_size=5G; System altered. SQL> alter system set db_recover 阅读全文
posted @ 2022-05-18 15:48 orcl 阅读(792) 评论(0) 推荐(0) 编辑
摘要: 故障现象: SQL> select NAME,DATABASE_ROLE,PROTECTION_MODE,SWITCHOVER_STATUS from v$database; NAME DATABASE_ROLE PROTECTION_MODE SWITCHOVER_STATUS RMANPRI P 阅读全文
posted @ 2022-04-29 16:15 orcl 阅读(1120) 评论(0) 推荐(0) 编辑
摘要: 当前IP地址配置: #rac1 192.168.162.15 rac1 192.168.162.115 rac1-vip 10.10.10.11 rac1-priv #rac2 192.168.162.16 rac2 192.168.162.116 rac2-vip 10.10.10.12 rac2 阅读全文
posted @ 2022-04-16 00:12 orcl 阅读(267) 评论(0) 推荐(0) 编辑
上一页 1 2 3 4 5 6 7 ··· 17 下一页