1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56
| startup mount alter database archivelog; alter database force logging; alter database add supplemental log data;
dblogin userid ggs add trandata tabname..
edit param eds_gs1 extract eds_gs1 SETENV (ORACLE_SID="sid") SETENV (NLS_LANG=AMERICAN_AMERICA.AL32UTF8) Userid ggs,PASSWORD xxx REPORT AT 01:59 REPORTROLLOVER AT 02:00 CACHEMGR, CACHESIZE 256MB EXTTRAIL ./dirdat/gs NUMFILES 3000 EOFDELAYCSECS 30 GETTRUNCATES TRANLOGOPTIONS DBLOGREADER DYNAMICRESOLUTION BR BRINTERVAL 2H , BRDIR BR GETUPDATEBEFORES NOCOMPRESSDELETES WARNLONGTRANS 3H, CHECKINTERVAL 3M table user.table1;
add extract eds_gs1,tranlog,threads 2,begin now add exttrail ./dirdat/xa ,extract eds_gs1
edit param pds_gs1 extract pds_gs1 SETENV (ORACLE_SID="sid") SETENV (NLS_LANG=AMERICAN_AMERICA.AL32UTF8) Userid ggs,xxx REPORT AT 01:59 REPORTROLLOVER AT 02:00 CACHEMGR, CACHESIZE 256MB FLUSHCSECS 30 NUMFILES 3000 EOFDELAYCSECS 30 RMTHOST xxx.xxx.xxx.xxx,MGRPORT 7809, TCPBUFSIZE 100000, TCPFLUSHBYTES 300000 RMTTRAIL ./dirdat/gs GETTRUNCATES PASSTHRU DYNAMICRESOLUTION GETUPDATEBEFORES NOCOMPRESSDELETES TABLEEXCLUDE *.DBMS_TABCOMP_TEMP*; table user.table1;
add extract pds_gs1 ,exttrailsource ./dirdat/xa ,begin now add rmttrail ./dirdat/zj,extract pds_gs1
|