Manage Table Supplemental Logging
post
/services/{version}/connections/{connection}/trandata/table
Manage Supplemental Logging for Database Tables
Request
Supported Media Types
- application/json
Path Parameters
-
connection: string
Minimum Length:
1Maximum Length:61Pattern:^[a-zA-Z][a-zA-Z0-9_#$]{1,29}([.][a-zA-Z][a-zA-Z0-9_#$]{1,29})?$Connection name. For each alias in the credential store, a connection with the name 'domain.alias' exists.
-
version: string
Oracle GoldenGate Service API version.
Allowed Values:[ "v2" ]
Root Schema : Manage Supplemental Logging for Database Tables
Type:
objectTitle:
Manage Supplemental Logging for Database TablesMatch One
Show Source
Nested Schema : Manage Supplemental Logging for Database Tables-x-oneOf[0]
Type:
Show Source
object-
$schema:
Allowed Values:
[ "ogg:trandataTable" ] -
allColumns:
boolean
Default Value:
false -
columns:
array columns
Minimum Number of Items:
1Maximum Number of Items:8192 -
operation:
Allowed Values:
[ "add" ] -
prepareCsnMode:
Default Value:
nowaitAllowed Values:[ "nowait", "wait", "lock", "none" ] -
primaryKey:
boolean
Default Value:
true -
schedulingColumns:
boolean
Default Value:
true -
tableName:
tableName
Qualified table name where any name component may contain wildcard characters
Nested Schema : Manage Supplemental Logging for Database Tables-x-oneOf[1]
Type:
Show Source
object-
$schema:
Allowed Values:
[ "ogg:trandataTable" ] -
allColumns:
boolean
Default Value:
false -
operation:
Allowed Values:
[ "delete" ] -
schedulingColumns:
boolean
Default Value:
true -
tableName:
tableName
Qualified table name where any name component may contain wildcard characters
Nested Schema : Manage Supplemental Logging for Database Tables-x-oneOf[2]
Type:
Show Source
object-
$schema:
Allowed Values:
[ "ogg:trandataTable" ] -
operation:
Allowed Values:
[ "info", "checkSupport" ] -
tableName:
tableName
Qualified table name where the table name component may contain wildcard characters
Nested Schema : columns
Type:
arrayMinimum Number of Items:
1Maximum Number of Items:
Show Source
8192-
[0]:
string
Minimum Length:
1Maximum Length:130Pattern:^([^.*?"]{1,128}|["].{1,128}["])$
Nested Schema : tableName
Qualified table name where any name component may contain wildcard characters
Match Any
Show Source
Nested Schema : tableName
Qualified table name where any name component may contain wildcard characters
Match Any
Show Source
Nested Schema : tableName
Qualified table name where the table name component may contain wildcard characters
Match Any
Show Source
Example Request (application/json)
{
"operation":"add",
"tableName":"oggadmin.table01"
}
Response
Supported Media Types
- application/json
200 Response
Supplemental logging command completed successfully.
Root Schema : Manage Supplemental Logging for Database Tables
Type:
objectTitle:
Manage Supplemental Logging for Database TablesMatch One
Show Source
Nested Schema : Manage Supplemental Logging for Database Tables-x-oneOf[0]
Type:
Show Source
object-
$schema:
Allowed Values:
[ "ogg:trandataTableResponse" ] -
tables:
array tables
Minimum Number of Items:
1Maximum Number of Items:65535 -
type:
Allowed Values:
[ "info" ]
Nested Schema : Manage Supplemental Logging for Database Tables-x-oneOf[1]
Type:
Show Source
object-
$schema:
Allowed Values:
[ "ogg:trandataTableResponse" ] -
tables:
array tables
Minimum Number of Items:
1Maximum Number of Items:65535 -
type:
Allowed Values:
[ "support" ]
Nested Schema : tables
Type:
arrayMinimum Number of Items:
1Maximum Number of Items:
Show Source
65535Nested Schema : items
Type:
Show Source
object-
allColumns:
boolean
Default Value:
falseTrue if supplemental logging for all columns of the table is enabled -
columns:
array columns
Minimum Number of Items:
1Maximum Number of Items:8192List of columns being logged -
enabled:
boolean
True if supplemental logging for this table is enabled
-
preparedCsn:
preparedCsn
Prepared instantiation CSN
-
primaryKey:
boolean
Default Value:
trueTrue if supplemental logging of primary key columns is enabled -
schedulingColumns:
boolean
Default Value:
trueTrue if supplemental logging of primary key, foreign key and unique key columns are enabled -
tableName:
tableName
Nested Schema : columns
Type:
arrayMinimum Number of Items:
1Maximum Number of Items:
8192List of columns being logged
Show Source
-
[0]:
string
Minimum Length:
1Maximum Length:130Pattern:^([^.*?"]{1,128}|["].{1,128}["])$
Nested Schema : tables
Type:
arrayMinimum Number of Items:
1Maximum Number of Items:
Show Source
65535Nested Schema : items
Type:
Show Source
object-
$schema:
Allowed Values:
[ "ogg:trandataTableSupport" ] -
columns:
array columns
Minimum Number of Items:
1Maximum Number of Items:8192 -
details:
array details
Minimum Number of Items:
0Maximum Number of Items:16 -
disqualifiedUniqueKey:
array disqualifiedUniqueKey
Minimum Number of Items:
1Maximum Number of Items:8192 -
oggKeycolList:
array oggKeycolList
Minimum Number of Items:
1Maximum Number of Items:8192 -
schemaName:
schemaName
Schema name for table
-
tableName:
string
Minimum Length:
1Maximum Length:130Pattern:^([^.*?"]{1,128}|["].{1,128}["])$Table name
Nested Schema : columns
Type:
arrayMinimum Number of Items:
1Maximum Number of Items:
Show Source
8192-
[0]:
object items
Description of a table column
Nested Schema : details
Type:
arrayMinimum Number of Items:
0Maximum Number of Items:
Show Source
16Nested Schema : disqualifiedUniqueKey
Type:
arrayMinimum Number of Items:
1Maximum Number of Items:
Show Source
8192-
[0]:
string
Minimum Length:
1Maximum Length:130Pattern:^([^.*?"]{1,128}|["].{1,128}["])$
Nested Schema : oggKeycolList
Type:
arrayMinimum Number of Items:
1Maximum Number of Items:
Show Source
8192-
[0]:
string
Minimum Length:
1Maximum Length:130Pattern:^([^.*?"]{1,128}|["].{1,128}["])$
Nested Schema : items
Type:
objectDescription of a table column
Show Source
-
name:
string
Minimum Length:
1Maximum Length:130Pattern:^([^.*?"]{1,128}|["].{1,128}["])$Column name in table -
type:
string
Minimum Length:
1Maximum Length:255Column data type
Nested Schema : items
Match One
Show Source
-
Allowed Values:
[ "unsupportedPartitionTable" ]Oracle Goldengate does not support system or referential partitioned table {0}.{1}. -
Allowed Values:
[ "tableRequiresPlsqlLogging" ]Oracle Goldengate requires supplemental logging on PLSQL to be enabled to support table {0}.{1}. -
Allowed Values:
[ "unsupportTable" ]Oracle Goldengate does not support replication on table {0}.{1}. -
Allowed Values:
[ "partialSupportTable" ]Oracle Goldengate does not support native capture on table {0}.{1}. -
Allowed Values:
[ "fetchSizeLimit" ]Table {0}.{1} requires fetch, and Oracle Goldengate has limit of 4GB on any fetched column. -
Allowed Values:
[ "oggKeycolList" ]Oracle Goldengate marked following column as key columns on table {0}.{1}: -
Allowed Values:
[ "noUniqueKeyDefined" ]No unique key is defined for table {0}. -
Allowed Values:
[ "noViableUniqueKey" ]No viable unique key is defined for table {0}. -
Allowed Values:
[ "disqualifiedUniqueKey" ]Unique key {0} for table {1} cannot be used due to the inclusion of virtual columns, or user-defined datatypes, or extended long varchar columns, or function-based index columns. -
Allowed Values:
[ "fetchObjectColLobxml" ]This table has object column(s). If that column contains any lob or xml type attribute, the maximum fetch size is limited on those attributes to what's specifed by LOBBUFSIZE or XMLBUFSIZE parameter. -
Allowed Values:
[ "tableFullSupport" ]Oracle Goldengate support native capture on table {0}.{1}. -
Allowed Values:
[ "tableWithoutScalarColumn" ]Table {0} does not have any scalar column. -
Allowed Values:
[ "tableIsObjectype" ]Table {0} is an object table. -
Allowed Values:
[ "tableIsXmltype" ]Table {0} is an XMLTYPE table. -
Allowed Values:
[ "tableIsIot" ]Table {0} is an index organized table. -
Allowed Values:
[ "tableIsCluster" ]Table {0} is a cluster table.
Example Response (application/json)
{
"$schema":"api:standardResponse",
"links":[
{
"href":"http://localhost:11001/services/v2/connections/OracleGoldenGate.oggadmin/trandata/table",
"mediaType":"application/json",
"rel":"canonical"
},
{
"href":"http://localhost:11001/services/v2/connections/OracleGoldenGate.oggadmin/trandata/table",
"mediaType":"application/json",
"rel":"self"
}
],
"messages":[
{
"$schema":"ogg:message",
"code":"OGG-15132",
"issued":"2017-12-14T12:44:45Z",
"severity":"INFO",
"title":"Logging of supplemental redo data enabled for table OGGADMIN.TABLE01.",
"type":"http://docs.oracle.com/goldengate/c1230/gg-winux/GMESG/oggus.htm#OGG-15132"
},
{
"$schema":"ogg:message",
"code":"OGG-15133",
"issued":"2017-12-14T12:44:45Z",
"severity":"INFO",
"title":"TRANDATA for scheduling columns has been added on table OGGADMIN.TABLE01.",
"type":"http://docs.oracle.com/goldengate/c1230/gg-winux/GMESG/oggus.htm#OGG-15133"
},
{
"$schema":"ogg:message",
"code":"OGG-15135",
"issued":"2017-12-14T12:44:45Z",
"severity":"INFO",
"title":"TRANDATA for instantiation CSN has been added on table OGGADMIN.TABLE01.",
"type":"http://docs.oracle.com/goldengate/c1230/gg-winux/GMESG/oggus.htm#OGG-15135"
}
]
}