摘要:
本来没想过发布这个文章,只是周边有一朋友工作中遇到合并数据库的情况,他是通过expdp提取出五个库对象,然后impdp到新库里面。我觉得这种方法特别耗时,尤其在数据量比较大的时候。这种时候我觉得采用表空间传输方法效率更高点,当然我们还可以使用RMAN DUPLICATE方式。下面就把TRANSPOR 阅读全文
posted @ 2017-11-10 11:25
ClarkYu
阅读(764)
评论(0)
推荐(0)
摘要:
Multitenant : Hot Clone a Remote PDB or Non-CDB in Oracle Database 12c Release 2 (12.2)https://oracle-base.com/articles/12c/multitenant-hot-clone-remo 阅读全文
posted @ 2017-11-10 11:24
ClarkYu
阅读(1564)
评论(0)
推荐(0)
摘要:
文本文件如下,注意文件名必须有后缀,文本行首也需要|分隔符:[oracle@ycr test]$ more person.txt|aaa|123|m|aaa|123|m|aaa|123|m|aaa|123|m|aaa|123|m|aaa|123|m|aaa|123|m|aaa|123|m|aaa|1 阅读全文
posted @ 2017-11-10 11:24
ClarkYu
阅读(487)
评论(0)
推荐(0)
摘要:
数据迁移后性能受到影响,需要将老数据库中keep到内存中的表在新库中keep到内存中,使用如下方法。新库设置db_keep_cache_size为适当值,这个值的大小不能小于需要keep的表的大小。查看老库中需要keep的表信息:select s.owner, s.segment_name, s.p 阅读全文
posted @ 2017-11-10 11:23
ClarkYu
阅读(3137)
评论(0)
推荐(0)
摘要:
expdp 'userid="/ as sysdba"' directory=DATA_PUMP_DIR full=y logfile=fullexp.log estimate_only=yes;expdp \'/ as sysdba\' directory=DATA_PUMP_DIR full=y 阅读全文
posted @ 2017-11-10 11:23
ClarkYu
阅读(6314)
评论(0)
推荐(0)
摘要:
参考MOS:How To Remove Standby Database And Convert It to Standalone Database (文档 ID 2074686.1)How to remove a Data Guard Configuration from Primary Data 阅读全文
posted @ 2017-11-10 11:22
ClarkYu
阅读(755)
评论(0)
推荐(0)
摘要:
RAC修改spfile位置 [root@rac1 ~]# su - oracle [oracle@rac1 ~]$ sqlplus / as sysdba SQL*Plus: Release 11.2.0.3.0 Production on Wed Jan 8 22:36:39 2014 Copyr 阅读全文
posted @ 2017-11-10 11:21
ClarkYu
阅读(778)
评论(0)
推荐(0)
摘要:
Oracle数据库克隆后temp文件因路径变化无法找到出现如下报错Errors in filexxxx.trc:ORA-01157: cannot identify/lock data file xxx - see DBWR trace fileORA-01110: data file 201: ' 阅读全文
posted @ 2017-11-10 11:19
ClarkYu
阅读(875)
评论(0)
推荐(0)
摘要:
SQL> create table ycrtest2 (name varchar2(50));Table created.SQL> insert into ycrtest2 values('ABC @@');1 row created.SQL> insert into ycrtest2 values 阅读全文
posted @ 2017-11-10 11:12
ClarkYu
阅读(704)
评论(0)
推荐(0)
摘要:
有时出于测试需求,需要暂停oracle的某些后台进程,此时以暂停lgwr进程为例使用sysdba连接到数据库查询到LGWR进程的PID:SQL> select prc.pid from v$bgprocess bgp ,v$process prc where bgp.name='LGWR' and 阅读全文
posted @ 2017-11-10 11:12
ClarkYu
阅读(319)
评论(0)
推荐(0)

浙公网安备 33010602011771号