流的下游复制更简单
来源:互联网 发布:网络收音机软件哪个好 编辑:程序博客网 时间:2024/04/29 22:37
add new table with simple step:
SQL> set numwidth 20
SQL> select dbms_flashback.get_system_change_number() from dual;
DBMS_FLASHBACK.GET_SYSTEM_CHANGE_NUMBER()
-----------------------------------------
8331188817820
$> expdp sgreports/sgreports tables=sgreports.test2 directory=expdir logfile=test2.log dumpfile=test2.dmp flashback_scn=8331188817820
On the destination system:
1. As the system user, create the Oracle directory for the export dump file. Make sure the physical directory exists on the filesystem.
create directory impdir as '/oracle/ora_backup';
-
Copy the export dump file, test.dmp from the source system to /oracle/ora_backup
-
scp test2.dmp oracle@nazar.prc.sun.com:/oracle/ora_backup
3. Import the application schema:
$> impdp system/sys directory=impdir dumpfile=test2.dmp logfile=test2.log
connect strmadmin/strmadmin@stream1BEGIN DBMS_STREAMS_ADM.ADD_TABLE_RULES( table_name => 'sgreports.test2', streams_type => 'capture', streams_name => 'capture_stream1', queue_name => 'capture_stream1_queue', include_dml => true, source_database=>'henry.sun.net', include_ddl => true, inclusion_rule => true); END; /
BEGIN DBMS_STREAMS_ADM.ADD_TABLE_RULES( table_name => 'sgreports.test2', streams_type => 'apply', streams_name => 'apply_stream11', queue_name => 'capture_stream1_queue', include_dml => true, include_ddl => true, source_database => 'henry.sun.net', inclusion_rule => true); END; /
- 流的下游复制更简单
- 更简单的主从复制
- 下游Streams流的配置
- 下游Streams流的配置
- 检索系统的下游管理
- 检索系统的下游管理
- 更简单的框架
- 更简单、更安全的查询方法
- 更简单,更有效,更实用的C# 输入法控制
- 力争下游:腾讯和淘宝的站位
- 简单的文本复制
- 简单的复制字符串
- whoami的更简单实现
- 更简单的动态代理
- 更简单的元素检查
- Fragment更简单的调用
- EasyCamera--更简单更灵活的相机应用编写
- 面向holder的编程,代码更清爽,管理更简单
- 装箱的原理,c++和C#装箱的一些区别
- uncompress输入数据出错Z_DATA_ERROR,请教达人!!
- psql: could not connect to server: No such file or directory
- NTDSutil使用方法
- 一些3D演示程序
- 流的下游复制更简单
- 怀孕 结婚
- Javascript各类型值之间的转换
- Asteroids的j2me版
- CSV 格式及注意事项
- 什么是中间件
- 关于项目管理的一点杂感
- echo 'names';
- echo 'names';