标签:update ram ddr setenv tran user replicat fun sum
1.Date Functions 【DATENOW()】
GGSCI (xag131) 3> view params RT002
-----------------------------------------------------------------------------------------------------------
REPLICAT RT002
SETENV (ORACLE_SID=‘CDB1‘)
DBOPTIONS INTEGRATEDPARAMS(parallelism 6)
USERID ogg_admin@xag131:1521/pdb1, PASSWORD 123456
--源和目标端 结构一致
ASSUMETARGETDEFS
-- 使用 DATENOW() 函数将当前时间赋值给 UPDATE_TIME
MAP PDB1.XAG.MY_HEALT_CHECK, TARGET PDB1.XAG.MY_HEALT_CHECK,COLMAP(USEDEFAULTS,UPDATE_TIME=@DATENOW());
-----------------------------------------------------------------------------------------------------------
SQL> select my_healt_check_seq,host_address,host_name,db_name,to_char(create_time,‘yyyy-mm-dd hh24:mi:ss‘) as create_time,to_char(update_time,‘yyyy-mm-dd hh24:mi:ss‘) as update_time from my_healt_check order by create_time desc;
MY_HEALT_CHECK_SEQ HOST_ADDRESS HOST_NAME DB_NAME CREATE_TIME UPDATE_TIME
100000000588 192.168.40.130 xag130 PDB1 2020-06-30 23:53:46 2020-06-30 23:53:54
100000000587 192.168.40.130 xag130 PDB1 2020-06-30 23:52:41 2020-06-30 23:52:48
Oracle GoldenGate 12.3.0.1.4 in Oracle 12.2 之05 ( Data Transformation )
标签:update ram ddr setenv tran user replicat fun sum
原文地址:https://www.cnblogs.com/mydb/p/13216840.html