- 最后登录
- 2023-8-16
- 在线时间
- 1686 小时
- 威望
- 2135
- 金钱
- 50532
- 注册时间
- 2011-10-12
- 阅读权限
- 200
- 帖子
- 5207
- 精华
- 39
- 积分
- 2135
- UID
- 2
|
5#
发表于 2011-12-29 23:18:24
Question:
Description of the table is same.
This is from the target:
SQL> desc radius_dsl.radacct;
Name Null? Type
----------------------------------------- -------- ----------------------------
RADACCTID NOT NULL NUMBER(38)
ACCTSESSIONID NOT NULL VARCHAR2(64)
ACCTUNIQUEID VARCHAR2(32)
USERNAME NOT NULL VARCHAR2(64)
GROUPNAME VARCHAR2(32)
REALM VARCHAR2(30)
NASIPADDRESS NOT NULL VARCHAR2(15)
NASPORTID VARCHAR2(15)
NASPORTTYPE VARCHAR2(32)
ACCTSTARTTIME TIMESTAMP(6) WITH TIME ZONE
ACCTSTOPTIME TIMESTAMP(6) WITH TIME ZONE
ACCTSESSIONTIME NUMBER(19)
ACCTAUTHENTIC VARCHAR2(32)
CONNECTINFO_START VARCHAR2(50)
CONNECTINFO_STOP VARCHAR2(50)
ACCTINPUTOCTETS NUMBER(19)
ACCTOUTPUTOCTETS NUMBER(19)
CALLEDSTATIONID VARCHAR2(50)
CALLINGSTATIONID VARCHAR2(50)
ACCTTERMINATECAUSE VARCHAR2(32)
SERVICETYPE VARCHAR2(32)
FRAMEDPROTOCOL VARCHAR2(32)
FRAMEDIPADDRESS VARCHAR2(15)
ACCTSTARTDELAY NUMBER(12)
ACCTSTOPDELAY NUMBER(12)
XASCENDSESSIONSVRKEY VARCHAR2(10)
And this is from the source:
SQL> connect radius_dsl/ets_dsl82
Connected.
SQL> desc radacct;
Name Null? Type
----------------------------------------- -------- ----------------------------
RADACCTID NOT NULL NUMBER(38)
ACCTSESSIONID NOT NULL VARCHAR2(64)
ACCTUNIQUEID VARCHAR2(32)
USERNAME NOT NULL VARCHAR2(64)
GROUPNAME VARCHAR2(32)
REALM VARCHAR2(30)
NASIPADDRESS NOT NULL VARCHAR2(15)
NASPORTID VARCHAR2(15)
NASPORTTYPE VARCHAR2(32)
ACCTSTARTTIME TIMESTAMP(6) WITH TIME ZONE
ACCTSTOPTIME TIMESTAMP(6) WITH TIME ZONE
ACCTSESSIONTIME NUMBER(19)
ACCTAUTHENTIC VARCHAR2(32)
CONNECTINFO_START VARCHAR2(50)
CONNECTINFO_STOP VARCHAR2(50)
ACCTINPUTOCTETS NUMBER(19)
ACCTOUTPUTOCTETS NUMBER(19)
CALLEDSTATIONID VARCHAR2(50)
CALLINGSTATIONID VARCHAR2(50)
ACCTTERMINATECAUSE VARCHAR2(32)
SERVICETYPE VARCHAR2(32)
FRAMEDPROTOCOL VARCHAR2(32)
FRAMEDIPADDRESS VARCHAR2(15)
ACCTSTARTDELAY NUMBER(12)
ACCTSTOPDELAY NUMBER(12)
XASCENDSESSIONSVRKEY VARCHAR2(10)
Structure is the same.
Also please suggest this, if its correct, I import fresh copy of my schema from source to target. This approach is OK?
This is the view report rep1
***********************************************************************
Oracle GoldenGate Delivery for Oracle
Version 11.1.1.1.2 OGGCORE_11.1.1.1.2_PLATFORMS_111004.2100
Linux, x64, 64bit (optimized), Oracle 11g on Oct 7 2011 05:44:59
Copyright (C) 1995, 2011, Oracle and/or its affiliates. All rights reserved.
Starting at 2011-12-26 14:35:06
***********************************************************************
Operating System Version:
Linux
Version #1 SMP Tue May 31 13:22:04 EDT 2011, Release 2.6.18-238.12.1.el5
Node: standbydb.etisalcom.private
Machine: x86_64
soft limit hard limit
Address Space Size : unlimited unlimited
Heap Size : unlimited unlimited
File Size : unlimited unlimited
CPU Time : unlimited unlimited
Process id: 1613
Description:
***********************************************************************
** Running with the following parameters **
***********************************************************************
--Replicat group --
replicat rep1
--source and target definitions
ASSUMETARGETDEFS
--target database login --
userid ggs_owner, password ******
--file for dicarded transaction --
discardfile /u01/app/ggs/discard/rep1_discard.txt, append, megabytes 10
--ddl support
DDL
--Specify table mapping ---
map radius_dsl.*, target radius_dsl.*;
CACHEMGR virtual memory values (may have been adjusted)
CACHEBUFFERSIZE: 64K
CACHESIZE: 512M
CACHEBUFFERSIZE (soft max): 4M
CACHEPAGEOUTSIZE (normal): 4M
PROCESS VM AVAIL FROM OS (min): 1G
CACHESIZEMAX (strict force to disk): 881M
Database Version:
Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - 64bit Production
PL/SQL Release 11.2.0.1.0 - Production
CORE 11.2.0.1.0 Production
TNS for Linux: Version 11.2.0.1.0 - Production
NLSRTL Version 11.2.0.1.0 - Production
Database Language and Character Set:
NLS_LANG environment variable specified has invalid format, default value will b
e used.
NLS_LANG environment variable not set, using default value AMERICAN_AMERICA.US7A
SCII.
NLS_LANGUAGE = "AMERICAN"
NLS_TERRITORY = "AMERICA"
NLS_CHARACTERSET = "WE8MSWIN1252"
Warning: your NLS_LANG setting does not match database server language setting.
Please refer to user manual for more information.
***********************************************************************
** Run Time Messages **
***********************************************************************
Opened trail file /u01/app/ggs/dirdat/lt000003 at 2011-12-26 14:35:06
Wildcard MAP resolved (entry RADIUS_DSL.*):
map RADIUS_DSL.RADTRAFFICMONITOR, target radius_dsl.RADTRAFFICMONITOR;
2011-12-26 14:35:06 WARNING OGG-00869 No unique key is defined for table RADTR
AFFICMONITOR. All viable columns will be used to represent the key, but may not
guarantee uniqueness. KEYCOLS may be used to define the key.
Using following columns in default map by name:
RADMONITORID, ACCTSESSIONID, ACCTUNIQUEID, USERNAME, ACCTSTARTTIME,
ACCTINPUTOCTETS, ACCTOUTPUTOCTETS
Using the following key columns for target table RADIUS_DSL.RADTRAFFICMONITOR: R
ADMONITORID, ACCTSESSIONID, ACCTUNIQUEID, USERNAME, ACCTSTARTTIME, ACCTINPUTOCTE
TS, ACCTOUTPUTOCTETS.
Wildcard MAP resolved (entry RADIUS_DSL.*):
map RADIUS_DSL.RADACCT, target radius_dsl.RADACCT;
Using following columns in default map by name:
RADACCTID, ACCTSESSIONID, ACCTUNIQUEID, USERNAME, GROUPNAME, REALM,
NASIPADDRESS, NASPORTID, NASPORTTYPE, ACCTSTARTTIME, ACCTSTOPTIME,
ACCTSESSIONTIME, ACCTAUTHENTIC, CONNECTINFO_START, CONNECTINFO_STOP,
ACCTINPUTOCTETS, ACCTOUTPUTOCTETS, CALLEDSTATIONID, CALLINGSTATIONID,
ACCTTERMINATECAUSE, SERVICETYPE, FRAMEDPROTOCOL, FRAMEDIPADDRESS,
ACCTSTARTDELAY, ACCTSTOPDELAY, XASCENDSESSIONSVRKEY
Using the following key columns for target table RADIUS_DSL.RADACCT: RADACCTID.
2011-12-26 14:35:06 WARNING OGG-01004 Aborted grouped transaction on 'RADIUS_D
SL.RADACCT', Database error 1403 ().
2011-12-26 14:35:06 WARNING OGG-01003 Repositioning to rba 1862 in seqno 3.
2011-12-26 14:35:06 WARNING OGG-01154 SQL error 1403 mapping RADIUS_DSL.RADACC
T to RADIUS_DSL.RADACCT.
2011-12-26 14:35:06 WARNING OGG-01003 Repositioning to rba 1862 in seqno 3.
Source Context :
SourceModule : [er.main]
SourceID : [/scratch/pradshar/view_storage/pradshar_bugdbrh40_1
2927937/oggcore/OpenSys/src/app/er/rep.c]
SourceFunction : [take_rep_err_action]
SourceLine : [16148]
ThreadBacktrace : [8] elements
: [/u01/app/ggs/replicat(CMessageContext::AddThreadCon
text()+0x26) [0x5f2ac6]]
: [/u01/app/ggs/replicat(CMessageFactory::CreateMessag
e(CSourceContext*, unsigned int, ...)+0x7b2) [0x5e9562]]
: [/u01/app/ggs/replicat(_MSG_ERR_MAP_TO_TANDEM_FAILED
(CSourceContext*, DBString<777> const&, DBString<777> const&, CMessageFactory::M
essageDisposition)+0x9b) [0x5c79bb]]
: [/u01/app/ggs/replicat [0x832a3a]]
: [/u01/app/ggs/replicat [0x910279]]
: [/u01/app/ggs/replicat(main+0x84b) [0x5081ab]]
: [/lib64/libc.so.6(__libc_start_main+0xf4) [0x332f81d
994]]
: [/u01/app/ggs/replicat(__gxx_personality_v0+0x1da) [
0x4e479a]]
2011-12-26 14:35:06 ERROR OGG-01296 Error mapping from RADIUS_DSL.RADACCT to
RADIUS_DSL.RADACCT.
***********************************************************************
* ** Run Time Statistics ** *
***********************************************************************
Last record for the last committed transaction is the following:
___________________________________________________________________
Trail name : /u01/app/ggs/dirdat/lt000003
Hdr-Ind : E (x45) Partition : . (x04)
UndoFlag : . (x00) BeforeAfter: A (x41)
RecLength : 426 (x01aa) IO Time : 2011-12-26 12:36:03.212064
IOType : 15 (x0f) OrigNode : 255 (xff)
TransInd : . (x02) FormatType : R (x52)
SyskeyLen : 0 (x00) Incomplete : . (x00)
AuditRBA : 7315 AuditPos : 3370436
Continued : N (x00) RecCount : 1 (x01)
2011-12-26 12:36:03.212064 FieldComp Len 426 RBA 2145
Name: RADIUS_DSL.RADACCT
___________________________________________________________________
Reading /u01/app/ggs/dirdat/lt000003, current RBA 2145, 1 records
Report at 2011-12-26 14:35:06 (activity since 2011-12-26 14:35:06)
From Table RADIUS_DSL.RADTRAFFICMONITOR to RADIUS_DSL.RADTRAFFICMONITOR:
# inserts: 0
# updates: 0
# deletes: 0
# discards: 1
From Table RADIUS_DSL.RADACCT to RADIUS_DSL.RADACCT:
# inserts: 0
# updates: 0
# deletes: 0
# discards: 1
DDL replication statistics:
Operations: 0
Mapped operations: 0
Unmapped operations: 0
Other operations: 0
Excluded operations: 0
Errors: 0
Retried errors: 0
Discarded errors: 0
Ignored errors: 0
Last log location read:
FILE: /u01/app/ggs/dirdat/lt000003
SEQNO: 3
RBA: 2145
TIMESTAMP: 2011-12-26 12:36:03.212064
EOF: NO
READERR: 0
2011-12-26 14:35:06 ERROR OGG-01668 PROCESS ABENDING.
CACHE OBJECT MANAGER statistics
CACHE MANAGER VM USAGE
vm current = 0 vm anon queues = 0
vm anon in use = 0 vm file = 0
vm used max = 0 ==> CACHE BALANCED
CACHE CONFIGURATION
cache size = 512M cache force paging = 881M
buffer min = 64K buffer highwater = 4M
pageout eligible size = 4M
================================================================================
RUNTIME STATS FOR SUPERPOOL
CACHE Transaction Stats
trans active = 0 max concurrent = 0
non-zero total = 0 trans total = 0
CACHE File Caching
disk current = 0 disk total = 0
disk caching = 0 file cached = 0
file retrieves = 0
CACHE MANAGEMENT
buffer links = 0 anon gets = 0
forced unmaps = 0 cnnbl try = 0
cached out = 0 force out = 0
Allocation Request Distribution
< 128B: 0
128B: 0 0 | 512B: 0 0
2K: 0 0 | 8K: 0 0
32K: 0 0 | 128K: 0 0
512K: 0 0 | 2M: 0 0
8M: 0 0 | 32M: 0 0
128M: 0 0 | 512M: 0 0
2G: 0 0 | 8G: 0
Cached Transaction Size Distribution
0: 0
< 4K: 0
4K: 0 0 | 16K: 0 0
64K: 0 0 | 256K: 0 0
1M: 0 0 | 4M: 0 0
16M: 0 0 | 64M: 0 0
256M: 0 0 | 1G: 0 0
4G: 0 0 | 16G: 0 0
64G: 0 0 | 256G: 0 0
1T: 0 0 | 4T: 0 0
16T: 0 0 | 64T: 0 0
256T: 0 0 |1024T: 0 0
================================================================================
CUMULATIVE STATS FOR SUPERPOOL
CACHE Transaction Stats
trans active = 0 max concurrent = 0
non-zero total = 0 trans total = 0
CACHE File Caching
disk current = 0 disk total = 0
disk caching = 0 file cached = 0
file retrieves = 0
CACHE MANAGEMENT
buffer links = 0 anon gets = 0
forced unmaps = 0 cnnbl try = 0
cached out = 0 force out = 0
Allocation Request Distribution
< 128B: 0
128B: 0 0 | 512B: 0 0
2K: 0 0 | 8K: 0 0
32K: 0 0 | 128K: 0 0
512K: 0 0 | 2M: 0 0
8M: 0 0 | 32M: 0 0
128M: 0 0 | 512M: 0 0
2G: 0 0 | 8G: 0
Cached Transaction Size Distribution
0: 0
< 4K: 0
4K: 0 0 | 16K: 0 0
64K: 0 0 | 256K: 0 0
1M: 0 0 | 4M: 0 0
16M: 0 0 | 64M: 0 0
256M: 0 0 | 1G: 0 0
4G: 0 0 | 16G: 0 0
64G: 0 0 | 256G: 0 0
1T: 0 0 | 4T: 0 0
16T: 0 0 | 64T: 0 0
256T: 0 0 |1024T: 0 0
QUEUE Statistics:
num queues = 15 default index = 0
cur len = 0 max len = 0
q vm current = 0 vm max = 0
q hits = 0 q misses = 0
queue size q hits curlen maxlen cannibalized
0 64K 0 0 0 0
1 128K 0 0 0 0
2 256K 0 0 0 0
3 512K 0 0 0 0
4 1M 0 0 0 0
5 2M 0 0 0 0
6 4M 0 0 0 0
7 8M 0 0 0 0
8 16M 0 0 0 0
9 32M 0 0 0 0
10 64M 0 0 0 0
11 128M 0 0 0 0
12 256M 0 0 0 0
13 512M 0 0 0 0
14 1G 0 0 0 0
================================================================================
RUNTIME STATS FOR CACHE POOL #0
POOL INFO group: rep1 id: p1613_BLOB
trans active = 0 trans concurrent (max) = 0
trans total = 0 (0 )
flag = 0x00000030
last error = (0=<none>)
Allocation Request Distribution
< 128B: 0
128B: 0 0 | 512B: 0 0
2K: 0 0 | 8K: 0 0
32K: 0 0 | 128K: 0 0
512K: 0 0 | 2M: 0 0
8M: 0 0 | 32M: 0 0
128M: 0 0 | 512M: 0 0
2G: 0 0 | 8G: 0
================================================================================
CUMULATIVE STATS FOR CACHE POOL #0
POOL INFO group: rep1 id: p1613_BLOB
trans active = 0 trans concurrent (max) = 0
trans total = 0 (0 )
flag = 0x00000030
last error = (0=<none>)
Allocation Request Distribution
< 128B: 0
128B: 0 0 | 512B: 0 0
2K: 0 0 | 8K: 0 0
32K: 0 0 | 128K: 0 0
512K: 0 0 | 2M: 0 0
8M: 0 0 | 32M: 0 0
128M: 0 0 | 512M: 0 0
2G: 0 0 | 8G: 0
QUEUE Statistics:
num queues = 15 default index = 0
cur len = 0 max len = 0
q vm current = 0 vm max = 0
q hits = 0 q misses = 0
queue size q hits curlen maxlen cannibalized
0 64K 0 0 0 0
1 128K 0 0 0 0
2 256K 0 0 0 0
3 512K 0 0 0 0
4 1M 0 0 0 0
5 2M 0 0 0 0
6 4M 0 0 0 0
7 8M 0 0 0 0
8 16M 0 0 0 0
9 32M 0 0 0 0
10 64M 0 0 0 0
11 128M 0 0 0 0
12 256M 0 0 0 0
13 512M 0 0 0 0
14 1G 0 0 0 0
================================================================================
RUNTIME STATS FOR CACHE POOL #0
POOL INFO group: rep1 id: p1613_BLOB
trans active = 0 trans concurrent (max) = 0
trans total = 0 (0 )
flag = 0x00000030
last error = (0=<none>)
Allocation Request Distribution
< 128B: 0
128B: 0 0 | 512B: 0 0
2K: 0 0 | 8K: 0 0
32K: 0 0 | 128K: 0 0
512K: 0 0 | 2M: 0 0
8M: 0 0 | 32M: 0 0
128M: 0 0 | 512M: 0 0
2G: 0 0 | 8G: 0
================================================================================
CUMULATIVE STATS FOR CACHE POOL #0
POOL INFO group: rep1 id: p1613_BLOB
trans active = 0 trans concurrent (max) = 0
trans total = 0 (0 )
flag = 0x00000030
last error = (0=<none>)
Allocation Request Distribution
< 128B: 0
128B: 0 0 | 512B: 0 0
2K: 0 0 | 8K: 0 0
32K: 0 0 | 128K: 0 0
512K: 0 0 | 2M: 0 0
8M: 0 0 | 32M: 0 0
128M: 0 0 | 512M: 0 0
2G: 0 0 | 8G: 0
This is the edit params rep1
--Replicat group --
replicat rep1
--source and target definitions
ASSUMETARGETDEFS
--target database login --
userid ggs_owner, password bss
--file for dicarded transaction --
discardfile /u01/app/ggs/discard/rep1_discard.txt, append, megabytes 10
--ddl support
DDL
--Specify table mapping ---
map radius_dsl.*, target radius_dsl.*; |
|